10 : particle_mass(fparticle_mass),
11 particle_charge(fparticle_charge),
12 s_primary_electron(fs_primary_electron),
15 mfunnamep(
"EnTransfCS_BGM::EnTransfCS_BGM(...)");
17 const long q =
mesh->q;
19 for (
long n = 0; n < q; n++) {
20 double bg =
mesh->x[n];
22 double gamma_1 =
sqrt(1.0 + (bg * bg)) - 1.0;
30 Ifile <<
"EnTransfCS_BGM(l=" << l <<
"):\n";
40 Ifile <<
"Array of Cross Section:\n";
44 const long q =
mesh->q;
45 for (
long n = 0; n < q; n++) {
46 Ifile <<
"n=" << std::setw(5) << n <<
" bg=" << std::setw(14)
47 <<
mesh->x[n] <<
" quan=" << std::setw(14) <<
etcs_bgm[n].quanC;
49 file <<
" mean=" << std::setw(14) <<
etcs_bgm[n].meanC;
#define mfunnamep(string)
std::vector< EnTransfCS > etcs_bgm
PassivePtr< HeedMatterDef > hmd
EnTransfCS_BGM(void)
Default constructor.
int s_primary_electron
Sign that the primary particle is an electron.
PassivePtr< BGMesh > mesh
virtual void print(std::ostream &file, int l) const
DoubleAc sqrt(const DoubleAc &f)