#include <G4VCrossSectionSource.hh>
Definition at line 38 of file G4VCrossSectionSource.hh.
| G4VCrossSectionSource::G4VCrossSectionSource |
( |
| ) |
|
| G4VCrossSectionSource::~G4VCrossSectionSource |
( |
| ) |
|
|
virtual |
Implemented in G4XPDGElastic, G4XPDGTotal, G4CrossSectionComposite, G4XnpElasticLowE, G4XnpTotalLowE, G4CrossSectionPatch, G4XAnnihilationChannel, G4XAqmElastic, G4XMesonBaryonElastic, G4XResonance, G4XNNElasticLowE, G4XAqmTotal, G4XNNTotalLowE, G4XpimNTotal, and G4XpipNTotal.
Definition at line 175 of file G4VCrossSectionSource.cc.
180 G4double denom = eParam*eParam + (e-e0)*(e-e0);
G4double G4ParticleHPJENDLHEData::G4double result
static G4Pow * GetInstance()
G4double powA(G4double A, G4double y) const
const XML_Char int const XML_Char * value
T max(const T t1, const T t2)
brief Return the largest of the two arguments
Definition at line 51 of file G4VCrossSectionSource.cc.
70 throw G4HadronicException(__FILE__, __LINE__,
"G4VCrossSectionSource: unklnown particles in FindKeyParticle");
G4double G4ParticleHPJENDLHEData::G4double result
static G4Proton * Proton()
static G4Neutron * Neutron()
const G4ParticleDefinition * GetDefinition() const
Definition at line 159 of file G4VCrossSectionSource.cc.
G4double GetPDGMass() const
const G4ParticleDefinition * GetDefinition() const
Implemented in G4XPDGElastic, G4XPDGTotal, G4CrossSectionComposite, G4XnpElasticLowE, G4XnpTotalLowE, G4CrossSectionPatch, G4XAnnihilationChannel, G4XAqmElastic, G4XMesonBaryonElastic, G4XNNElastic, G4XnpElastic, G4XnpTotal, G4XResonance, G4XNNElasticLowE, G4XAqmTotal, G4XNNTotalLowE, G4XNNTotal, G4XpimNTotal, and G4XpipNTotal.
| G4double G4VCrossSectionSource::HighLimit |
( |
| ) |
const |
|
virtual |
Reimplemented in G4XPDGElastic, G4XPDGTotal, G4CrossSectionComposite, G4XnpElasticLowE, G4XnpTotalLowE, G4CrossSectionPatch, G4XAnnihilationChannel, G4XAqmElastic, G4XMesonBaryonElastic, G4XNNElasticLowE, G4XAqmTotal, and G4XNNTotalLowE.
Definition at line 152 of file G4VCrossSectionSource.cc.
virtual G4double LowLimit() const
virtual G4double HighLimit() const
| G4double G4VCrossSectionSource::LowLimit |
( |
| ) |
const |
|
virtual |
| virtual G4String G4VCrossSectionSource::Name |
( |
| ) |
const |
|
pure virtual |
Implemented in G4XnpElasticLowE, G4XnpTotalLowE, G4XPDGElastic, G4XPDGTotal, G4XAnnihilationChannel, G4XAqmElastic, G4XMesonBaryonElastic, G4XNNElastic, G4XnpElastic, G4XnpTotal, G4XResonance, G4XNNElasticLowE, G4XAqmTotal, G4XNNTotalLowE, G4XNNTotal, G4XpimNTotal, and G4XpipNTotal.
| void G4VCrossSectionSource::Print |
( |
| ) |
const |
|
virtual |
Reimplemented in G4XnpElasticLowE, G4XnpTotalLowE, and G4XNNElasticLowE.
Definition at line 87 of file G4VCrossSectionSource.cc.
89 G4int nComponents = 0;
93 nComponents = components->size();
95 G4cout <<
"---- " << this->
Name() <<
" ---- has " << nComponents <<
" components" <<
G4endl;
97 for (i=0; i<nComponents; i++)
virtual G4String Name() const =0
virtual const G4CrossSectionVector * GetComponents() const =0
G4GLOB_DLL std::ostream G4cout
std::vector< G4CrossSectionSourcePtr > G4CrossSectionVector
virtual void Print() const
Definition at line 108 of file G4VCrossSectionSource.cc.
113 <<
"Ecm = " << sqrtS /
GeV <<
" GeV - "
114 <<
" Cross section = " << sigma <<
" mb "
117 G4int nComponents = 0;
121 nComponents = components->size();
124 for (i=0; i<nComponents; i++)
126 G4cout <<
"* Component " << i <<
": ";
virtual G4String Name() const =0
virtual const G4CrossSectionVector * GetComponents() const =0
G4GLOB_DLL std::ostream G4cout
std::vector< G4CrossSectionSourcePtr > G4CrossSectionVector
static constexpr double GeV
virtual void PrintAll(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
const G4LorentzVector & Get4Momentum() const
static constexpr double millibarn
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
The documentation for this class was generated from the following files: