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
27 
28  void init();
29  const std::vector<std::string>& specialSettings() { return fSpecialSettings; }
30  HepMC::GenEvent* apply( HepMC::GenEvent* );
31  void configureOnlyFor( int );
32  void avoidTauLeptonicDecays() { fAvoidTauLeptonicDecays=true; return; }
33  bool isTauLeptonicDecay( HepMC::GenVertex* );
34  void setRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine);
35  static double flat();
36  void statistics();
37 
38  private:
39  int fOnlyPDG;
43 
44  static CLHEP::HepRandomEngine* fRandomEngine;
45  };
46 }
47 
48 #endif
static CLHEP::HepRandomEngine * fRandomEngine
CLHEP::HepRandomEngine * decayRandomEngine
edm::ParameterSet * fPSet
const std::vector< std::string > & specialSettings()
Vec apply(Vec v, F f)
Definition: ExtVec.h:83