48 #ifndef G4DNACHEMISTRYMANAGER_HH
49 #define G4DNACHEMISTRYMANAGER_HH
129 void Gun(
G4ITGun*,
bool physicsTableToBuild =
true);
204 {fBuildPhysicsTable = flag;}
208 return fResetCounterWhenRunEnds;
213 fResetCounterWhenRunEnds = resetCounterWhenRunEnds;
236 bool fActiveChemistry;
241 G4bool fMasterInitialized;
242 G4bool fForceThreadReinitialization;
248 G4bool fBuildPhysicsTable;
249 G4bool fPhysicsTableBuilt;
255 G4bool fResetCounterWhenRunEnds;
260 fPhysicsTableBuilt =
false;
265 fpUserChemistryList = chemistryList;
271 if (fpUserChemistryList == chemistryList) fpUserChemistryList = 0;
276 fMasterInitialized =
false;
283 fForceThreadReinitialization =
true;
288 if (fpgThreadInitialized_tl)
delete fpgThreadInitialized_tl;
291 #endif // G4DNACHEMISTRYMANAGER_HH
void ForceMasterReinitialization()
void Deregister(G4VUserChemistryList *)
void WriteInto(const G4String &, std::ios_base::openmode mode=std::ios_base::out)
void PushMoleculeAtParentTimeAndPlace(G4Molecule *&molecule, const G4Track *)
void ForceRebuildingPhysicsTable()
void TagThreadForReinitialization()
void CreateSolvatedElectron(const G4Track *, G4ThreeVector *finalPosition=0)
void SetChemistryActivation(G4bool)
void AddEmptyLineInOuputFile()
G4bool IsChemistryActivated()
void ForceThreadReinitialization()
G4DNAWaterExcitationStructure * GetExcitationLevel()
void SetChemistryList(G4VUserChemistryList *)
virtual G4bool Notify(G4ApplicationState requestedState)
virtual void SetNewValue(G4UIcommand *, G4String)
void PushMolecule(G4Molecule *&molecule, double time, const G4ThreeVector &position, int parentID)
G4bool IsCounterResetWhenRunEnds() const
void SetGlobalTemperature(double temp_K)
static void DeleteInstance()
virtual ~G4DNAChemistryManager()
static G4bool IsActivated()
virtual G4String GetCurrentValue(G4UIcommand *command)
void SetVerbose(G4int verbose)
static G4DNAChemistryManager * Instance()
void CreateWaterMolecule(ElectronicModification, G4int, const G4Track *)
void ResetCounterWhenRunEnds(G4bool resetCounterWhenRunEnds)
void SetBuildPhysicsTable(bool flag)
static void Activated(G4bool flag=true)
void Gun(G4ITGun *, bool physicsTableToBuild=true)
static G4DNAChemistryManager * GetInstanceIfExists()
G4DNAWaterIonisationStructure * GetIonisationLevel()