91 delete protonInelastic;
93 delete TripathiGeneral;
119 G4cout <<
"In G4GeneralSpaceNNCrossSection::GetCrossSection" <<
G4endl;
120 G4cout <<
"Projectile A = " <<std::setw(8) <<AP
121 <<
" Z = " <<std::setw(8) <<ZP
124 G4cout <<
"Target Z = " <<std::setw(8) <<ZT
131 result = protonInelastic->
134 G4cout <<
"Selecting G4ProtonInelasticCrossSection" <<
G4endl;
138 result = TripathiLight->
141 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
155 result = TripathiLight->
158 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
165 result = TripathiLight->
168 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
172 result = TripathiGeneral->
187 G4cout <<
"Cross-section = " <<result/millibarn <<
" mbarn" <<
G4endl;
G4DLLIMPORT std::ostream G4cout
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
virtual G4double GetElementCrossSection(const G4DynamicParticle *theProjectile, G4int Z, const G4Material *)
G4GeneralSpaceNNCrossSection()
virtual G4bool IsElementApplicable(const G4DynamicParticle *theProjectile, G4int Z, const G4Material *)
~G4GeneralSpaceNNCrossSection()
virtual G4bool IsElementApplicable(const G4DynamicParticle *aDP, G4int Z, const G4Material *)
G4double GetPDGCharge() const
G4int GetBaryonNumber() const
static G4Proton * Proton()
virtual G4bool IsElementApplicable(const G4DynamicParticle *aPart, G4int Z, const G4Material *)
virtual G4bool IsElementApplicable(const G4DynamicParticle *theProjectile, G4int Z, const G4Material *)