DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dd4hep::sim::Geant4SensDetSequences Class Reference

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...
 
Geant4SensDetActionSequenceoperator[] (const std::string &name) const
 Access sequence member by name. More...
 
Geant4SensDetActionSequencefind (const std::string &name) const
 Access sequence member by name. More...
 
Memberssequences ()
 Access to the members. More...
 
const Memberssequences () 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
 

Detailed Description

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.

Author
M.Frank
Version
1.0

Definition at line 464 of file Geant4SensDetAction.h.

Member Typedef Documentation

◆ Members

Definition at line 468 of file Geant4SensDetAction.h.

Constructor & Destructor Documentation

◆ Geant4SensDetSequences()

dd4hep::sim::Geant4SensDetSequences::Geant4SensDetSequences ( )
default

Default constructor.

◆ ~Geant4SensDetSequences()

Geant4SensDetSequences::~Geant4SensDetSequences ( )
virtual

Default destructor.

Definition at line 496 of file Geant4SensDetAction.cpp.

Member Function Documentation

◆ clear()

void Geant4SensDetSequences::clear ( )

Clear the sequence list.

Definition at line 532 of file Geant4SensDetAction.cpp.

◆ find()

Geant4SensDetActionSequence * Geant4SensDetSequences::find ( const std::string &  name) const

Access sequence member by name.

Definition at line 512 of file Geant4SensDetAction.cpp.

◆ insert()

void Geant4SensDetSequences::insert ( const std::string &  name,
Geant4SensDetActionSequence seq 
)
private

Insert sequence member.

Definition at line 521 of file Geant4SensDetAction.cpp.

◆ operator[]()

Geant4SensDetActionSequence * Geant4SensDetSequences::operator[] ( const std::string &  name) const

Access sequence member by name.

Definition at line 502 of file Geant4SensDetAction.cpp.

◆ sequences() [1/2]

Members& dd4hep::sim::Geant4SensDetSequences::sequences ( )
inline

Access to the members.

Definition at line 484 of file Geant4SensDetAction.h.

◆ sequences() [2/2]

const Members& dd4hep::sim::Geant4SensDetSequences::sequences ( ) const
inline

Access to the members CONST.

Definition at line 488 of file Geant4SensDetAction.h.

Friends And Related Function Documentation

◆ Geant4ActionContainer

friend class Geant4ActionContainer
friend

Definition at line 466 of file Geant4SensDetAction.h.

◆ Geant4SensDetActionSequence

friend class Geant4SensDetActionSequence
friend

Definition at line 467 of file Geant4SensDetAction.h.

Member Data Documentation

◆ m_sequences

Members dd4hep::sim::Geant4SensDetSequences::m_sequences
private

Definition at line 470 of file Geant4SensDetAction.h.


The documentation for this class was generated from the following files: