CMS 3D CMS Logo

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 
14 namespace HepMC
15 {
16 class GenEvent;
17 class GenVertex;
18 }
19 
20 namespace gen {
22  public:
23 
24  // ctor & dtor
26  ~PhotosppInterface() override {}
27 
28  void init() override;
29  const std::vector<std::string>& specialSettings() override { return fSpecialSettings; }
30  HepMC::GenEvent* apply( HepMC::GenEvent* ) override;
31  void configureOnlyFor( int ) override;
32  void avoidTauLeptonicDecays() override { fAvoidTauLeptonicDecays=true; return; }
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 }
47 
48 #endif
static CLHEP::HepRandomEngine * fRandomEngine
CLHEP::HepRandomEngine * decayRandomEngine
int init
Definition: HydjetWrapper.h:67
void avoidTauLeptonicDecays() override
edm::ParameterSet * fPSet
const std::vector< std::string > & specialSettings() override
Vec apply(Vec v, F f)
Definition: ExtVec.h:83