CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
SimWatcher Class Reference

#include <SimG4Core/Watcher/interface/SimWatcher.h>

Inheritance diagram for SimWatcher:
BscTest CastorShowerLibraryMaker CastorTestAnalysis CheckOverlap CheckSecondary CountProcessesAction DoCastorAnalysis EcalTBH4Trigger FP420Test G4StepStatistics GflashG4Watcher HGCalTBMB KillSecondariesRunAction KillSecondariesTrackAction LaserAlignmentSimulation MaterialBudget MaterialBudgetAction MaterialBudgetForward MaterialBudgetHcal MonopoleSteppingAction PrintG4Solids PrintG4Touch PrintGeomInfoAction PrintGeomSummary PrintMaterialBudgetInfo PrintMTDSens PrintSensitive PrintTrackNumberAction SaveSimTrack SimProducer SimTracer TrackingVerboseAction ZdcTestAnalysis

Public Member Functions

virtual void beginRun (edm::EventSetup const &)
 
bool isMT () const
 
const SimWatcheroperator= (const SimWatcher &)=delete
 
virtual void registerConsumes (edm::ConsumesCollector)
 
 SimWatcher ()
 
 SimWatcher (const SimWatcher &)=delete
 
virtual ~SimWatcher ()
 

Protected Member Functions

void setMT (bool val)
 

Private Attributes

bool applicableForMT {false}
 

Detailed Description

Description: Base class for classes that 'watch' what OscarProducer does internally

Usage: By itself, this class actually does nothing except allow dynamic loading into the OscarProducer. To do useful work, one must inherit from this class and one or more 'Observer<T>' classes.

Definition at line 27 of file SimWatcher.h.

Constructor & Destructor Documentation

◆ SimWatcher() [1/2]

SimWatcher::SimWatcher ( )
inline

Definition at line 29 of file SimWatcher.h.

29 {}

◆ ~SimWatcher()

virtual SimWatcher::~SimWatcher ( )
inlinevirtual

Definition at line 30 of file SimWatcher.h.

30 {}

◆ SimWatcher() [2/2]

SimWatcher::SimWatcher ( const SimWatcher )
delete

Member Function Documentation

◆ beginRun()

virtual void SimWatcher::beginRun ( edm::EventSetup const &  )
inlinevirtual

◆ isMT()

bool SimWatcher::isMT ( ) const
inline

Definition at line 37 of file SimWatcher.h.

References applicableForMT.

37 { return applicableForMT; }
bool applicableForMT
Definition: SimWatcher.h:47

◆ operator=()

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

◆ registerConsumes()

virtual void SimWatcher::registerConsumes ( edm::ConsumesCollector  )
inlinevirtual

◆ setMT()

void SimWatcher::setMT ( bool  val)
inlineprotected

Member Data Documentation

◆ applicableForMT

bool SimWatcher::applicableForMT {false}
private

Definition at line 47 of file SimWatcher.h.

Referenced by isMT(), and setMT().