71 : defName(
"FTFP_BERT"),verbose(1)
75 "FTFP_BERT",
"FTFP_BERT_TRV",
"FTFP_BERT_HP",
"FTFP_INCLXX",
76 "FTFP_INCLXX_HP",
"FTF_BIC",
"LBE",
"QBBC",
77 "QGSP_BERT",
"QGSP_BERT_HP",
"QGSP_BIC",
"QGSP_BIC_HP",
78 "QGSP_FTFP_BERT",
"QGSP_INCLXX",
"QGSP_INCLXX_HP",
"QGS_BIC",
79 "Shielding",
"ShieldingLEND",
"ShieldingM",
"NuBeam"};
85 G4String s1[7] = {
"",
"_EMV",
"_EMX",
"_EMY",
"_EMZ",
"_LIV",
"_PEN"};
99 char* path = getenv(
"PHYSLIST");
104 G4cout <<
"### G4PhysListFactory WARNING: "
105 <<
" environment variable PHYSLIST is not defined"
107 <<
" Default Physics Lists " << name
108 <<
" is instantiated"
118 size_t n = name.size();
126 em_name = name.substr(n - 4, 4);
134 if(0 == em_opt) { em_name =
""; }
138 G4String had_name = name.substr(0, n);
141 G4cout <<
"G4PhysListFactory::GetReferencePhysList <" << had_name
142 << em_name <<
"> EMoption= " << em_opt <<
G4endl;
151 else if(had_name ==
"LBE") {p =
new LBE();}
152 else if(had_name ==
"QBBC") {p =
new QBBC(
verbose);}
166 G4cout <<
"### G4PhysListFactory WARNING: "
167 <<
"PhysicsList " << had_name <<
" is not known"
171 G4cout <<
"<<< Reference Physics List " << had_name
172 << em_name <<
" is built" <<
G4endl;
178 }
else if(2 == em_opt) {
180 }
else if(3 == em_opt) {
182 }
else if(4 == em_opt) {
184 }
else if(5 == em_opt) {
186 }
else if(6 == em_opt) {
199 size_t n = name.size();
201 G4String em_name = name.substr(n - 4, 4);
209 G4String had_name = name.substr(0, n);
219 const std::vector<G4String>&
225 const std::vector<G4String>&
TQGSP_FTFP_BERT< G4VModularPhysicsList > QGSP_FTFP_BERT
TQGSP_BERT< G4VModularPhysicsList > QGSP_BERT
TQGSP_BIC_HP< G4VModularPhysicsList > QGSP_BIC_HP
TFTFP_BERT_HP< G4VModularPhysicsList > FTFP_BERT_HP
TShielding< G4VModularPhysicsList > Shielding
TLBE< G4VModularPhysicsList > LBE
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cout
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4bool IsReferencePhysList(const G4String &)
TQGS_BIC< G4VModularPhysicsList > QGS_BIC
const std::vector< G4String > & AvailablePhysListsEM() const
TFTFP_BERT_TRV< G4VModularPhysicsList > FTFP_BERT_TRV
void SetVerboseLevel(G4int value)
TNuBeam< G4VModularPhysicsList > NuBeam
void ReplacePhysics(G4VPhysicsConstructor *)
std::vector< G4String > listnames_em
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
TINCLXXPhysicsListHelper< G4VModularPhysicsList, false, true > FTFP_INCLXX
std::vector< G4String > listnames_hadr
TINCLXXPhysicsListHelper< G4VModularPhysicsList, false, false > QGSP_INCLXX
TINCLXXPhysicsListHelper< G4VModularPhysicsList, true, false > QGSP_INCLXX_HP
G4VModularPhysicsList * ReferencePhysList()
TQGSP_BIC< G4VModularPhysicsList > QGSP_BIC
TFTF_BIC< G4VModularPhysicsList > FTF_BIC
TQGSP_BERT_HP< G4VModularPhysicsList > QGSP_BERT_HP
TINCLXXPhysicsListHelper< G4VModularPhysicsList, true, true > FTFP_INCLXX_HP
const std::vector< G4String > & AvailablePhysLists() const