Geant4
10.01.p02
|
#include <G4MoleculeCounter.hh>
Classes | |
struct | Search |
Public Types | |
typedef std::map< G4Molecule, NbMoleculeAgainstTime > | CounterMapType |
typedef stdunique_ptr < std::vector< G4Molecule > > | RecordedMolecules |
Public Member Functions | |
void | Initialize () |
G4bool | SearchTimeMap (const G4Molecule &molecule) |
int | SearchUpperBoundTime (double time, bool sameTypeOfMolecule) |
int | GetNMoleculesAtTime (const G4Molecule &molecule, double time) |
const NbMoleculeAgainstTime & | GetNbMoleculeAgainstTime (const G4Molecule &molecule) |
RecordedMolecules | GetRecordedMolecules () |
RecordedTimes | GetRecordedTimes () |
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 G4MoleculeCounter * | Instance () |
static G4MoleculeCounter * | GetMoleculeCounter () |
static void | InitializeInstance () |
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 |
stdunique_ptr< Search > | fpLastSearch |
Static Protected Attributes | |
static G4ThreadLocal G4MoleculeCounter * | fpInstance = 0 |
static G4bool | fUse = FALSE |
Friends | |
class | G4Molecule |
Definition at line 81 of file G4MoleculeCounter.hh.
typedef std::map<G4Molecule, NbMoleculeAgainstTime> G4MoleculeCounter::CounterMapType |
Definition at line 84 of file G4MoleculeCounter.hh.
typedef stdunique_ptr<std::vector<G4Molecule> > G4MoleculeCounter::RecordedMolecules |
Definition at line 85 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 39 of file G4MoleculeCounter.cc.
|
inlineprotectedvirtual |
Definition at line 97 of file G4MoleculeCounter.hh.
|
protectedvirtual |
Definition at line 211 of file G4MoleculeCounter.cc.
References G4BestUnit, G4cout, G4endl, G4Molecule::GetDefinition(), and G4Molecule::GetName().
Referenced by G4Molecule::BuildTrack().
|
static |
Definition at line 60 of file G4MoleculeCounter.cc.
Referenced by G4DNAChemistryManager::Clear().
|
inlinevirtual |
Definition at line 199 of file G4MoleculeCounter.hh.
References fDontRegister.
|
static |
Definition at line 46 of file G4MoleculeCounter.cc.
Referenced by G4Molecule::BuildTrack(), and G4Molecule::~G4Molecule().
|
inline |
Definition at line 184 of file G4MoleculeCounter.hh.
References fCounterMap.
int G4MoleculeCounter::GetNMoleculesAtTime | ( | const G4Molecule & | molecule, |
double | time | ||
) |
Definition at line 203 of file G4MoleculeCounter.cc.
G4MoleculeCounter::RecordedMolecules G4MoleculeCounter::GetRecordedMolecules | ( | ) |
Definition at line 405 of file G4MoleculeCounter.cc.
RecordedTimes G4MoleculeCounter::GetRecordedTimes | ( | ) |
Definition at line 422 of file G4MoleculeCounter.cc.
|
inline |
Definition at line 194 of file G4MoleculeCounter.hh.
References fVerbose.
void G4MoleculeCounter::Initialize | ( | ) |
Definition at line 74 of file G4MoleculeCounter.cc.
References G4MoleculeTable::GetModelIterator(), G4MoleculeTable::Instance(), and G4MoleculeIterator< MOLECULE >::value().
|
static |
Definition at line 69 of file G4MoleculeCounter.cc.
Referenced by G4DNAChemistryManager::InitializeThread().
|
static |
Definition at line 53 of file G4MoleculeCounter.cc.
|
inline |
Definition at line 162 of file G4MoleculeCounter.hh.
References fUse.
Referenced by G4Molecule::BuildTrack().
|
inlinevirtual |
Definition at line 204 of file G4MoleculeCounter.hh.
References fDontRegister.
|
protectedvirtual |
Definition at line 285 of file G4MoleculeCounter.cc.
References FatalErrorInArgument, compDoubleWithPrecision::fPrecision, G4BestUnit, G4cout, G4endl, G4Exception(), G4Molecule::GetDefinition(), G4Molecule::GetName(), and G4Molecule::PrintState().
Referenced by G4Molecule::~G4Molecule().
|
inlinevirtual |
Definition at line 178 of file G4MoleculeCounter.hh.
References fCounterMap.
G4bool G4MoleculeCounter::SearchTimeMap | ( | const G4Molecule & | molecule | ) |
Definition at line 91 of file G4MoleculeCounter.cc.
int G4MoleculeCounter::SearchUpperBoundTime | ( | double | time, |
bool | sameTypeOfMolecule | ||
) |
Definition at line 121 of file G4MoleculeCounter.cc.
void G4MoleculeCounter::SetTimeSlice | ( | double | timeSlice | ) |
Definition at line 86 of file G4MoleculeCounter.cc.
References compDoubleWithPrecision::fPrecision.
|
inline |
Definition at line 189 of file G4MoleculeCounter.hh.
References fVerbose.
|
inline |
Definition at line 158 of file G4MoleculeCounter.hh.
|
friend |
Definition at line 126 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 101 of file G4MoleculeCounter.hh.
Referenced by GetNbMoleculeAgainstTime(), and ResetCounter().
|
protected |
Definition at line 102 of file G4MoleculeCounter.hh.
Referenced by DontRegister(), and RegisterAll().
|
staticprotected |
Definition at line 99 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 118 of file G4MoleculeCounter.hh.
Definition at line 103 of file G4MoleculeCounter.hh.
Referenced by InUse().
|
protected |
Definition at line 105 of file G4MoleculeCounter.hh.
Referenced by GetVerbose(), and SetVerbose().