47 #ifndef G4ITMODELPROCESSOR_H
48 #define G4ITMODELPROCESSOR_H
109 const double currentStepTime,
110 const double previousStepTime,
111 const bool reachedUserStepTimeLimit);
115 inline const std::vector<std::vector<G4VITStepModel*> >*
GetCurrentModel();
184 <<
"You are trying to set a new model while the model processor has alreaday be initialized";
185 G4Exception(
"G4ITModelProcessor::SetModelHandler",
"ITModelProcessor001",
195 #endif // G4ITMODELPROCESSOR_H
G4ITModelHandler holds for two IT types the corresponding model manager.
static G4ThreadLocal std::map< const G4Track *, G4bool > * fHasReacted
The G4ITModelProcessor will call the two processes defined in G4VITModel.
std::ostringstream G4ExceptionDescription
void SetTrack(const G4Track *)
std::vector< G4ITReactionChange * > fReactionInfo
Define what to do before stepping and after stepping.
std::vector< std::vector< G4VITStepModel * > > fCurrentModel
void CalculateTimeStep(const G4Track *, const G4double)
G4VITReactionProcess defines the reaction between two G4IT.
Tag the G4IT Should be automatically setup by G4IT using : ITDef(MyIT) and ITImp(MyIT) ...
void FindReaction(G4ITReactionSet *reactionSet, const double currentStepTime, const double previousStepTime, const bool reachedUserStepTimeLimit)
G4double fUserMinTimeStep
const std::vector< std::vector< G4VITStepModel * > > * GetCurrentModel()
virtual ~G4ITModelProcessor()
const G4Track * GetTrack() const
std::vector< G4ITReactionChange * > * GetReactionInfo()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4ITModelProcessor & operator=(const G4ITModelProcessor &other)
Assignment operator.
G4ITModelManager * fpModelManager
void InitializeStepper(const G4double ¤tGlobalTime, const G4double &userMinTime)
void SetModelHandler(G4ITModelHandler *)
Before stepping all tracks G4Scheduler calls all the G4VITModel which may contain a G4VITTimeStepper ...
G4ITModelHandler * fpModelHandler
G4ITModelManager chooses which model to use according to the global simulation time.
void CleanProcessor()
Restaure original state of the modelProcessor.