GENIEGenerator
|
#include <INukeOset.h>
Public Member Functions | |
INukeOset () | |
contructor More... | |
virtual void | setupOset (const double &density, const double &pionTk, const int &pionPDG, const double &protonFraction)=0 |
use to set up Oset class (assign pion Tk, nuclear density etc) More... | |
double | getTotalCrossSection () const |
return total = (qel+cex+abs) cross section More... | |
double | getCexCrossSection () const |
return cex cross section More... | |
double | getAbsorptionCrossSection () const |
return absorption cross section More... | |
double | getCexFraction () const |
return fraction of cex events More... | |
double | getAbsorptionFraction () const |
return fraction of absorption events More... | |
Protected Member Functions | |
virtual void | setCrossSections ()=0 |
calculalte cross sections for each channel More... | |
void | setCrossSections (const int &pionPDG, const double &protonFraction) |
calculate avg cross sections according to proton / neutron fraction More... | |
Protected Attributes | |
double | fNuclearDensity |
nuclear density in fm-3 More... | |
double | fPionKineticEnergy |
pion kinetic energy in MeV More... | |
double | fTotalCrossSection |
el+cex+abs cross section (averaged over proton / neutron fraction) More... | |
double | fCexCrossSection |
cex cross section (averaged over proton / neutron fraction) More... | |
double | fAbsorptionCrossSection |
absorption cross section (averaged over proton / neutron fraction) More... | |
double | fQelCrossSections [fNChannels] |
total qel (el+cex) cross section for each channel More... | |
double | fCexCrossSections [fNChannels] |
cex cross section for each channel More... | |
Static Protected Attributes | |
static const unsigned int | fNChannels = 3 |
number of possible channels: pi+n, pi+p, pi0 More... | |
Definition at line 24 of file INukeOset.h.
INukeOset::INukeOset | ( | ) |
contructor
set up initial density and enegry values; set up pointer to current instance
Definition at line 8 of file INukeOset.cxx.
|
inline |
return absorption cross section
Definition at line 47 of file INukeOset.h.
|
inline |
return fraction of absorption events
Definition at line 59 of file INukeOset.h.
Referenced by genie::HNIntranuke2018::HadronFateOset().
|
inline |
return cex cross section
Definition at line 41 of file INukeOset.h.
|
inline |
return fraction of cex events
Definition at line 53 of file INukeOset.h.
Referenced by genie::HNIntranuke2018::HadronFateOset().
|
inline |
return total = (qel+cex+abs) cross section
Definition at line 35 of file INukeOset.h.
Referenced by genie::utils::intranuke2018::sigmaTotalOset().
|
protectedpure virtual |
calculalte cross sections for each channel
Implemented in INukeOsetFormula, and INukeOsetTable.
Referenced by INukeOsetFormula::setupOset(), and INukeOsetTable::setupOset().
|
protected |
calculate avg cross sections according to proton / neutron fraction
Definition at line 13 of file INukeOset.cxx.
References fAbsorptionCrossSection, fCexCrossSection, fCexCrossSections, fQelCrossSections, fTotalCrossSection, genie::kPdgPi0, genie::kPdgPiM, and genie::kPdgPiP.
|
pure virtual |
use to set up Oset class (assign pion Tk, nuclear density etc)
Implemented in INukeOsetTable, and INukeOsetFormula.
Referenced by genie::utils::intranuke2018::sigmaTotalOset().
|
protected |
absorption cross section (averaged over proton / neutron fraction)
Definition at line 74 of file INukeOset.h.
Referenced by INukeOsetTable::setCrossSections(), and setCrossSections().
|
protected |
cex cross section (averaged over proton / neutron fraction)
Definition at line 72 of file INukeOset.h.
Referenced by setCrossSections().
|
protected |
cex cross section for each channel
Definition at line 85 of file INukeOset.h.
Referenced by INukeOsetTable::setCrossSections(), and setCrossSections().
|
staticprotected |
number of possible channels: pi+n, pi+p, pi0
if (pi0) channel = 2
else channel = [(10 * pip + pim) == (10 * p + n)]
0 -> pi+n or pi-p, 1 -> pi+p or pi-n, 2 -> pi0
Definition at line 81 of file INukeOset.h.
Referenced by INukeOsetTable::processLine(), and INukeOsetTable::setCrossSections().
|
protected |
nuclear density in fm-3
Definition at line 66 of file INukeOset.h.
Referenced by INukeOsetTable::checkIntegrity(), and INukeOsetTable::setupOset().
|
protected |
pion kinetic energy in MeV
Definition at line 67 of file INukeOset.h.
Referenced by INukeOsetTable::checkIntegrity(), and INukeOsetTable::setupOset().
|
protected |
total qel (el+cex) cross section for each channel
Definition at line 84 of file INukeOset.h.
Referenced by INukeOsetTable::setCrossSections(), and setCrossSections().
|
protected |
el+cex+abs cross section (averaged over proton / neutron fraction)
Definition at line 70 of file INukeOset.h.
Referenced by setCrossSections().