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 
24  protected:
25  std::vector<int> m_PDGs;
26 
27  };
28 }
29 
30 #endif
CLHEP::HepRandomEngine * decayRandomEngine
virtual void SetPhotosDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
virtual const std::vector< int > & operatesOnParticles()
virtual HepMC::GenEvent * decay(HepMC::GenEvent *evt)