CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
SimActivityRegistry Class Reference

#include <SimG4Core/Notification/interface/SimActivityRegistry.h>

Public Types

typedef sim_act::Signaler< BeginOfEventBeginOfEventSignal
 
typedef sim_act::Signaler< BeginOfJobBeginOfJobSignal
 
typedef sim_act::Signaler< BeginOfRunBeginOfRunSignal
 
typedef sim_act::Signaler< BeginOfTrackBeginOfTrackSignal
 
typedef sim_act::Signaler< DDDWorldDDDWorldSignal
 
typedef sim_act::Signaler< EndOfEventEndOfEventSignal
 
typedef sim_act::Signaler< EndOfRunEndOfRunSignal
 
typedef sim_act::Signaler< EndOfTrackEndOfTrackSignal
 
typedef sim_act::Signaler< G4Step > G4StepSignal
 

Public Member Functions

void connect (Observer< const BeginOfJob *> *iObject)
 
void connect (Observer< const DDDWorld *> *iObject)
 
void connect (Observer< const BeginOfRun *> *iObject)
 
void connect (Observer< const BeginOfEvent *> *iObject)
 
void connect (Observer< const BeginOfTrack *> *iObject)
 
void connect (Observer< const G4Step *> *iObject)
 
void connect (Observer< const EndOfRun *> *iObject)
 
void connect (Observer< const EndOfEvent *> *iObject)
 
void connect (Observer< const EndOfTrack *> *iObject)
 
void connect (SimActivityRegistry &iOther)
 forwards our signals to slots connected to iOther More...
 
const SimActivityRegistryoperator= (const SimActivityRegistry &)=delete
 
 SimActivityRegistry ()
 
 SimActivityRegistry (const SimActivityRegistry &)=delete
 
void watchBeginOfEvent (const BeginOfEventSignal::slot_type &iSlot)
 
void watchBeginOfJob (const BeginOfJobSignal::slot_type &iSlot)
 
void watchBeginOfRun (const BeginOfRunSignal::slot_type &iSlot)
 
void watchBeginOfTrack (const BeginOfTrackSignal::slot_type &iSlot)
 
void watchDDDWorld (const DDDWorldSignal::slot_type &iSlot)
 
void watchEndOfEvent (const EndOfEventSignal::slot_type &iSlot)
 
void watchEndOfRun (const EndOfRunSignal::slot_type &iSlot)
 
void watchEndOfTrack (const EndOfTrackSignal::slot_type &iSlot)
 
void watchG4Step (const G4StepSignal::slot_type &iSlot)
 

Public Attributes

BeginOfEventSignal beginOfEventSignal_
 
BeginOfJobSignal beginOfJobSignal_
 
BeginOfRunSignal beginOfRunSignal_
 
BeginOfTrackSignal beginOfTrackSignal_
 
DDDWorldSignal dddWorldSignal_
 
EndOfEventSignal endOfEventSignal_
 
EndOfRunSignal endOfRunSignal_
 
EndOfTrackSignal endOfTrackSignal_
 
G4StepSignal g4StepSignal_
 

Detailed Description

Description: Holds the various signals emitted in the simulation framework

Usage: <usage>

Definition at line 39 of file SimActivityRegistry.h.

Member Typedef Documentation

◆ BeginOfEventSignal

Definition at line 59 of file SimActivityRegistry.h.

◆ BeginOfJobSignal

Definition at line 44 of file SimActivityRegistry.h.

◆ BeginOfRunSignal

Definition at line 54 of file SimActivityRegistry.h.

◆ BeginOfTrackSignal

Definition at line 64 of file SimActivityRegistry.h.

◆ DDDWorldSignal

Definition at line 49 of file SimActivityRegistry.h.

◆ EndOfEventSignal

Definition at line 79 of file SimActivityRegistry.h.

◆ EndOfRunSignal

Definition at line 74 of file SimActivityRegistry.h.

◆ EndOfTrackSignal

Definition at line 84 of file SimActivityRegistry.h.

◆ G4StepSignal

Definition at line 69 of file SimActivityRegistry.h.

Constructor & Destructor Documentation

◆ SimActivityRegistry() [1/2]

SimActivityRegistry::SimActivityRegistry ( )
inline

Definition at line 41 of file SimActivityRegistry.h.

41 {}

◆ SimActivityRegistry() [2/2]

SimActivityRegistry::SimActivityRegistry ( const SimActivityRegistry )
delete

Member Function Documentation

◆ connect() [1/10]

void SimActivityRegistry::connect ( Observer< const BeginOfJob *> *  iObject)
inline

◆ connect() [2/10]

void SimActivityRegistry::connect ( Observer< const DDDWorld *> *  iObject)
inline

Definition at line 52 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [3/10]

void SimActivityRegistry::connect ( Observer< const BeginOfRun *> *  iObject)
inline

Definition at line 57 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [4/10]

void SimActivityRegistry::connect ( Observer< const BeginOfEvent *> *  iObject)
inline

Definition at line 62 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [5/10]

void SimActivityRegistry::connect ( Observer< const BeginOfTrack *> *  iObject)
inline

Definition at line 67 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [6/10]

void SimActivityRegistry::connect ( Observer< const G4Step *> *  iObject)
inline

Definition at line 72 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [7/10]

void SimActivityRegistry::connect ( Observer< const EndOfRun *> *  iObject)
inline

Definition at line 77 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [8/10]

void SimActivityRegistry::connect ( Observer< const EndOfEvent *> *  iObject)
inline

Definition at line 82 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [9/10]

void SimActivityRegistry::connect ( Observer< const EndOfTrack *> *  iObject)
inline

Definition at line 87 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [10/10]

void SimActivityRegistry::connect ( SimActivityRegistry iOther)

forwards our signals to slots connected to iOther

Definition at line 57 of file SimActivityRegistry.cc.

References beginOfEventSignal_, beginOfJobSignal_, beginOfRunSignal_, beginOfTrackSignal_, sim_act::Signaler< T >::connect(), dddWorldSignal_, endOfEventSignal_, endOfRunSignal_, endOfTrackSignal_, and g4StepSignal_.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

57  {
64 
68 }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
EndOfEventSignal endOfEventSignal_
BeginOfRunSignal beginOfRunSignal_
BeginOfJobSignal beginOfJobSignal_
BeginOfEventSignal beginOfEventSignal_
EndOfRunSignal endOfRunSignal_
DDDWorldSignal dddWorldSignal_
EndOfTrackSignal endOfTrackSignal_
BeginOfTrackSignal beginOfTrackSignal_

◆ operator=()

const SimActivityRegistry& SimActivityRegistry::operator= ( const SimActivityRegistry )
delete

◆ watchBeginOfEvent()

void SimActivityRegistry::watchBeginOfEvent ( const BeginOfEventSignal::slot_type iSlot)
inline

Definition at line 61 of file SimActivityRegistry.h.

References beginOfEventSignal_, and sim_act::Signaler< T >::connect().

61 { beginOfEventSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
BeginOfEventSignal beginOfEventSignal_

◆ watchBeginOfJob()

void SimActivityRegistry::watchBeginOfJob ( const BeginOfJobSignal::slot_type iSlot)
inline

Definition at line 46 of file SimActivityRegistry.h.

References beginOfJobSignal_, and sim_act::Signaler< T >::connect().

46 { beginOfJobSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
BeginOfJobSignal beginOfJobSignal_

◆ watchBeginOfRun()

void SimActivityRegistry::watchBeginOfRun ( const BeginOfRunSignal::slot_type iSlot)
inline

Definition at line 56 of file SimActivityRegistry.h.

References beginOfRunSignal_, and sim_act::Signaler< T >::connect().

56 { beginOfRunSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
BeginOfRunSignal beginOfRunSignal_

◆ watchBeginOfTrack()

void SimActivityRegistry::watchBeginOfTrack ( const BeginOfTrackSignal::slot_type iSlot)
inline

Definition at line 66 of file SimActivityRegistry.h.

References beginOfTrackSignal_, and sim_act::Signaler< T >::connect().

66 { beginOfTrackSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
BeginOfTrackSignal beginOfTrackSignal_

◆ watchDDDWorld()

void SimActivityRegistry::watchDDDWorld ( const DDDWorldSignal::slot_type iSlot)
inline

Definition at line 51 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect(), and dddWorldSignal_.

51 { dddWorldSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
DDDWorldSignal dddWorldSignal_

◆ watchEndOfEvent()

void SimActivityRegistry::watchEndOfEvent ( const EndOfEventSignal::slot_type iSlot)
inline

Definition at line 81 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect(), and endOfEventSignal_.

81 { endOfEventSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
EndOfEventSignal endOfEventSignal_

◆ watchEndOfRun()

void SimActivityRegistry::watchEndOfRun ( const EndOfRunSignal::slot_type iSlot)
inline

Definition at line 76 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect(), and endOfRunSignal_.

76 { endOfRunSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
EndOfRunSignal endOfRunSignal_

◆ watchEndOfTrack()

void SimActivityRegistry::watchEndOfTrack ( const EndOfTrackSignal::slot_type iSlot)
inline

Definition at line 86 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect(), and endOfTrackSignal_.

86 { endOfTrackSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55
EndOfTrackSignal endOfTrackSignal_

◆ watchG4Step()

void SimActivityRegistry::watchG4Step ( const G4StepSignal::slot_type iSlot)
inline

Definition at line 71 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect(), and g4StepSignal_.

71 { g4StepSignal_.connect(iSlot); }
void connect(Observer< const T *> *iObs)
does not take ownership of memory
Definition: Signaler.h:55

Member Data Documentation

◆ beginOfEventSignal_

BeginOfEventSignal SimActivityRegistry::beginOfEventSignal_

Definition at line 60 of file SimActivityRegistry.h.

Referenced by connect(), and watchBeginOfEvent().

◆ beginOfJobSignal_

BeginOfJobSignal SimActivityRegistry::beginOfJobSignal_

Definition at line 45 of file SimActivityRegistry.h.

Referenced by connect(), and watchBeginOfJob().

◆ beginOfRunSignal_

BeginOfRunSignal SimActivityRegistry::beginOfRunSignal_

Definition at line 55 of file SimActivityRegistry.h.

Referenced by RunManagerMT::Connect(), connect(), and watchBeginOfRun().

◆ beginOfTrackSignal_

BeginOfTrackSignal SimActivityRegistry::beginOfTrackSignal_

Definition at line 65 of file SimActivityRegistry.h.

Referenced by connect(), and watchBeginOfTrack().

◆ dddWorldSignal_

DDDWorldSignal SimActivityRegistry::dddWorldSignal_

◆ endOfEventSignal_

EndOfEventSignal SimActivityRegistry::endOfEventSignal_

Definition at line 80 of file SimActivityRegistry.h.

Referenced by connect(), and watchEndOfEvent().

◆ endOfRunSignal_

EndOfRunSignal SimActivityRegistry::endOfRunSignal_

Definition at line 75 of file SimActivityRegistry.h.

Referenced by RunManagerMT::Connect(), connect(), and watchEndOfRun().

◆ endOfTrackSignal_

EndOfTrackSignal SimActivityRegistry::endOfTrackSignal_

Definition at line 85 of file SimActivityRegistry.h.

Referenced by connect(), and watchEndOfTrack().

◆ g4StepSignal_

G4StepSignal SimActivityRegistry::g4StepSignal_

Definition at line 70 of file SimActivityRegistry.h.

Referenced by connect(), and watchG4Step().