#include <G4HadronicInteractionRegistry.hh>
G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry |
( |
| ) |
|
void G4HadronicInteractionRegistry::Clean |
( |
| ) |
|
Definition at line 56 of file G4HadronicInteractionRegistry.cc.
58 size_t nModels = allModels.size();
61 for (
size_t i=0; i<nModels; ++i) {
63 const char* xxx = (allModels[i]->GetModelName()).c_str();
64 G4int len = (allModels[i]->GetModelName()).length();
70 if(mname !=
"NeutronHP" && mname !=
"ParticleH") {
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
Definition at line 135 of file G4HadronicInteractionRegistry.cc.
137 std::vector<G4HadronicInteraction*> models;
139 size_t nModels = allModels.size();
140 for (
size_t i=0; i<nModels; ++i) {
const G4String & GetModelName() const
Definition at line 117 of file G4HadronicInteractionRegistry.cc.
121 size_t nModels = allModels.size();
122 for (
size_t i=0; i<nModels; ++i) {
const G4String & GetModelName() const
const XML_Char XML_Content * model
void G4HadronicInteractionRegistry::InitialiseModels |
( |
| ) |
|
Definition at line 80 of file G4HadronicInteractionRegistry.cc.
82 size_t nModels = allModels.size();
83 for (
size_t i=0; i<nModels; ++i) {
84 if( allModels[i] ) { allModels[i]->InitialiseModel(); }
Definition at line 89 of file G4HadronicInteractionRegistry.cc.
91 if(!aModel) {
return; }
92 size_t nModels = allModels.size();
93 for (
size_t i=0; i<nModels; ++i) {
94 if( aModel == allModels[i] ) {
return; }
98 allModels.push_back(aModel);
Definition at line 102 of file G4HadronicInteractionRegistry.cc.
104 if(!aModel) {
return; }
105 size_t nModels = allModels.size();
106 for (
size_t i=0; i<nModels; ++i) {
107 if( aModel == allModels[i] ) {
The documentation for this class was generated from the following files: