CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhotosppInterface.h
Go to the documentation of this file.
1 #ifndef gen_PhotosInterface_PhotosppInterface_h
2 #define gen_PhotosInterface_PhotosppInterface_h
3 
4 // #include "HepPDT/ParticleDataTable.hh"
5 
9 
10 #include "HepMC/SimpleVector.h"
12 
13 namespace HepMC {
14  class GenEvent;
15  class GenVertex;
16 } // namespace HepMC
17 
18 namespace gen {
20  public:
21  // ctor & dtor
23  ~PhotosppInterface() override {}
24 
25  void init() override;
26  const std::vector<std::string>& specialSettings() override { return fSpecialSettings; }
28  void configureOnlyFor(int) override;
29  void avoidTauLeptonicDecays() override {
31  return;
32  }
33  bool isTauLeptonicDecay(HepMC::GenVertex*);
34  void setRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine) override;
35  static double flat();
36  void statistics() override;
37 
38  private:
39  int fOnlyPDG;
43 
44  static CLHEP::HepRandomEngine* fRandomEngine;
45  };
46 } // namespace gen
47 
48 #endif
static CLHEP::HepRandomEngine * fRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine) override
PhotosppInterface(const edm::ParameterSet &pset)
void avoidTauLeptonicDecays() override
void configureOnlyFor(int) override
edm::ParameterSet * fPSet
const std::vector< std::string > & specialSettings() override
bool isTauLeptonicDecay(HepMC::GenVertex *)
HepMC::GenEvent * apply(HepMC::GenEvent *) override
std::vector< std::string > fSpecialSettings