70 : defName(
"FTFP_BERT"),verbose(1)
75 "FTFP_BERT",
"FTFP_BERT_TRV",
"FTFP_BERT_HP",
"FTF_BIC",
77 "QGSC_BERT",
"QGSP",
"QGSP_BERT",
"QGSP_BERT_CHIPS",
"QGSP_BERT_HP",
78 "QGSP_BIC",
"QGSP_BIC_HP",
79 "QGSP_FTFP_BERT",
"QGS_BIC",
"QGSP_INCLXX",
81 for(
size_t i=0; i<nlists_hadr; ++i) {
82 listnames_hadr.push_back(ss[i]);
86 G4String s1[7] = {
"",
"_EMV",
"_EMX",
"_EMY",
"_EMZ",
"_LIV",
"_PEN"};
87 for(
size_t i=0; i<nlists_em; ++i) {
88 listnames_em.push_back(s1[i]);
100 char* path = getenv(
"PHYSLIST");
105 G4cout <<
"### G4PhysListFactory WARNING: "
106 <<
" environment variable PHYSLIST is not defined"
108 <<
" Default Physics Lists " << name
109 <<
" is instantiated"
119 size_t n = name.size();
127 em_name = name.substr(n - 4, 4);
128 for(
size_t i=1; i<nlists_em; ++i) {
129 if(listnames_em[i] == em_name) {
135 if(0 == em_opt) { em_name =
""; }
139 G4String had_name = name.substr(0, n);
142 G4cout <<
"G4PhysListFactory::GetReferencePhysList <" << had_name
143 << em_name <<
"> EMoption= " << em_opt <<
G4endl;
146 if(had_name ==
"CHIPS") {p =
new CHIPS(verbose);}
147 else if(had_name ==
"FTFP_BERT") {p =
new FTFP_BERT(verbose);}
148 else if(had_name ==
"FTFP_BERT_TRV") {p =
new FTFP_BERT_TRV(verbose);}
149 else if(had_name ==
"FTFP_BERT_HP") {p =
new FTFP_BERT_HP(verbose);}
151 else if(had_name ==
"FTF_BIC") {p =
new FTF_BIC(verbose);}
152 else if(had_name ==
"LBE") {p =
new LBE();}
153 else if(had_name ==
"LHEP") {p =
new LHEP(verbose);}
154 else if(had_name ==
"QBBC") {p =
new QBBC(verbose);}
155 else if(had_name ==
"QGSC_BERT") {p =
new QGSC_BERT(verbose);}
156 else if(had_name ==
"QGSP_BERT") {p =
new QGSP_BERT(verbose);}
157 else if(had_name ==
"QGSP_BERT_CHIPS"){p =
new QGSP_BERT_CHIPS(verbose);}
158 else if(had_name ==
"QGSP_BERT_HP") {p =
new QGSP_BERT_HP(verbose);}
159 else if(had_name ==
"QGSP_BIC") {p =
new QGSP_BIC(verbose);}
160 else if(had_name ==
"QGSP_BIC_HP") {p =
new QGSP_BIC_HP(verbose);}
161 else if(had_name ==
"QGSP_FTFP_BERT") {p =
new QGSP_FTFP_BERT(verbose);}
162 else if(had_name ==
"QGS_BIC") {p =
new QGS_BIC(verbose);}
163 else if(had_name ==
"QGSP_INCLXX") {p =
new QGSP_INCLXX(verbose);}
164 else if(had_name ==
"Shielding") {p =
new Shielding(verbose);}
165 else if(had_name ==
"ShieldingLEND") {p =
new Shielding(verbose,
"LEND");}
167 G4cout <<
"### G4PhysListFactory WARNING: "
168 <<
"PhysicsList " << had_name <<
" is not known"
172 G4cout <<
"<<< Reference Physics List " << had_name
173 << em_name <<
" is built" <<
G4endl;
179 }
else if(2 == em_opt) {
181 }
else if(3 == em_opt) {
183 }
else if(4 == em_opt) {
185 }
else if(5 == em_opt) {
187 }
else if(6 == em_opt) {
200 size_t n = name.size();
202 G4String em_name = name.substr(n - 4, 4);
203 for(
size_t i=1; i<nlists_em; ++i) {
204 if(listnames_em[i] == em_name) {
210 G4String had_name = name.substr(0, n);
211 for(
size_t i=0; i<nlists_hadr; ++i) {
212 if(had_name == listnames_hadr[i]) {
220const std::vector<G4String>&
223 return listnames_hadr;
226const std::vector<G4String>&
TCHIPS< G4VModularPhysicsList > CHIPS
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
TFTFP_BERT_HP< G4VModularPhysicsList > FTFP_BERT_HP
TFTFP_BERT_TRV< G4VModularPhysicsList > FTFP_BERT_TRV
TFTF_BIC< G4VModularPhysicsList > FTF_BIC
G4DLLIMPORT std::ostream G4cout
TLBE< G4VModularPhysicsList > LBE
TLHEP< G4VModularPhysicsList > LHEP
TQGSC_BERT< G4VModularPhysicsList > QGSC_BERT
TQGSP_BERT< G4VModularPhysicsList > QGSP_BERT
TQGSP_BERT_CHIPS< G4VModularPhysicsList > QGSP_BERT_CHIPS
TQGSP_BERT_HP< G4VModularPhysicsList > QGSP_BERT_HP
TQGSP_BIC< G4VModularPhysicsList > QGSP_BIC
TQGSP_BIC_HP< G4VModularPhysicsList > QGSP_BIC_HP
TQGSP_FTFP_BERT< G4VModularPhysicsList > QGSP_FTFP_BERT
TQGSP_INCLXX< G4VModularPhysicsList > QGSP_INCLXX
TQGS_BIC< G4VModularPhysicsList > QGS_BIC
TShielding< G4VModularPhysicsList > Shielding
const std::vector< G4String > & AvailablePhysListsEM() const
G4bool IsReferencePhysList(const G4String &)
G4VModularPhysicsList * ReferencePhysList()
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
const std::vector< G4String > & AvailablePhysLists() const
void SetVerboseLevel(G4int value)
G4int GetVerboseLevel() const
void ReplacePhysics(G4VPhysicsConstructor *)