CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParticleReplacerBase.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef TauAnalysis_MCEmbeddingTools_ParticleReplacerBase_h
3 #define TauAnalysis_MCEmbeddingTools_ParticleReplacerBase_h
4 
5 //
6 // Package: MCEmbeddingtools
7 // Class: ParticleReplacerBase
8 //
16 //
17 // Original Author: Matti Kortelainen
18 //
19 //
23 
27 
28 #include "HepMC/GenEvent.h"
29 
30 #include<memory>
31 
33 public:
34  explicit ParticleReplacerBase(const edm::ParameterSet& iConfig);
35  virtual ~ParticleReplacerBase();
36 
37  virtual void beginJob();
38  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
39  virtual void endRun();
40  virtual void endJob();
41 
42  virtual std::auto_ptr<HepMC::GenEvent> produce(const reco::MuonCollection&, const reco::Vertex *pvtx=0, const HepMC::GenEvent *genEvt=0) = 0;
43 
44  unsigned int tried;
45  unsigned int passed;
46 
47 protected:
48 
49  const double tauMass;
50 private:
51 };
52 
53 
54 #endif
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
ParticleReplacerBase(const edm::ParameterSet &iConfig)
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
virtual std::auto_ptr< HepMC::GenEvent > produce(const reco::MuonCollection &, const reco::Vertex *pvtx=0, const HepMC::GenEvent *genEvt=0)=0
Definition: Run.h:36