CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 namespace gen {
12  public:
15  virtual ~TauolaInterfaceBase(){};
16 
17  virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine){};
18  virtual void enablePolarization(){};
19  virtual void disablePolarization(){};
20  virtual void init( const edm::EventSetup& ){};
21  virtual const std::vector<int>& operatesOnParticles() { return fPDGs; }
22  virtual HepMC::GenEvent* decay( HepMC::GenEvent* evt){return evt;}
23  virtual void statistics(){};
24  virtual void setRandomEngine(CLHEP::HepRandomEngine* v)=0;
25 
26  protected:
27  std::vector<int> fPDGs;
28 
29  };
30 }
31 
32 #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 HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual const std::vector< int > & operatesOnParticles()
virtual void setRandomEngine(CLHEP::HepRandomEngine *v)=0