10 long fparticle_charge)
11 : particle_mass(fparticle_mass),
12 particle_charge(fparticle_charge),
13 s_primary_electron(fs_primary_electron),
16 mfunnamep(
"EnTransfCS_BGM::EnTransfCS_BGM(...)");
18 const long q =
mesh->
q;
20 for (
long n = 0; n < q; n++) {
21 double bg =
mesh->
x[n];
23 double gamma_1 =
sqrt(1.0 + (bg * bg)) - 1.0;
31 Ifile <<
"EnTransfCS_BGM(l=" << l <<
"):\n";
41 Ifile <<
"Array of Cross Section:\n";
45 const long q =
mesh->
q;
46 for (
long n = 0; n < q; n++) {
47 Ifile <<
"n=" << std::setw(5) << n <<
" bg=" << std::setw(14)
48 <<
mesh->
x[n] <<
" quan=" << std::setw(14) <<
etcs_bgm[n].quanC;
50 file <<
" mean=" << std::setw(14) <<
etcs_bgm[n].meanC;
#define mfunnamep(string)
void print(std::ostream &file, int l) const
long q
Total number of points (not number of intervals).
std::vector< EnTransfCS > etcs_bgm
int s_primary_electron
Sign that the primary particle is an electron.
void print(std::ostream &file, int l) const
EnTransfCS_BGM()=default
Default constructor.
void print(std::ostream &file, int l) const
DoubleAc sqrt(const DoubleAc &f)