58 for (
size_t i=0; i<nModels; ++i) {
60 const char* xxx = (
allModels[i]->GetModelName()).c_str();
67 if(mname !=
"NeutronHP" && mname !=
"ParticleH") {
80 if( mod ) { mod->InitialiseModel(); }
87 if(!aModel) {
return; }
89 if( aModel == mod ) {
return; }
93 allModels.push_back(aModel);
99 if(!aModel) {
return; }
100 for (
size_t i=0; i<
allModels.size(); ++i) {
115 if(mod && mod->GetModelName() ==
name) {
123 std::vector<G4HadronicInteraction*>
126 std::vector<G4HadronicInteraction*> models;
128 if(mod && mod->GetModelName() ==
name) {
129 models.push_back(mod);