Geant4
10.02.p02
|
#include <G4MoleculeCounter.hh>
Classes | |
struct | Search |
Public Types | |
typedef std::map < G4MolecularConfiguration *, NbMoleculeAgainstTime > | CounterMapType |
typedef stdunique_ptr < std::vector < G4MolecularConfiguration * > > | RecordedMolecules |
Public Member Functions | |
virtual void | AddAMoleculeAtTime (G4MolecularConfiguration *, G4double time, int number=1) |
virtual void | RemoveAMoleculeAtTime (G4MolecularConfiguration *, G4double time, int number=1) |
void | Initialize () |
G4bool | SearchTimeMap (G4MolecularConfiguration *molecule) |
int | SearchUpperBoundTime (double time, bool sameTypeOfMolecule) |
int | GetNMoleculesAtTime (G4MolecularConfiguration *molecule, double time) |
const NbMoleculeAgainstTime & | GetNbMoleculeAgainstTime (G4MolecularConfiguration *molecule) |
RecordedMolecules | GetRecordedMolecules () |
RecordedTimes | GetRecordedTimes () |
virtual void | DontRegister (const G4MoleculeDefinition *) |
virtual bool | IsRegistered (const G4MoleculeDefinition *) |
virtual void | RegisterAll () |
void | SetVerbose (G4int) |
G4int | GetVerbose () |
void | SetTimeSlice (double) |
virtual void | ResetCounter () |
void | Dump () |
G4bool | IsTimeCheckedForConsistency () const |
void | CheckTimeForConsistency (G4bool flag) |
Static Public Member Functions | |
static void | DeleteInstance () |
static G4MoleculeCounter * | Instance () |
static G4MoleculeCounter * | GetMoleculeCounter () |
static void | InitializeInstance () |
static void | Use (G4bool flag=true) |
static G4bool | InUse () |
Protected Member Functions | |
G4MoleculeCounter () | |
virtual | ~G4MoleculeCounter () |
Protected Attributes | |
CounterMapType | fCounterMap |
std::map< const G4MoleculeDefinition *, G4bool > | fDontRegister |
G4int | fVerbose |
G4bool | fCheckTimeIsConsistentWithScheduler |
stdunique_ptr< Search > | fpLastSearch |
Static Protected Attributes | |
static G4ThreadLocal G4MoleculeCounter * | fpInstance = 0 |
static G4bool | fUse = false |
Friends | |
class | G4Molecule |
Definition at line 87 of file G4MoleculeCounter.hh.
typedef std::map<G4MolecularConfiguration*, NbMoleculeAgainstTime> G4MoleculeCounter::CounterMapType |
Definition at line 91 of file G4MoleculeCounter.hh.
typedef stdunique_ptr<std::vector<G4MolecularConfiguration*> > G4MoleculeCounter::RecordedMolecules |
Definition at line 92 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 55 of file G4MoleculeCounter.cc.
References compDoubleWithPrecision::fPrecision, and picosecond.
|
protectedvirtual |
Definition at line 65 of file G4MoleculeCounter.cc.
|
virtual |
Definition at line 234 of file G4MoleculeCounter.cc.
References FatalException, compDoubleWithPrecision::fPrecision, G4BestUnit, G4cout, G4endl, G4Exception(), G4MolecularConfiguration::GetDefinition(), G4MolecularConfiguration::GetName(), and G4Scheduler::Instance().
Referenced by G4Molecule::BuildTrack().
|
inline |
Definition at line 192 of file G4MoleculeCounter.hh.
|
static |
Definition at line 83 of file G4MoleculeCounter.cc.
Referenced by G4DNAChemistryManager::Clear().
|
inlinevirtual |
Definition at line 224 of file G4MoleculeCounter.hh.
References fDontRegister.
void G4MoleculeCounter::Dump | ( | ) |
Definition at line 576 of file G4MoleculeCounter.cc.
References G4BestUnit, G4cout, G4endl, and G4MolecularConfiguration::GetName().
|
static |
Definition at line 69 of file G4MoleculeCounter.cc.
Referenced by G4Molecule::BuildTrack(), and G4Molecule::~G4Molecule().
|
inline |
Definition at line 209 of file G4MoleculeCounter.hh.
References fCounterMap.
int G4MoleculeCounter::GetNMoleculesAtTime | ( | G4MolecularConfiguration * | molecule, |
double | time | ||
) |
Definition at line 226 of file G4MoleculeCounter.cc.
G4MoleculeCounter::RecordedMolecules G4MoleculeCounter::GetRecordedMolecules | ( | ) |
Definition at line 509 of file G4MoleculeCounter.cc.
RecordedTimes G4MoleculeCounter::GetRecordedTimes | ( | ) |
Definition at line 526 of file G4MoleculeCounter.cc.
|
inline |
Definition at line 219 of file G4MoleculeCounter.hh.
References fVerbose.
void G4MoleculeCounter::Initialize | ( | ) |
Definition at line 97 of file G4MoleculeCounter.cc.
References G4MoleculeTable::GetConfigurationIterator(), G4MoleculeTable::Instance(), and G4MoleculeIterator< MOLECULE >::value().
|
static |
Definition at line 92 of file G4MoleculeCounter.cc.
Referenced by G4DNAChemistryManager::InitializeThread().
|
static |
Definition at line 76 of file G4MoleculeCounter.cc.
Referenced by G4DNAElectronHoleRecombination::MakeReaction(), and G4DNAChemistryManager::Run().
|
static |
Definition at line 49 of file G4MoleculeCounter.cc.
Referenced by G4Molecule::BuildTrack(), and G4DNAElectronHoleRecombination::MakeReaction().
|
inlinevirtual |
Definition at line 229 of file G4MoleculeCounter.hh.
References fDontRegister.
|
inline |
Definition at line 187 of file G4MoleculeCounter.hh.
References fCheckTimeIsConsistentWithScheduler.
|
inlinevirtual |
Definition at line 235 of file G4MoleculeCounter.hh.
References fDontRegister.
|
virtual |
Definition at line 334 of file G4MoleculeCounter.cc.
References FatalErrorInArgument, FatalException, compDoubleWithPrecision::fPrecision, G4BestUnit, G4cout, G4endl, G4Exception(), G4MolecularConfiguration::GetDefinition(), G4MolecularConfiguration::GetName(), G4Scheduler::Instance(), and G4MolecularConfiguration::PrintState().
Referenced by G4Molecule::~G4Molecule().
|
inlinevirtual |
Definition at line 198 of file G4MoleculeCounter.hh.
References fCounterMap, fpLastSearch, fVerbose, G4cout, and G4endl.
Referenced by G4DNAChemistryManager::Run().
G4bool G4MoleculeCounter::SearchTimeMap | ( | G4MolecularConfiguration * | molecule | ) |
Definition at line 114 of file G4MoleculeCounter.cc.
int G4MoleculeCounter::SearchUpperBoundTime | ( | double | time, |
bool | sameTypeOfMolecule | ||
) |
Definition at line 144 of file G4MoleculeCounter.cc.
void G4MoleculeCounter::SetTimeSlice | ( | double | timeSlice | ) |
Definition at line 109 of file G4MoleculeCounter.cc.
References compDoubleWithPrecision::fPrecision.
|
inline |
Definition at line 214 of file G4MoleculeCounter.hh.
References fVerbose.
|
static |
Definition at line 44 of file G4MoleculeCounter.cc.
|
friend |
Definition at line 133 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 112 of file G4MoleculeCounter.hh.
Referenced by IsTimeCheckedForConsistency().
|
protected |
Definition at line 107 of file G4MoleculeCounter.hh.
Referenced by GetNbMoleculeAgainstTime(), and ResetCounter().
|
protected |
Definition at line 108 of file G4MoleculeCounter.hh.
Referenced by DontRegister(), IsRegistered(), and RegisterAll().
|
staticprotected |
Definition at line 105 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 125 of file G4MoleculeCounter.hh.
Referenced by ResetCounter().
|
staticprotected |
Definition at line 109 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 111 of file G4MoleculeCounter.hh.
Referenced by GetVerbose(), ResetCounter(), and SetVerbose().