00001 //***************************************************************************** 00002 // 00003 // EeToeeV.cxx 00004 // 00005 // Algorithm runs e+e- ->e+e- rho0, rho0->pi+pi- precess 00006 // 00007 // July 2016-4-29 Rong-Gang Ping to create package for BES3 00008 // The original fortran code is generated with FDC, consult Prof. Wang Jianxiong 00009 //***************************************************************************** 00010 00011 #ifndef GENERATORMODULESEVTDECAY_H 00012 #define GENERATORMODULESEVTDECAY_H 00013 00014 #include "HepMC/GenEvent.h" 00015 #include "HepMC/GenParticle.h" 00016 00017 #include "GaudiKernel/Algorithm.h" 00018 #include "GaudiKernel/ISvcLocator.h" 00019 00020 #include <vector> 00021 00022 using namespace std; 00023 00024 class IBesRndmGenSvc; 00025 class EeToeeV:public Algorithm 00026 { 00027 public: 00028 EeToeeV(const string& name, ISvcLocator* pSvcLocator); 00029 00030 StatusCode initialize(); 00031 StatusCode execute(); 00032 StatusCode finalize(); 00033 StatusCode getMaxEvent(); 00034 00035 private: 00036 // jobOption params 00037 int m_evtMax; 00038 double m_Ecms; 00039 std::string m_vect; 00040 int m_mctruth; 00041 IBesRndmGenSvc* p_BesRndmGenSvc; 00042 00043 }; 00044 00045 #endif