80 : defName(
"FTFP_BERT"),verbose(ver),theMessenger(nullptr)
84 "FTFP_BERT",
"FTFP_BERT_TRV",
"FTFP_BERT_ATL",
"FTFP_BERT_HP",
"FTFQGSP_BERT",
85 "FTFP_INCLXX",
"FTFP_INCLXX_HP",
"FTF_BIC",
"LBE",
"QBBC",
86 "QGSP_BERT",
"QGSP_BERT_HP",
"QGSP_BIC",
"QGSP_BIC_HP",
"QGSP_BIC_AllHP",
87 "QGSP_FTFP_BERT",
"QGSP_INCLXX",
"QGSP_INCLXX_HP",
"QGS_BIC",
88 "Shielding",
"ShieldingLEND",
"ShieldingM",
"NuBeam"};
94 G4String s1[12] = {
"",
"_EMV",
"_EMX",
"_EMY",
"_EMZ",
"_LIV",
"_PEN",
95 "__GS",
"__SS",
"_EM0",
"_WVI",
"__LE"};
111 char* path = std::getenv(
"PHYSLIST");
116 G4cout <<
"### G4PhysListFactory WARNING: "
117 <<
" environment variable PHYSLIST is not defined"
119 <<
" Default Physics Lists " <<
name
120 <<
" is instantiated"
130 size_t n =
name.size();
138 em_name =
name.substr(
n - 4, 4);
146 if(0 == em_opt) { em_name =
""; }
153 G4cout <<
"G4PhysListFactory::GetReferencePhysList <" << had_name
154 << em_name <<
"> EMoption= " << em_opt <<
G4endl;
165 else if(had_name ==
"LBE") {p =
new LBE();}
166 else if(had_name ==
"QBBC") {p =
new QBBC(
verbose);}
183 ed <<
"PhysicsList " << had_name <<
" is not known;"
184 <<
" the default FTFP_BERT is created";
188 if(0 < em_opt && had_name !=
"LBE") {
191 }
else if(2 == em_opt) {
193 }
else if(3 == em_opt) {
195 }
else if(4 == em_opt) {
197 }
else if(5 == em_opt) {
199 }
else if(6 == em_opt) {
201 }
else if(7 == em_opt) {
203 }
else if(8 == em_opt) {
205 }
else if(9 == em_opt) {
207 }
else if(10 == em_opt) {
209 }
else if(11 == em_opt) {
222 size_t n =
name.size();
242const std::vector<G4String>&
248const std::vector<G4String>&
TINCLXXPhysicsListHelper< G4VModularPhysicsList, false, true > FTFP_INCLXX
TINCLXXPhysicsListHelper< G4VModularPhysicsList, true, true > FTFP_INCLXX_HP
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cout
TINCLXXPhysicsListHelper< G4VModularPhysicsList, true, false > QGSP_INCLXX_HP
TINCLXXPhysicsListHelper< G4VModularPhysicsList, false, false > QGSP_INCLXX
std::vector< G4String > listnames_hadr
const std::vector< G4String > & AvailablePhysListsEM() const
G4UImessenger * theMessenger
std::vector< G4String > listnames_em
G4bool IsReferencePhysList(const G4String &) const
G4PhysListFactory(G4int ver=1)
G4VModularPhysicsList * ReferencePhysList()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
const std::vector< G4String > & AvailablePhysLists() const
void ReplacePhysics(G4VPhysicsConstructor *)
const char * name(G4int ptype)