69 throw G4HadronicException(__FILE__, __LINE__,
"G4VCrossSectionSource: unklnown particles in FindKeyParticle");
88 G4int nComponents = 0;
92 nComponents = components->size();
94 G4cout <<
"---- " << this->
Name() <<
" ---- has " << nComponents <<
" components" <<
G4endl;
96 for (i=0; i<nComponents; i++)
112 <<
"Ecm = " << sqrtS / GeV <<
" GeV - "
113 <<
" Cross section = " << sigma <<
" mb "
116 G4int nComponents = 0;
120 nComponents = components->size();
123 for (i=0; i<nComponents; i++)
125 G4cout <<
"* Component " << i <<
": ";
136 if (e >= eLow && e <= eHigh) answer =
true;
179 G4double denom = eParam*eParam + (e-e0)*(e-e0);
182 G4double value = (2.* eParam * sigma * (e-e0) / denom) * std::pow(((e0 + eParam) / e), power);
183 result = std::max(0., value);
191 const G4double transversePionMass = 0.3 * GeV;
192 return transversePionMass;
199 const G4double minStringMass = 0.52 * GeV;
200 return minStringMass;
std::vector< G4CrossSectionSourcePtr > G4CrossSectionVector
G4DLLIMPORT std::ostream G4cout
G4ParticleDefinition * GetDefinition() const
const G4LorentzVector & Get4Momentum() const
static G4Neutron * Neutron()
G4double GetPDGMass() const
static G4Proton * Proton()
G4bool InLimits(G4double e, G4double eLow, G4double eHigh) const
virtual G4double LowLimit() const
const G4ParticleDefinition * FindLightParticle(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
virtual const G4CrossSectionVector * GetComponents() const =0
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
virtual void PrintAll(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
virtual void Print() const
G4bool operator!=(const G4VCrossSectionSource &right) const
G4double GetMinStringMass() const
virtual G4double HighLimit() const
G4double FcrossX(G4double e, G4double e0, G4double sigma, G4double eParam, G4double power) const
G4bool operator==(const G4VCrossSectionSource &right) const
virtual ~G4VCrossSectionSource()
G4double GetTransversePionMass() const
G4ParticleDefinition * FindKeyParticle(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
virtual G4String Name() const =0
virtual G4bool IsValid(G4double e) const