70 throw G4HadronicException(__FILE__, __LINE__,
"G4VCrossSectionSource: unklnown particles in FindKeyParticle");
89 G4int nComponents = 0;
93 nComponents = components->size();
95 G4cout <<
"---- " << this->
Name() <<
" ---- has " << nComponents <<
" components" <<
G4endl;
97 for (i=0; i<nComponents; i++)
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 <<
": ";
137 if (e >= eLow && e <= eHigh) answer =
true;
180 G4double denom = eParam*eParam + (e-e0)*(e-e0);
virtual G4bool IsValid(G4double e) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
const G4LorentzVector & Get4Momentum() const
G4bool operator!=(const G4VCrossSectionSource &right) const
virtual G4double HighLimit() const
const G4ParticleDefinition * GetDefinition() const
static G4Proton * Proton()
virtual const G4CrossSectionVector * GetComponents() const =0
G4double GetPDGMass() const
G4bool operator==(const G4VCrossSectionSource &right) const
static constexpr double millibarn
static G4Pow * GetInstance()
const XML_Char int const XML_Char * value
virtual void Print() const
G4double powA(G4double A, G4double y) const
const G4ParticleDefinition * FindLightParticle(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
virtual void PrintAll(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
G4double G4ParticleHPJENDLHEData::G4double result
G4double FcrossX(G4double e, G4double e0, G4double sigma, G4double eParam, G4double power) const
virtual G4String Name() const =0
static G4Neutron * Neutron()
std::vector< G4CrossSectionSourcePtr > G4CrossSectionVector
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
G4GLOB_DLL std::ostream G4cout
virtual ~G4VCrossSectionSource()
static constexpr double GeV
virtual G4double LowLimit() const
G4bool InLimits(G4double e, G4double eLow, G4double eHigh) const
const G4ParticleDefinition * FindKeyParticle(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const