46 errMsg <<
"The G4MoleculeCounter was already initialized." <<
G4endl
47 <<
"The previous instance will be deleted in order to use yours." <<
G4endl
48 <<
"However this can generate conflicts. Make sure you call G4MoleculeCounter::SetInstance"
49 "at the beginning of your application."
50 <<
"A good place would be ActionInitialization::Build & BuildForMaster"
54 "SINGLETON_ALREADY_INITIALIZED",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static void SetInstance(G4VMoleculeCounter *)
static void InitializeInstance()
void Use(G4bool flag=true)
static G4ThreadLocal G4VMoleculeCounter * fpInstance
static void DeleteInstance()
static G4VMoleculeCounter * Instance()
virtual void Initialize()=0