29 return "ConstructGeometry";
31 return "ConstructOpGeometry";
33 return "MisalignGeometry";
35 return "InitGeometry";
37 return "AddParticles";
44 return "NotInApplication";
59 "TG4StateManager:",
"Cannot create two instances of singleton.");
79 G4cout <<
"**** TG4StateManager::SetNewState: " <<
GetStateName(state)
Definition of the TG4Globals class and basic container types.
Definition of the TG4StateManager class.
static void Exception(const TString &className, const TString &methodName, const TString &text)
The manager class for application state.
static G4ThreadLocal TG4StateManager * fgInstance
this instance
TG4ApplicationState fCurrentState
the current application state
static G4String GetStateName(TG4ApplicationState state)
void SetNewState(TG4ApplicationState state)
TG4ApplicationState fPreviousState
the previous application state
virtual ~TG4StateManager()
Base class for defining the verbose level and a common messenger.
virtual G4int VerboseLevel() const
TG4ApplicationState
Enumeration for application states.
@ kMisalignGeometry
in MisalignGeometry
@ kConstructGeometry
in ConstructGeometry
@ kAddParticles
in AddParticles
@ kInEvent
in event processing
@ kNotInApplication
not in VMC application
@ kInitGeometry
in InitGeometry
@ kConstructOpGeometry
in ConstructOpGeometry