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 PrintGeomInfoAction PrintGeomSummary PrintMaterialBudgetInfo 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.

A class that inherits from OscarProducer must have a constructor that takes

a 'const edm::ParameterSet&' as its only argument. This constructor will be called by the dynamic loading code.

Definition at line 30 of file SimWatcher.h.

Constructor & Destructor Documentation

◆ SimWatcher() [1/2]

SimWatcher::SimWatcher ( )
inline

Definition at line 32 of file SimWatcher.h.

32 {}

◆ ~SimWatcher()

virtual SimWatcher::~SimWatcher ( )
inlinevirtual

Definition at line 33 of file SimWatcher.h.

33 {}

◆ 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 40 of file SimWatcher.h.

References applicableForMT.

40 { return applicableForMT; }
bool applicableForMT
Definition: SimWatcher.h:50

◆ operator=()

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

◆ registerConsumes()

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

◆ setMT()

void SimWatcher::setMT ( bool  val)
inlineprotected

Definition at line 47 of file SimWatcher.h.

References applicableForMT, and heppy_batch::val.

Referenced by EcalSimHitsValidProducer::EcalSimHitsValidProducer().

47 { applicableForMT = val; }
bool applicableForMT
Definition: SimWatcher.h:50

Member Data Documentation

◆ applicableForMT

bool SimWatcher::applicableForMT {false}
private

Definition at line 50 of file SimWatcher.h.

Referenced by isMT(), and setMT().