Geant4  10.03
G4VMoleculeCounter Class Referenceabstract

#include <G4VMoleculeCounter.hh>

+ Inheritance diagram for G4VMoleculeCounter:
+ Collaboration diagram for G4VMoleculeCounter:

Public Member Functions

virtual void Initialize ()=0
 
virtual void ResetCounter ()=0
 
virtual void AddAMoleculeAtTime (G4MolecularConfiguration *, G4double time, const G4ThreeVector *position=nullptr, int number=1)=0
 
virtual void RemoveAMoleculeAtTime (G4MolecularConfiguration *, G4double time, const G4ThreeVector *position=nullptr, int number=1)=0
 
virtual void DontRegister (const G4MoleculeDefinition *)
 
virtual bool IsRegistered (const G4MoleculeDefinition *)
 
virtual void RegisterAll ()
 

Static Public Member Functions

static void SetInstance (G4VMoleculeCounter *)
 
static void DeleteInstance ()
 
static G4VMoleculeCounterInstance ()
 
static void InitializeInstance ()
 
static void Use (G4bool flag=true)
 
static G4bool InUse ()
 

Protected Member Functions

 G4VMoleculeCounter ()
 
virtual ~G4VMoleculeCounter ()
 

Static Protected Attributes

static G4ThreadLocal
G4VMoleculeCounter
fpInstance = 0
 
static G4bool fUse = false
 

Detailed Description

Definition at line 43 of file G4VMoleculeCounter.hh.

Constructor & Destructor Documentation

G4VMoleculeCounter::G4VMoleculeCounter ( )
inlineprotected

Definition at line 48 of file G4VMoleculeCounter.hh.

virtual G4VMoleculeCounter::~G4VMoleculeCounter ( )
inlineprotectedvirtual

Definition at line 49 of file G4VMoleculeCounter.hh.

Member Function Documentation

virtual void G4VMoleculeCounter::AddAMoleculeAtTime ( G4MolecularConfiguration ,
G4double  time,
const G4ThreeVector position = nullptr,
int  number = 1 
)
pure virtual

Implemented in G4MoleculeCounter.

void G4VMoleculeCounter::DeleteInstance ( )
static

Definition at line 75 of file G4VMoleculeCounter.cc.

Referenced by G4DNAChemistryManager::Clear().

+ Here is the caller graph for this function:

virtual void G4VMoleculeCounter::DontRegister ( const G4MoleculeDefinition )
inlinevirtual

Reimplemented in G4MoleculeCounter.

Definition at line 87 of file G4VMoleculeCounter.hh.

virtual void G4VMoleculeCounter::Initialize ( )
pure virtual

Implemented in G4MoleculeCounter.

void G4VMoleculeCounter::InitializeInstance ( )
static

Definition at line 85 of file G4VMoleculeCounter.cc.

Referenced by G4DNAChemistryManager::InitializeThread().

+ Here is the caller graph for this function:

G4VMoleculeCounter * G4VMoleculeCounter::Instance ( void  )
static

Definition at line 67 of file G4VMoleculeCounter.cc.

Referenced by G4Molecule::BuildTrack(), G4DNAElectronHoleRecombination::MakeReaction(), G4DNAChemistryManager::Run(), and G4Molecule::~G4Molecule().

+ Here is the caller graph for this function:

G4bool G4VMoleculeCounter::InUse ( )
static

Definition at line 99 of file G4VMoleculeCounter.cc.

Referenced by G4Molecule::BuildTrack(), and G4DNAElectronHoleRecombination::MakeReaction().

+ Here is the caller graph for this function:

virtual bool G4VMoleculeCounter::IsRegistered ( const G4MoleculeDefinition )
inlinevirtual

Reimplemented in G4MoleculeCounter.

Definition at line 88 of file G4VMoleculeCounter.hh.

virtual void G4VMoleculeCounter::RegisterAll ( )
inlinevirtual

Reimplemented in G4MoleculeCounter.

Definition at line 91 of file G4VMoleculeCounter.hh.

virtual void G4VMoleculeCounter::RemoveAMoleculeAtTime ( G4MolecularConfiguration ,
G4double  time,
const G4ThreeVector position = nullptr,
int  number = 1 
)
pure virtual

Implemented in G4MoleculeCounter.

virtual void G4VMoleculeCounter::ResetCounter ( )
pure virtual

Implemented in G4MoleculeCounter.

Referenced by G4DNAChemistryManager::Run().

+ Here is the caller graph for this function:

void G4VMoleculeCounter::SetInstance ( G4VMoleculeCounter instance)
static

Definition at line 45 of file G4VMoleculeCounter.cc.

References G4endl, G4Exception(), instance, and JustWarning.

+ Here is the call graph for this function:

void G4VMoleculeCounter::Use ( G4bool  flag = true)
static

Definition at line 92 of file G4VMoleculeCounter.cc.

Member Data Documentation

G4ThreadLocal G4VMoleculeCounter * G4VMoleculeCounter::fpInstance = 0
staticprotected

Definition at line 45 of file G4VMoleculeCounter.hh.

G4bool G4VMoleculeCounter::fUse = false
staticprotected

Definition at line 46 of file G4VMoleculeCounter.hh.


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