91 delete protonInelastic;
93 delete TripathiGeneral;
116 if (verboseLevel >= 2)
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->
132 GetElementCrossSection(theProjectile, ZT, mat);
133 if (verboseLevel >= 2)
134 G4cout <<
"Selecting G4ProtonInelasticCrossSection" <<
G4endl;
138 result = TripathiLight->
139 GetElementCrossSection(theProjectile, ZT, mat);
140 if (verboseLevel >= 2)
141 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
149 GetElementCrossSection(theProjectile, ZT, mat);
150 if (verboseLevel >= 2)
155 result = TripathiLight->
156 GetElementCrossSection(theProjectile, ZT, mat);
157 if (verboseLevel >= 2)
158 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
163 if (TripathiLight->IsElementApplicable(theProjectile, ZT, mat))
165 result = TripathiLight->
166 GetElementCrossSection(theProjectile, ZT, mat);
167 if (verboseLevel >= 2)
168 G4cout <<
"Selecting G4TripathiLightCrossSection" <<
G4endl;
170 else if (TripathiGeneral->IsElementApplicable(theProjectile, ZT, mat))
172 result = TripathiGeneral->
173 GetElementCrossSection(theProjectile, ZT, mat);
174 if (verboseLevel >= 2)
177 else if (Shen->IsElementApplicable(theProjectile, ZT, mat))
180 GetElementCrossSection(theProjectile, ZT, mat);
181 if (verboseLevel >= 2)
185 if (verboseLevel >= 2)