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