Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4MoleculeCounter.hh>
Classes | |
struct | Search |
Public Types | |
using | ReactantList = std::vector< Reactant * > |
using | CounterMapType = std::map< Reactant *, NbMoleculeAgainstTime > |
using | RecordedMolecules = std::unique_ptr< ReactantList > |
Public Types inherited from G4VMoleculeCounter | |
using | Reactant = const G4MolecularConfiguration |
Static Public Member Functions | |
static G4MoleculeCounter * | Instance () |
static void | SetTimeSlice (double) |
Static Public Member Functions inherited from G4VMoleculeCounter | |
static void | SetInstance (G4VMoleculeCounter *) |
static void | DeleteInstance () |
static G4VMoleculeCounter * | Instance () |
static void | InitializeInstance () |
Protected Member Functions | |
void | AddAMoleculeAtTime (Reactant *, G4double time, const G4ThreeVector *position=nullptr, int number=1) override |
void | RemoveAMoleculeAtTime (Reactant *, G4double time, const G4ThreeVector *position=nullptr, int number=1) override |
G4bool | SearchTimeMap (Reactant *molecule) |
int | SearchUpperBoundTime (double time, bool sameTypeOfMolecule) |
G4MoleculeCounter () | |
~G4MoleculeCounter () override | |
Protected Member Functions inherited from G4VMoleculeCounter | |
G4VMoleculeCounter ()=default | |
virtual | ~G4VMoleculeCounter ()=default |
Protected Attributes | |
CounterMapType | fCounterMap |
std::map< const G4MoleculeDefinition *, G4bool > | fDontRegister |
G4int | fVerbose |
G4bool | fCheckTimeIsConsistentWithScheduler |
std::unique_ptr< Search > | fpLastSearch |
Protected Attributes inherited from G4VMoleculeCounter | |
G4bool | fUse = false |
Friends | |
class | G4Molecule |
class | G4VMoleculeCounter |
Additional Inherited Members | |
Static Protected Attributes inherited from G4VMoleculeCounter | |
static G4ThreadLocal G4VMoleculeCounter * | fpInstance = nullptr |
Definition at line 69 of file G4MoleculeCounter.hh.
using G4MoleculeCounter::CounterMapType = std::map<Reactant*, NbMoleculeAgainstTime> |
Definition at line 74 of file G4MoleculeCounter.hh.
using G4MoleculeCounter::ReactantList = std::vector<Reactant*> |
Definition at line 73 of file G4MoleculeCounter.hh.
using G4MoleculeCounter::RecordedMolecules = std::unique_ptr<ReactantList> |
Definition at line 75 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 71 of file G4MoleculeCounter.cc.
Referenced by Instance().
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Implements G4VMoleculeCounter.
Definition at line 208 of file G4MoleculeCounter.cc.
void G4MoleculeCounter::CheckTimeForConsistency | ( | G4bool | flag | ) |
Definition at line 509 of file G4MoleculeCounter.cc.
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 481 of file G4MoleculeCounter.cc.
void G4MoleculeCounter::Dump | ( | ) |
Definition at line 430 of file G4MoleculeCounter.cc.
Referenced by RemoveAMoleculeAtTime().
const NbMoleculeAgainstTime & G4MoleculeCounter::GetNbMoleculeAgainstTime | ( | Reactant * | molecule | ) |
Definition at line 460 of file G4MoleculeCounter.cc.
int G4MoleculeCounter::GetNMoleculesAtTime | ( | Reactant * | molecule, |
double | time | ||
) |
Definition at line 199 of file G4MoleculeCounter.cc.
Referenced by G4DNAEventScheduler::ClearAndReChargeCounter().
G4MoleculeCounter::RecordedMolecules G4MoleculeCounter::GetRecordedMolecules | ( | ) |
Definition at line 370 of file G4MoleculeCounter.cc.
Referenced by G4DNAEventScheduler::ClearAndReChargeCounter().
RecordedTimes G4MoleculeCounter::GetRecordedTimes | ( | ) |
Definition at line 388 of file G4MoleculeCounter.cc.
G4int G4MoleculeCounter::GetVerbose | ( | ) |
Definition at line 474 of file G4MoleculeCounter.cc.
|
overridevirtual |
Implements G4VMoleculeCounter.
Definition at line 83 of file G4MoleculeCounter.cc.
|
static |
Definition at line 60 of file G4MoleculeCounter.cc.
Referenced by G4DNAEventScheduler::ClearAndReChargeCounter().
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 488 of file G4MoleculeCounter.cc.
Referenced by Initialize().
G4bool G4MoleculeCounter::IsTimeCheckedForConsistency | ( | ) | const |
Definition at line 504 of file G4MoleculeCounter.cc.
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 499 of file G4MoleculeCounter.cc.
|
overrideprotectedvirtual |
Implements G4VMoleculeCounter.
Definition at line 268 of file G4MoleculeCounter.cc.
|
overridevirtual |
Implements G4VMoleculeCounter.
Definition at line 448 of file G4MoleculeCounter.cc.
Referenced by G4DNAEventScheduler::ClearAndReChargeCounter().
Definition at line 106 of file G4MoleculeCounter.cc.
Referenced by GetNMoleculesAtTime().
|
protected |
Definition at line 140 of file G4MoleculeCounter.cc.
Referenced by GetNMoleculesAtTime().
|
static |
Definition at line 99 of file G4MoleculeCounter.cc.
void G4MoleculeCounter::SetVerbose | ( | G4int | level | ) |
Definition at line 467 of file G4MoleculeCounter.cc.
|
friend |
Definition at line 148 of file G4MoleculeCounter.hh.
|
friend |
Definition at line 149 of file G4MoleculeCounter.hh.
|
protected |
Definition at line 133 of file G4MoleculeCounter.hh.
Referenced by CheckTimeForConsistency(), G4MoleculeCounter(), IsTimeCheckedForConsistency(), and RemoveAMoleculeAtTime().
|
protected |
Definition at line 129 of file G4MoleculeCounter.hh.
Referenced by AddAMoleculeAtTime(), Dump(), GetNbMoleculeAgainstTime(), GetRecordedMolecules(), GetRecordedTimes(), Initialize(), RemoveAMoleculeAtTime(), ResetCounter(), SearchTimeMap(), and SearchUpperBoundTime().
|
protected |
Definition at line 130 of file G4MoleculeCounter.hh.
Referenced by AddAMoleculeAtTime(), DontRegister(), IsRegistered(), RegisterAll(), and RemoveAMoleculeAtTime().
|
protected |
Definition at line 146 of file G4MoleculeCounter.hh.
Referenced by ResetCounter(), SearchTimeMap(), and SearchUpperBoundTime().
|
protected |
Definition at line 132 of file G4MoleculeCounter.hh.
Referenced by AddAMoleculeAtTime(), G4MoleculeCounter(), GetRecordedMolecules(), GetVerbose(), RemoveAMoleculeAtTime(), ResetCounter(), and SetVerbose().