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  protected:
35  std::vector<int> fPDGs;
36 
37  };
38 }
39 
40 #endif
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
CLHEP::HepRandomEngine * decayRandomEngine
virtual void init(const edm::EventSetup &)
TauolaInterfaceBase(const edm::ParameterSet &)
virtual void disablePolarization()
double v[5][pyjets_maxn]
virtual void SetLHE(lhef::LHEEvent *l)
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual const std::vector< int > & operatesOnParticles()
virtual void setRandomEngine(CLHEP::HepRandomEngine *v)=0