42 : fIsInitialized(false)
52 return lhs.fStartingTime < rhs.fStartingTime;
57 modelInfo.fpModel->Initialize();
67 assert(pModel !=
nullptr);
72 <<
"You are trying to insert a new model after initializing the model manager.";
73 G4Exception(
"G4ITModelManager::SetModel",
"ITModelManager001",
82 std::vector<G4VITStepModel*> activeModels;
86 if (modelInfo.fStartingTime < globalTime && modelInfo.fEndTime > globalTime)
88 activeModels.push_back(modelInfo.fpModel.get());
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
std::vector< G4VITStepModel * > GetActiveModels(G4double globalTime) const
std::vector< ModelInfo > fModelInfoList
void SetModel(G4VITStepModel *aModel, G4double startingTime, G4double endTime=DBL_MAX)