39 #ifndef G4ITModelHandler_H
40 #define G4ITModelHandler_H
99 std::vector<G4ITModelManager*>* v = &(
fModelManager.at(type1));
101 if((
int) v->size() < type2)
return 0;
107 #endif // G4ITModelHandler_H
G4ITModelHandler holds for two IT types the corresponding model manager.
const std::vector< std::vector< G4ITModelManager * > > * GetAllModelManager()
G4bool fTimeStepComputerFlag
void RegisterModel(G4VITModel *aModel, const G4double globalTime)
Tag the G4IT Should be automatically setup by G4IT using : ITDef(MyIT) and ITImp(MyIT) ...
std::vector< std::vector< G4ITModelManager * > > fModelManager
G4ITModelHandler & operator=(const G4ITModelHandler &rhs)
bool GetReactionProcessFlag()
Define what to do before stepping and after stepping.
~G4ITModelHandler()
Default destructor.
void SetModel(G4ITType, G4ITType, G4VITModel *aModel, G4double startingTime)
G4bool fReactionProcessFlag
G4VITModel * GetModel(G4ITType, G4ITType, const G4double globalTime)
G4ITModelManager * GetModelManager(G4ITType, G4ITType)
bool GetTimeStepComputerFlag()
G4ITModelManager chooses which model to use according to the global simulation time.