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 
25  protected:
26  std::vector<int> fPDGs;
27 
28  };
29 }
30 
31 #endif
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
CLHEP::HepRandomEngine * decayRandomEngine
virtual void init(const edm::EventSetup &)
TauolaInterfaceBase(const edm::ParameterSet &)
virtual void disablePolarization()
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual const std::vector< int > & operatesOnParticles()