Geant4_10
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
G4MoleculeCounter Class Reference

#include <G4MoleculeCounter.hh>

Collaboration diagram for G4MoleculeCounter:
Collaboration graph
[legend]

Public Types

typedef std::map< G4Molecule,
NbMoleculeAgainstTime
CounterMapType
 
typedef std::auto_ptr
< std::vector< G4Molecule > > 
RecordedMolecules
 

Public Member Functions

const NbMoleculeAgainstTimeGetNbMoleculeAgainstTime (const G4Molecule &molecule)
 
RecordedMolecules GetRecordedMolecules ()
 
virtual void DontRegister (const G4MoleculeDefinition *)
 
virtual void RegisterAll ()
 
void Use (G4bool flag=true)
 
G4bool InUse ()
 
void SetVerbose (G4int)
 
G4int GetVerbose ()
 
void SetTimeSlice (double)
 
virtual void ResetCounter ()
 

Static Public Member Functions

static void DeleteInstance ()
 
static G4MoleculeCounterGetMoleculeCounter ()
 

Protected Member Functions

 G4MoleculeCounter ()
 
virtual ~G4MoleculeCounter ()
 
virtual void AddAMoleculeAtTime (const G4Molecule &, G4double)
 
virtual void RemoveAMoleculeAtTime (const G4Molecule &, G4double)
 

Protected Attributes

CounterMapType fCounterMap
 
std::map< const
G4MoleculeDefinition *, G4bool
fDontRegister
 
G4int fVerbose
 

Static Protected Attributes

static G4ThreadLocal
G4MoleculeCounter
fpInstance = 0
 
static G4bool fUse = FALSE
 

Friends

class G4Molecule
 

Detailed Description

Definition at line 52 of file G4MoleculeCounter.hh.

Member Typedef Documentation

Definition at line 55 of file G4MoleculeCounter.hh.

typedef std::auto_ptr<std::vector<G4Molecule> > G4MoleculeCounter::RecordedMolecules

Definition at line 60 of file G4MoleculeCounter.hh.

Constructor & Destructor Documentation

G4MoleculeCounter::G4MoleculeCounter ( )
protected

Definition at line 38 of file G4MoleculeCounter.cc.

virtual G4MoleculeCounter::~G4MoleculeCounter ( )
inlineprotectedvirtual

Definition at line 65 of file G4MoleculeCounter.hh.

Member Function Documentation

void G4MoleculeCounter::AddAMoleculeAtTime ( const G4Molecule molecule,
G4double  time 
)
protectedvirtual

Definition at line 67 of file G4MoleculeCounter.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4MoleculeCounter::DeleteInstance ( )
static

Definition at line 53 of file G4MoleculeCounter.cc.

void G4MoleculeCounter::DontRegister ( const G4MoleculeDefinition molDef)
inlinevirtual

Definition at line 137 of file G4MoleculeCounter.hh.

G4MoleculeCounter * G4MoleculeCounter::GetMoleculeCounter ( )
static

Definition at line 45 of file G4MoleculeCounter.cc.

Here is the caller graph for this function:

const NbMoleculeAgainstTime & G4MoleculeCounter::GetNbMoleculeAgainstTime ( const G4Molecule molecule)
inline

Definition at line 122 of file G4MoleculeCounter.hh.

G4MoleculeCounter::RecordedMolecules G4MoleculeCounter::GetRecordedMolecules ( )

Definition at line 253 of file G4MoleculeCounter.cc.

G4int G4MoleculeCounter::GetVerbose ( )
inline

Definition at line 132 of file G4MoleculeCounter.hh.

G4bool G4MoleculeCounter::InUse ( )
inline

Definition at line 101 of file G4MoleculeCounter.hh.

Here is the caller graph for this function:

void G4MoleculeCounter::RegisterAll ( )
inlinevirtual

Definition at line 142 of file G4MoleculeCounter.hh.

void G4MoleculeCounter::RemoveAMoleculeAtTime ( const G4Molecule molecule,
G4double  time 
)
protectedvirtual

Definition at line 139 of file G4MoleculeCounter.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4MoleculeCounter::ResetCounter ( )
inlinevirtual

Definition at line 117 of file G4MoleculeCounter.hh.

void G4MoleculeCounter::SetTimeSlice ( double  timeSlice)

Definition at line 62 of file G4MoleculeCounter.cc.

void G4MoleculeCounter::SetVerbose ( G4int  level)
inline

Definition at line 127 of file G4MoleculeCounter.hh.

void G4MoleculeCounter::Use ( G4bool  flag = true)
inline

Definition at line 97 of file G4MoleculeCounter.hh.

Friends And Related Function Documentation

friend class G4Molecule
friend

Definition at line 74 of file G4MoleculeCounter.hh.

Member Data Documentation

CounterMapType G4MoleculeCounter::fCounterMap
protected

Definition at line 68 of file G4MoleculeCounter.hh.

std::map<const G4MoleculeDefinition*, G4bool> G4MoleculeCounter::fDontRegister
protected

Definition at line 69 of file G4MoleculeCounter.hh.

G4ThreadLocal G4MoleculeCounter * G4MoleculeCounter::fpInstance = 0
staticprotected

Definition at line 66 of file G4MoleculeCounter.hh.

G4bool G4MoleculeCounter::fUse = FALSE
staticprotected

Definition at line 70 of file G4MoleculeCounter.hh.

G4int G4MoleculeCounter::fVerbose
protected

Definition at line 72 of file G4MoleculeCounter.hh.


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