45 "",
"pp",
"np",
"pip",
"pim",
47 "gp_pi0p",
"gp_pi+n",
"gn_pi-p",
"gn_pi0n",
"gp_etap",
"gp_etapp"
79 "G4ComponentSAIDTotalXS::GetTotalElementCrossSection",
80 "Method is not implemented");
99 "G4ComponentSAIDTotalXS::GetTotalElementCrossSection",
100 "Method is not implemented");
127 "G4ComponentSAIDTotalXS::GetTotalElementCrossSection",
128 "Method is not implemented");
143 cross = (
elastdata[idx])->Value(kinEnergy);
182 if(0 == Z && sec && 22 == code) {
195 }
else if(22 == code) {
202 if(2212 == code) { type =
saidPP; }
203 else if(2112 == code) { type =
saidNP; }
204 else if(211 == code) { type =
saidPIPP; }
205 else if(-211 == code) { type =
saidPINP; }
218 char* path = getenv(
"G4SAIDXSDATA");
220 G4Exception(
"G4ComponentSAIDTotalXS::Initialise(..)",
"had013",
222 "Environment variable G4SAIDXSDATA is not defined");
241 std::ostringstream ost;
242 ost << ss1 <<
"/" <<
fnames[index] << ss2;
243 std::ifstream filein(ost.str().c_str());
246 ed <<
"Data file <" << ost.str().c_str()
247 <<
"> is not opened!";
248 G4Exception(
"G4ComponentSAIDTotalXS::ReadData(..)",
"had014",
252 G4cout <<
"File " << ost.str()
253 <<
" is opened by G4ComponentSAIDTotalXS" <<
G4endl;
270 G4cout <<
"For Z= " << Z <<
" N= " << N <<
" of ";
G4PhysicsVector * inelastdata[numberOfSaidXS]
std::ostringstream G4ExceptionDescription
virtual void ScaleVector(G4double factorE, G4double factorV)
const G4String & GetParticleName() const
virtual void Description() const
void PrintWarning(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4int, G4int, const G4String &, const G4String &)
virtual G4double GetTotalElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)
static const G4String fnames[numberOfSaidXS]
G4PhysicsVector * elastdata[numberOfSaidXS]
static constexpr double MeV
virtual G4double GetElasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
void ReadData(G4int index, G4PhysicsVector *, const G4String &, const G4String &)
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
virtual G4bool Retrieve(std::ifstream &fIn, G4bool ascii=false)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual G4double GetTotalIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
G4double GetChargeExchangeCrossSection(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4double kinEnergy, G4int, G4int)
G4int GetVerboseLevel() const
virtual ~G4ComponentSAIDTotalXS()
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
G4SAIDCrossSectionType GetType(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4int Z, G4int N)
void Initialise(G4SAIDCrossSectionType tp)
virtual G4double GetInelasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)
static constexpr double millibarn
virtual G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)