CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EvtGenInterfaceBase.h
Go to the documentation of this file.
1 #ifndef gen_EvtGenInterface_EvtGenInterfaceBase_h
2 #define gen_EvtGenInterface_EvtGenInterfaceBase_h
3 
6 #include "HepMC/GenEvent.h"
7 #include <vector>
8 
9 namespace CLHEP {
10  class HepRandomEngine;
11 }
12 
13 namespace gen {
15  public:
17  virtual ~EvtGenInterfaceBase(){ };
18 
19  virtual void SetPhotosDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine){};
20  virtual void init(){};
21  virtual const std::vector<int>& operatesOnParticles(){return m_PDGs;}
22  virtual HepMC::GenEvent* decay( HepMC::GenEvent* evt){return evt;}
23  virtual void setRandomEngine(CLHEP::HepRandomEngine* v)=0;
24 
25  protected:
26  std::vector<int> m_PDGs;
27 
28 
29  };
30 }
31 
32 #endif
CLHEP::HepRandomEngine * decayRandomEngine
double v[5][pyjets_maxn]
virtual void SetPhotosDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
virtual const std::vector< int > & operatesOnParticles()
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)
virtual void setRandomEngine(CLHEP::HepRandomEngine *v)=0