CMS 3D CMS Logo

PhotosInterfaceBase.h
Go to the documentation of this file.
1 #ifndef gen_PhotosInterface_PhotosInterfaceBase_h
2 #define gen_PhotosInterface_PhotosInterfaceBase_h
3 
6 #include "HepMC/GenEvent.h"
7 #include <vector>
8 #include "CLHEP/Random/RandomEngine.h"
9 #include "HepMC/SimpleVector.h"
10 #include <string>
11 #include "CLHEP/Random/RandomEngine.h"
12 
13 namespace gen {
15  public:
18  virtual ~PhotosInterfaceBase(){};
19 
20  virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine){};
21  virtual void init() = 0;
22  virtual const std::vector<std::string>& specialSettings() { return fSpecialSettings; }
23  virtual HepMC::GenEvent* apply(HepMC::GenEvent* evt) { return evt; }
24  virtual void avoidTauLeptonicDecays() = 0;
25  ;
26  virtual void configureOnlyFor(int) = 0;
27  virtual void setRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine) = 0;
28  virtual void statistics(){};
29 
30  protected:
31  std::vector<std::string> fSpecialSettings;
32  };
33 } // namespace gen
34 
35 #endif
gen::PhotosInterfaceBase::SetDecayRandomEngine
virtual void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
Definition: PhotosInterfaceBase.h:20
gen::PhotosInterfaceBase::init
virtual void init()=0
gen::PhotosInterfaceBase::setRandomEngine
virtual void setRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)=0
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
gen::PhotosInterfaceBase::PhotosInterfaceBase
PhotosInterfaceBase()
Definition: PhotosInterfaceBase.h:16
gen::PhotosInterfaceBase::~PhotosInterfaceBase
virtual ~PhotosInterfaceBase()
Definition: PhotosInterfaceBase.h:18
gen::PhotosInterfaceBase::fSpecialSettings
std::vector< std::string > fSpecialSettings
Definition: PhotosInterfaceBase.h:28
gen
Definition: PythiaDecays.h:13
gen::PhotosInterfaceBase::PhotosInterfaceBase
PhotosInterfaceBase(const edm::ParameterSet &)
Definition: PhotosInterfaceBase.h:17
edm::ParameterSet
Definition: ParameterSet.h:47
gen::PhotosInterfaceBase
Definition: PhotosInterfaceBase.h:14
gen::PhotosInterfaceBase::configureOnlyFor
virtual void configureOnlyFor(int)=0
gen::PhotosInterfaceBase::specialSettings
virtual const std::vector< std::string > & specialSettings()
Definition: PhotosInterfaceBase.h:22
gen::PhotosInterfaceBase::avoidTauLeptonicDecays
virtual void avoidTauLeptonicDecays()=0
EventSetup.h
ParameterSet.h
gen::PhotosInterfaceBase::statistics
virtual void statistics()
Definition: PhotosInterfaceBase.h:28
gen::PhotosInterfaceBase::apply
virtual HepMC::GenEvent * apply(HepMC::GenEvent *evt)
Definition: PhotosInterfaceBase.h:23