CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Protected Attributes
ParticleReplacerBase Class Referenceabstract

#include <TauAnalysis/MCEmbeddingTools/src/ParticleReplacerBase.cc>

Inheritance diagram for ParticleReplacerBase:
ParticleReplacerClass ParticleReplacerParticleGun

Public Member Functions

virtual void beginJob ()
 
virtual void beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup)
 
virtual void endJob ()
 
virtual void endRun ()
 
 ParticleReplacerBase (const edm::ParameterSet &iConfig)
 
virtual std::auto_ptr
< HepMC::GenEvent > 
produce (const reco::MuonCollection &, const reco::Vertex *pvtx=0, const HepMC::GenEvent *genEvt=0)=0
 
virtual ~ParticleReplacerBase ()
 

Public Attributes

unsigned int passed
 
unsigned int tried
 

Protected Attributes

const double tauMass
 

Detailed Description

Description: Base class for particle replacer algorithms

Implementation: <Notes on="" implementation>="">

Definition at line 32 of file ParticleReplacerBase.h.

Constructor & Destructor Documentation

ParticleReplacerBase::ParticleReplacerBase ( const edm::ParameterSet iConfig)
explicit

Definition at line 3 of file ParticleReplacerBase.cc.

3  :
4  tried(0), passed(0), tauMass(1.7769)
5 {}
ParticleReplacerBase::~ParticleReplacerBase ( )
virtual

Definition at line 7 of file ParticleReplacerBase.cc.

7 {}

Member Function Documentation

void ParticleReplacerBase::beginJob ( void  )
virtual

Reimplemented in ParticleReplacerParticleGun.

Definition at line 9 of file ParticleReplacerBase.cc.

9 {}
void ParticleReplacerBase::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Reimplemented in ParticleReplacerClass.

Definition at line 10 of file ParticleReplacerBase.cc.

10 {}
void ParticleReplacerBase::endJob ( void  )
virtual

Reimplemented in ParticleReplacerClass, and ParticleReplacerParticleGun.

Definition at line 12 of file ParticleReplacerBase.cc.

12 {}
void ParticleReplacerBase::endRun ( void  )
virtual

Definition at line 11 of file ParticleReplacerBase.cc.

11 {}
virtual std::auto_ptr<HepMC::GenEvent> ParticleReplacerBase::produce ( const reco::MuonCollection ,
const reco::Vertex pvtx = 0,
const HepMC::GenEvent *  genEvt = 0 
)
pure virtual

Member Data Documentation

unsigned int ParticleReplacerBase::passed

Definition at line 45 of file ParticleReplacerBase.h.

Referenced by ParticleReplacerClass::produce().

const double ParticleReplacerBase::tauMass
protected

Definition at line 49 of file ParticleReplacerBase.h.

Referenced by ParticleReplacerParticleGun::correctTauMass().

unsigned int ParticleReplacerBase::tried

Definition at line 44 of file ParticleReplacerBase.h.

Referenced by ParticleReplacerClass::produce().