![]() |
DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
|
Geant4SensDetSequences: class to access groups of sensitive actions. More...
#include <Geant4SensDetAction.h>
Public Types | |
typedef std::map< std::string, Geant4SensDetActionSequence * > | Members |
Public Member Functions | |
Geant4SensDetSequences ()=default | |
Default constructor. More... | |
virtual | ~Geant4SensDetSequences () |
Default destructor. More... | |
Geant4SensDetActionSequence * | operator[] (const std::string &name) const |
Access sequence member by name. More... | |
Geant4SensDetActionSequence * | find (const std::string &name) const |
Access sequence member by name. More... | |
Members & | sequences () |
Access to the members. More... | |
const Members & | sequences () const |
Access to the members CONST. More... | |
void | clear () |
Clear the sequence list. More... | |
Private Member Functions | |
void | insert (const std::string &name, Geant4SensDetActionSequence *seq) |
Insert sequence member. More... | |
Private Attributes | |
Members | m_sequences |
Friends | |
class | Geant4ActionContainer |
class | Geant4SensDetActionSequence |
Geant4SensDetSequences: class to access groups of sensitive actions.
Concrete implementation of the sensitive detector action sequence
Note Multi-Threading issue: Neither callbacks not the action list is protected against multiple threads calling the Geant4 callbacks! These must be protected in the user actions themselves.
Definition at line 464 of file Geant4SensDetAction.h.
typedef std::map<std::string, Geant4SensDetActionSequence*> dd4hep::sim::Geant4SensDetSequences::Members |
Definition at line 468 of file Geant4SensDetAction.h.
|
default |
Default constructor.
|
virtual |
Default destructor.
Definition at line 501 of file Geant4SensDetAction.cpp.
void Geant4SensDetSequences::clear | ( | ) |
Clear the sequence list.
Definition at line 537 of file Geant4SensDetAction.cpp.
Geant4SensDetActionSequence * Geant4SensDetSequences::find | ( | const std::string & | name | ) | const |
Access sequence member by name.
Definition at line 517 of file Geant4SensDetAction.cpp.
|
private |
Insert sequence member.
Definition at line 526 of file Geant4SensDetAction.cpp.
Geant4SensDetActionSequence * Geant4SensDetSequences::operator[] | ( | const std::string & | name | ) | const |
Access sequence member by name.
Definition at line 507 of file Geant4SensDetAction.cpp.
|
inline |
Access to the members.
Definition at line 484 of file Geant4SensDetAction.h.
|
inline |
Access to the members CONST.
Definition at line 488 of file Geant4SensDetAction.h.
|
friend |
Definition at line 466 of file Geant4SensDetAction.h.
|
friend |
Definition at line 467 of file Geant4SensDetAction.h.
|
private |
Definition at line 470 of file Geant4SensDetAction.h.