CMS 3D CMS Logo

TauolaInterfaceBase.h
Go to the documentation of this file.
1 #ifndef gen_TauolaInterface_TauolaInterfaceBase_h
2 #define gen_TauolaInterface_TauolaInterfaceBase_h
3 
6 #include "HepMC/GenEvent.h"
7 #include <vector>
8 #include "CLHEP/Random/RandomEngine.h"
9 
10 // LHE Run
13 
14 // LHE Event
17 
18 namespace gen {
20  public:
23  virtual ~TauolaInterfaceBase(){};
24 
25  virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine){};
26  virtual void enablePolarization(){};
27  virtual void disablePolarization(){};
28  virtual void init(const edm::EventSetup&){};
29  virtual const std::vector<int>& operatesOnParticles() { return fPDGs; }
30  virtual HepMC::GenEvent* decay(HepMC::GenEvent* evt) { return evt; }
31  virtual void statistics(){};
32  virtual void setRandomEngine(CLHEP::HepRandomEngine* v) = 0;
33  virtual void SetLHE(lhef::LHEEvent* l){};
34 
35  protected:
36  std::vector<int> fPDGs;
37  };
38 } // namespace gen
39 
40 #endif
gen::TauolaInterfaceBase::~TauolaInterfaceBase
virtual ~TauolaInterfaceBase()
Definition: TauolaInterfaceBase.h:23
gen::TauolaInterfaceBase::statistics
virtual void statistics()
Definition: TauolaInterfaceBase.h:31
gen::TauolaInterfaceBase::setRandomEngine
virtual void setRandomEngine(CLHEP::HepRandomEngine *v)=0
gen::TauolaInterfaceBase::enablePolarization
virtual void enablePolarization()
Definition: TauolaInterfaceBase.h:26
gen::TauolaInterfaceBase::TauolaInterfaceBase
TauolaInterfaceBase(const edm::ParameterSet &)
Definition: TauolaInterfaceBase.h:22
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
gen::TauolaInterfaceBase::init
virtual void init(const edm::EventSetup &)
Definition: TauolaInterfaceBase.h:28
LHERunInfoProduct.h
gen::TauolaInterfaceBase::SetLHE
virtual void SetLHE(lhef::LHEEvent *l)
Definition: TauolaInterfaceBase.h:33
gen
Definition: PythiaDecays.h:13
edm::ParameterSet
Definition: ParameterSet.h:47
LHERunInfo.h
lhef::LHEEvent
Definition: LHEEvent.h:23
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:76
edm::EventSetup
Definition: EventSetup.h:58
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
gen::TauolaInterfaceBase::fPDGs
std::vector< int > fPDGs
Definition: TauolaInterfaceBase.h:33
LHEEventProduct.h
gen::TauolaInterfaceBase::decay
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
Definition: TauolaInterfaceBase.h:30
EventSetup.h
gen::TauolaInterfaceBase::operatesOnParticles
virtual const std::vector< int > & operatesOnParticles()
Definition: TauolaInterfaceBase.h:29
LHEEvent.h
gen::TauolaInterfaceBase
Definition: TauolaInterfaceBase.h:19
ParameterSet.h
gen::TauolaInterfaceBase::SetDecayRandomEngine
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
Definition: TauolaInterfaceBase.h:25
gen::TauolaInterfaceBase::disablePolarization
virtual void disablePolarization()
Definition: TauolaInterfaceBase.h:27
gen::TauolaInterfaceBase::TauolaInterfaceBase
TauolaInterfaceBase()
Definition: TauolaInterfaceBase.h:21