CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes | Private Member Functions

SimActivityRegistry Class Reference

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

List of all members.

Public Types

typedef sim_act::Signaler
< BeginOfEvent
BeginOfEventSignal
typedef sim_act::Signaler
< BeginOfJob
BeginOfJobSignal
typedef sim_act::Signaler
< BeginOfRun
BeginOfRunSignal
typedef sim_act::Signaler
< BeginOfTrack
BeginOfTrackSignal
typedef sim_act::Signaler
< DDDWorld
DDDWorldSignal
typedef sim_act::Signaler
< EndOfEvent
EndOfEventSignal
typedef sim_act::Signaler
< EndOfRun
EndOfRunSignal
typedef sim_act::Signaler
< EndOfTrack
EndOfTrackSignal
typedef sim_act::Signaler< G4Step > G4StepSignal

Public Member Functions

void connect (SimActivityRegistry &iOther)
 forwards our signals to slots connected to iOther
 SimActivityRegistry ()
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_

Private Member Functions

const SimActivityRegistryoperator= (const SimActivityRegistry &)
 SimActivityRegistry (const SimActivityRegistry &)

Detailed Description

Description: Holds the various signals emitted in the simulation framework

Usage: <usage>

Definition at line 44 of file SimActivityRegistry.h.


Member Typedef Documentation

Definition at line 72 of file SimActivityRegistry.h.

Definition at line 51 of file SimActivityRegistry.h.

Definition at line 65 of file SimActivityRegistry.h.

Definition at line 79 of file SimActivityRegistry.h.

Definition at line 58 of file SimActivityRegistry.h.

Definition at line 100 of file SimActivityRegistry.h.

Definition at line 93 of file SimActivityRegistry.h.

Definition at line 107 of file SimActivityRegistry.h.

Definition at line 86 of file SimActivityRegistry.h.


Constructor & Destructor Documentation

SimActivityRegistry::SimActivityRegistry ( ) [inline]

Definition at line 48 of file SimActivityRegistry.h.

{}
SimActivityRegistry::SimActivityRegistry ( const SimActivityRegistry ) [private]

Member Function Documentation

void SimActivityRegistry::connect ( SimActivityRegistry iOther)
const SimActivityRegistry& SimActivityRegistry::operator= ( const SimActivityRegistry ) [private]
void SimActivityRegistry::watchBeginOfEvent ( const BeginOfEventSignal::slot_type iSlot) [inline]

Definition at line 74 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

void SimActivityRegistry::watchBeginOfJob ( const BeginOfJobSignal::slot_type iSlot) [inline]
void SimActivityRegistry::watchBeginOfRun ( const BeginOfRunSignal::slot_type iSlot) [inline]

Definition at line 67 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

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

Definition at line 81 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

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

Definition at line 60 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

                                                              {
         dddWorldSignal_.connect(iSlot);
      }
void SimActivityRegistry::watchEndOfEvent ( const EndOfEventSignal::slot_type iSlot) [inline]

Definition at line 102 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

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

Definition at line 95 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

                                                              {
         endOfRunSignal_.connect(iSlot);
      }
void SimActivityRegistry::watchEndOfTrack ( const EndOfTrackSignal::slot_type iSlot) [inline]

Definition at line 109 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

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

Definition at line 88 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

                                                          {
         g4StepSignal_.connect(iSlot);
      }

Member Data Documentation

Definition at line 73 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 52 of file SimActivityRegistry.h.

Referenced by connect(), RunManager::initG4(), and watchBeginOfJob().

Definition at line 66 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 80 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 59 of file SimActivityRegistry.h.

Referenced by connect(), RunManager::initG4(), and GeometryProducer::produce().

Definition at line 101 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 94 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 108 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

Definition at line 87 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().