ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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 |
Public Member Functions | |
void | Initialize () override |
void | ResetCounter () override |
void | DontRegister (const G4MoleculeDefinition *) override |
bool | IsRegistered (const G4MoleculeDefinition *) override |
void | RegisterAll () override |
int | GetNMoleculesAtTime (Reactant *molecule, double time) |
const NbMoleculeAgainstTime & | GetNbMoleculeAgainstTime (Reactant *molecule) |
RecordedMolecules | GetRecordedMolecules () |
RecordedTimes | GetRecordedTimes () |
void | SetVerbose (G4int) |
G4int | GetVerbose () |
void | Dump () |
G4bool | IsTimeCheckedForConsistency () const |
void | CheckTimeForConsistency (G4bool flag) |
Public Member Functions inherited from G4VMoleculeCounter | |
virtual void | AddAMoleculeAtTime (Reactant *, G4double time, const G4ThreeVector *position=nullptr, int number=1)=0 |
virtual void | RemoveAMoleculeAtTime (Reactant *, G4double time, const G4ThreeVector *position=nullptr, int number=1)=0 |
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 () |
static void | Use (G4bool flag=true) |
static G4bool | InUse () |
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 |
Friends | |
class | G4Molecule |
class | G4VMoleculeCounter |
Additional Inherited Members | |
Static Protected Attributes inherited from G4VMoleculeCounter | |
static G4ThreadLocal G4VMoleculeCounter * | fpInstance = nullptr |
static G4bool | fUse = false |
Definition at line 69 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 69 of file G4MoleculeCounter.hh
using G4MoleculeCounter::CounterMapType = std::map<Reactant*, NbMoleculeAgainstTime> |
Definition at line 74 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 74 of file G4MoleculeCounter.hh
using G4MoleculeCounter::ReactantList = std::vector<Reactant*> |
Definition at line 73 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 73 of file G4MoleculeCounter.hh
using G4MoleculeCounter::RecordedMolecules = std::unique_ptr<ReactantList> |
Definition at line 75 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 75 of file G4MoleculeCounter.hh
|
protected |
Definition at line 71 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 71 of file G4MoleculeCounter.cc
|
overrideprotecteddefault |
|
overrideprotected |
Definition at line 208 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 208 of file G4MoleculeCounter.cc
References FatalException, G4::MoleculeCounter::TimePrecision::fPrecision, G4BestUnit, G4cout, G4endl, G4Exception(), G4MolecularConfiguration::GetDefinition(), G4MolecularConfiguration::GetName(), G4Scheduler::Instance(), molecule(), and Acts::VectorHelpers::time().
Definition at line 509 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 509 of file G4MoleculeCounter.cc
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 481 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 481 of file G4MoleculeCounter.cc
void G4MoleculeCounter::Dump | ( | ) |
Definition at line 430 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 430 of file G4MoleculeCounter.cc
References G4BestUnit, G4cout, G4endl, and it.
const NbMoleculeAgainstTime & G4MoleculeCounter::GetNbMoleculeAgainstTime | ( | Reactant * | molecule | ) |
Definition at line 460 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 460 of file G4MoleculeCounter.cc
References molecule().
Definition at line 199 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 199 of file G4MoleculeCounter.cc
Referenced by ScoreSpecies::EndOfEvent().
G4MoleculeCounter::RecordedMolecules G4MoleculeCounter::GetRecordedMolecules | ( | ) |
Definition at line 370 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 370 of file G4MoleculeCounter.cc
References G4cout, G4endl, and it.
Referenced by ScoreSpecies::EndOfEvent().
RecordedTimes G4MoleculeCounter::GetRecordedTimes | ( | ) |
Definition at line 388 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 388 of file G4MoleculeCounter.cc
References it.
G4int G4MoleculeCounter::GetVerbose | ( | ) |
Definition at line 474 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 474 of file G4MoleculeCounter.cc
|
overridevirtual |
Implements G4VMoleculeCounter.
Definition at line 83 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 83 of file G4MoleculeCounter.cc
References G4MoleculeTable::GetConfigurationIterator(), and G4MoleculeTable::Instance().
|
static |
Definition at line 60 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 60 of file G4MoleculeCounter.cc
Referenced by ScoreSpecies::EndOfEvent().
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 488 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 488 of file G4MoleculeCounter.cc
G4bool G4MoleculeCounter::IsTimeCheckedForConsistency | ( | ) | const |
Definition at line 504 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 504 of file G4MoleculeCounter.cc
|
overridevirtual |
Reimplemented from G4VMoleculeCounter.
Definition at line 499 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 499 of file G4MoleculeCounter.cc
|
overrideprotected |
Definition at line 268 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 268 of file G4MoleculeCounter.cc
References FatalErrorInArgument, FatalException, G4::MoleculeCounter::TimePrecision::fPrecision, G4BestUnit, G4cout, G4endl, G4Exception(), G4MolecularConfiguration::GetDefinition(), G4MolecularConfiguration::GetName(), G4Scheduler::Instance(), it, G4MolecularConfiguration::PrintState(), and Acts::VectorHelpers::time().
|
overridevirtual |
Implements G4VMoleculeCounter.
Definition at line 448 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 448 of file G4MoleculeCounter.cc
References G4cout, and G4endl.
Referenced by ScoreSpecies::EndOfEvent().
Definition at line 106 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 106 of file G4MoleculeCounter.cc
|
protected |
Definition at line 140 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 140 of file G4MoleculeCounter.cc
|
static |
Definition at line 99 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 99 of file G4MoleculeCounter.cc
References G4::MoleculeCounter::TimePrecision::fPrecision.
Definition at line 467 of file G4MoleculeCounter.cc.
View newest version in sPHENIX GitHub at line 467 of file G4MoleculeCounter.cc
|
friend |
Definition at line 148 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 148 of file G4MoleculeCounter.hh
|
friend |
Definition at line 149 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 149 of file G4MoleculeCounter.hh
|
protected |
Definition at line 133 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 133 of file G4MoleculeCounter.hh
|
protected |
Definition at line 129 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 129 of file G4MoleculeCounter.hh
|
protected |
Definition at line 130 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 130 of file G4MoleculeCounter.hh
|
protected |
Definition at line 146 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 146 of file G4MoleculeCounter.hh
|
protected |
Definition at line 132 of file G4MoleculeCounter.hh.
View newest version in sPHENIX GitHub at line 132 of file G4MoleculeCounter.hh