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 BeginOfEvent * > *iObject)
 
void connect (Observer< const BeginOfJob * > *iObject)
 
void connect (Observer< const BeginOfRun * > *iObject)
 
void connect (Observer< const BeginOfTrack * > *iObject)
 
void connect (Observer< const DDDWorld * > *iObject)
 
void connect (Observer< const EndOfEvent * > *iObject)
 
void connect (Observer< const EndOfRun * > *iObject)
 
void connect (Observer< const EndOfTrack * > *iObject)
 
void connect (Observer< const G4Step * > *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 BeginOfEvent * > *  iObject)
inline

Definition at line 62 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [2/10]

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

◆ 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 BeginOfTrack * > *  iObject)
inline

Definition at line 67 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [5/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() [6/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() [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 EndOfTrack * > *  iObject)
inline

Definition at line 87 of file SimActivityRegistry.h.

Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().

◆ connect() [9/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() [10/10]

void SimActivityRegistry::connect ( SimActivityRegistry iOther)

◆ 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.

61 { beginOfEventSignal_.connect(iSlot); }

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

◆ watchBeginOfJob()

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

Definition at line 46 of file SimActivityRegistry.h.

46 { beginOfJobSignal_.connect(iSlot); }

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

◆ watchBeginOfRun()

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

Definition at line 56 of file SimActivityRegistry.h.

56 { beginOfRunSignal_.connect(iSlot); }

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

◆ watchBeginOfTrack()

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

Definition at line 66 of file SimActivityRegistry.h.

66 { beginOfTrackSignal_.connect(iSlot); }

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

◆ watchDDDWorld()

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

Definition at line 51 of file SimActivityRegistry.h.

51 { dddWorldSignal_.connect(iSlot); }

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

◆ watchEndOfEvent()

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

Definition at line 81 of file SimActivityRegistry.h.

81 { endOfEventSignal_.connect(iSlot); }

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

◆ watchEndOfRun()

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

Definition at line 76 of file SimActivityRegistry.h.

76 { endOfRunSignal_.connect(iSlot); }

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

◆ watchEndOfTrack()

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

Definition at line 86 of file SimActivityRegistry.h.

86 { endOfTrackSignal_.connect(iSlot); }

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

◆ watchG4Step()

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

Definition at line 71 of file SimActivityRegistry.h.

71 { g4StepSignal_.connect(iSlot); }

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

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().

SimActivityRegistry::endOfEventSignal_
EndOfEventSignal endOfEventSignal_
Definition: SimActivityRegistry.h:80
SimActivityRegistry::dddWorldSignal_
DDDWorldSignal dddWorldSignal_
Definition: SimActivityRegistry.h:50
SimActivityRegistry::g4StepSignal_
G4StepSignal g4StepSignal_
Definition: SimActivityRegistry.h:70
sim_act::Signaler::connect
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:55
SimActivityRegistry::endOfTrackSignal_
EndOfTrackSignal endOfTrackSignal_
Definition: SimActivityRegistry.h:85
SimActivityRegistry::beginOfEventSignal_
BeginOfEventSignal beginOfEventSignal_
Definition: SimActivityRegistry.h:60
SimActivityRegistry::endOfRunSignal_
EndOfRunSignal endOfRunSignal_
Definition: SimActivityRegistry.h:75
SimActivityRegistry::beginOfJobSignal_
BeginOfJobSignal beginOfJobSignal_
Definition: SimActivityRegistry.h:45
SimActivityRegistry::beginOfTrackSignal_
BeginOfTrackSignal beginOfTrackSignal_
Definition: SimActivityRegistry.h:65
SimActivityRegistry::beginOfRunSignal_
BeginOfRunSignal beginOfRunSignal_
Definition: SimActivityRegistry.h:55