Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
G4DNAChemistryManager Class Reference

#include <G4DNAChemistryManager.hh>

Public Member Functions

void WriteInto (const G4String &, std::ios_base::openmode mode=std::ios_base::out)
 
void CloseFile ()
 
G4bool IsChemistryActived ()
 
void SetChemistryActivation (G4bool)
 
void CreateWaterMolecule (ElectronicModification, G4int, const G4Track *)
 
void CreateSolvatedElectron (const G4Track *, G4ThreeVector *finalPosition=0)
 
void PushMolecule (G4Molecule *&molecule, double time, const G4ThreeVector &position, int parentID)
 
void PushMoleculeAtParentTimeAndPlace (G4Molecule *&molecule, const G4Track *)
 

Static Public Member Functions

static G4DNAChemistryManagerInstance ()
 
static void DeleteInstance ()
 

Protected Member Functions

G4DNAWaterExcitationStructureGetExcitationLevel ()
 
G4DNAWaterIonisationStructureGetIonisationLevel ()
 

Friends

class std::auto_ptr< G4DNAChemistryManager >
 

Detailed Description

G4DNAChemistryManager is called from the physics models. It creates the water molecules and the solvated electrons and and send them to G4ITStepManager to be treated in the chemistry stage. For this, the fActiveChemistry flag needs to be on. It is also possible to give already molecule's pointers already built. G4DNAChemistryManager will then be in charge of creating the track and loading it to the IT system. The user can also ask to create a file containing a information about the creation of water molecules and solvated electrons.

Definition at line 71 of file G4DNAChemistryManager.hh.

Member Function Documentation

void G4DNAChemistryManager::CloseFile ( )

Close the file specified with WriteInto

Definition at line 117 of file G4DNAChemistryManager.cc.

void G4DNAChemistryManager::CreateSolvatedElectron ( const G4Track theIncomingTrack,
G4ThreeVector finalPosition = 0 
)

On the same idea as the previous method but for solvated electron. This method should be used by the physics model of the ElectronSolvatation process.

Definition at line 209 of file G4DNAChemistryManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4DNAChemistryManager::CreateWaterMolecule ( ElectronicModification  modification,
G4int  electronicLevel,
const G4Track theIncomingTrack 
)

Method used by DNA physics model to create a water molecule. The ElectronicModification is a flag telling wheter the molecule is ionized or excited, the electronic level is calculated by the model and the IncomingTrack is the track responsible for the creation of this molecule, for instance an electron.

Definition at line 144 of file G4DNAChemistryManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4DNAChemistryManager::DeleteInstance ( )
static

You should rather use DeleteInstance than the destructor of this class

Definition at line 85 of file G4DNAChemistryManager.cc.

Here is the caller graph for this function:

G4DNAWaterExcitationStructure * G4DNAChemistryManager::GetExcitationLevel ( )
protected

Definition at line 126 of file G4DNAChemistryManager.cc.

Here is the caller graph for this function:

G4DNAWaterIonisationStructure * G4DNAChemistryManager::GetIonisationLevel ( )
protected

Definition at line 135 of file G4DNAChemistryManager.cc.

Here is the caller graph for this function:

G4DNAChemistryManager * G4DNAChemistryManager::Instance ( void  )
static

Definition at line 64 of file G4DNAChemistryManager.cc.

Here is the caller graph for this function:

G4bool G4DNAChemistryManager::IsChemistryActived ( )
inline

Definition at line 154 of file G4DNAChemistryManager.hh.

void G4DNAChemistryManager::PushMolecule ( G4Molecule *&  molecule,
double  time,
const G4ThreeVector position,
int  parentID 
)

WARNING : In case chemistry is not activated, PushMolecule will take care of deleting the transfered molecule. Before calling this method, it is also possible to check if the chemistry is activated through IsChemistryActived(). This method will create the track corresponding to the transfered molecule and will be in charge of loading the new track to the system.

Definition at line 255 of file G4DNAChemistryManager.cc.

Here is the call graph for this function:

void G4DNAChemistryManager::PushMoleculeAtParentTimeAndPlace ( G4Molecule *&  molecule,
const G4Track theIncomingTrack 
)

WARNING : In case chemistry is not activated, PushMoleculeAtParentTimeAndPlace will take care of deleting the transfered molecule. Before calling this method, it is also possible to check if the chemistry is activated through IsChemistryActived(). This method will create the track corresponding to the transfered molecule and will be in charge of loading the new track to the system.

Definition at line 287 of file G4DNAChemistryManager.cc.

Here is the call graph for this function:

void G4DNAChemistryManager::SetChemistryActivation ( G4bool  flag)
inline

Definition at line 159 of file G4DNAChemistryManager.hh.

Here is the caller graph for this function:

void G4DNAChemistryManager::WriteInto ( const G4String ,
std::ios_base::openmode  mode = std::ios_base::out 
)

Tells the chemMan to write into a file the position and electronic state of the water molecule and the position thermalized or not of the solvated electron

Definition at line 91 of file G4DNAChemistryManager.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class std::auto_ptr< G4DNAChemistryManager >
friend

Definition at line 73 of file G4DNAChemistryManager.hh.


The documentation for this class was generated from the following files: