CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
RHStopTracer Class Reference

#include <RHStopTracer.h>

Inheritance diagram for RHStopTracer:
SimProducer Observer< const BeginOfRun * > Observer< const BeginOfEvent * > Observer< const BeginOfTrack * > Observer< const EndOfTrack * > SimWatcher

Classes

struct  StopPoint
 

Public Member Functions

void produce (edm::Event &, const edm::EventSetup &)
 
 RHStopTracer (edm::ParameterSet const &p)
 
void update (const BeginOfRun *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfEvent *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfTrack *)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const EndOfTrack *)
 This routine will be called when the appropriate signal arrives. More...
 
virtual ~RHStopTracer ()
 
- Public Member Functions inherited from SimProducer
void registerProducts (edm::ProducerBase &iProd)
 
 SimProducer ()
 
- Public Member Functions inherited from SimWatcher
 SimWatcher ()
 
virtual ~SimWatcher ()
 
- Public Member Functions inherited from Observer< const BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfTrack * >
 Observer ()
 
void slotForUpdate (const BeginOfTrack *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfTrack * >
 Observer ()
 
void slotForUpdate (const EndOfTrack *iT)
 
virtual ~Observer ()
 

Private Member Functions

bool matched (const std::string &fName) const
 

Private Attributes

std::vector< StopPointmStopPoints
 
bool mStopRegular
 
double mTraceEnergy
 
boost::regex mTraceParticleNameRegex
 

Additional Inherited Members

- Protected Member Functions inherited from SimProducer
template<class T >
void produces ()
 
template<class T >
void produces (const std::string &instanceName)
 

Detailed Description

Definition at line 15 of file RHStopTracer.h.

Constructor & Destructor Documentation

RHStopTracer::RHStopTracer ( edm::ParameterSet const &  p)

Definition at line 18 of file RHStopTracer.cc.

RHStopTracer::~RHStopTracer ( )
virtual

Definition at line 36 of file RHStopTracer.cc.

Member Function Documentation

bool RHStopTracer::matched ( const std::string &  fName) const
private

Definition at line 92 of file RHStopTracer.cc.

void RHStopTracer::produce ( edm::Event fEvent,
const edm::EventSetup  
)
virtual

Implements SimProducer.

Definition at line 96 of file RHStopTracer.cc.

void RHStopTracer::update ( const BeginOfRun )
virtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 39 of file RHStopTracer.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void RHStopTracer::update ( const BeginOfEvent )
virtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 43 of file RHStopTracer.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void RHStopTracer::update ( const BeginOfTrack )
virtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfTrack * >.

Definition at line 47 of file RHStopTracer.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void RHStopTracer::update ( const EndOfTrack )
virtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfTrack * >.

Definition at line 66 of file RHStopTracer.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

Member Data Documentation

std::vector<StopPoint> RHStopTracer::mStopPoints
private

Definition at line 46 of file RHStopTracer.h.

bool RHStopTracer::mStopRegular
private

Definition at line 43 of file RHStopTracer.h.

double RHStopTracer::mTraceEnergy
private

Definition at line 44 of file RHStopTracer.h.

boost::regex RHStopTracer::mTraceParticleNameRegex
private

Definition at line 45 of file RHStopTracer.h.