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 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
gen::PhotosppInterface::avoidTauLeptonicDecays
void avoidTauLeptonicDecays() override
Definition: PhotosppInterface.h:29
gen::PhotosppInterface::configureOnlyFor
void configureOnlyFor(int) override
Definition: PhotosppInterface.cc:42
ESHandle.h
gen::PhotosppInterface::fPSet
edm::ParameterSet * fPSet
Definition: PhotosppInterface.h:42
gen::PhotosppInterface::apply
HepMC::GenEvent * apply(HepMC::GenEvent *) override
Definition: PhotosppInterface.cc:257
gen::PhotosppInterface::fRandomEngine
static CLHEP::HepRandomEngine * fRandomEngine
Definition: PhotosppInterface.h:44
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
gen::PhotosppInterface::isTauLeptonicDecay
bool isTauLeptonicDecay(HepMC::GenVertex *)
gen::PhotosppInterface::fOnlyPDG
int fOnlyPDG
Definition: PhotosppInterface.h:39
gen::PhotosppInterface::statistics
void statistics() override
Definition: PhotosppInterface.cc:298
gen::PhotosInterfaceBase::fSpecialSettings
std::vector< std::string > fSpecialSettings
Definition: PhotosInterfaceBase.h:28
gen::PhotosppInterface::~PhotosppInterface
~PhotosppInterface() override
Definition: PhotosppInterface.h:23
gen
Definition: PythiaDecays.h:13
edm::ParameterSet
Definition: ParameterSet.h:47
gen::PhotosppInterface::specialSettings
const std::vector< std::string > & specialSettings() override
Definition: PhotosppInterface.h:26
gen::PhotosInterfaceBase
Definition: PhotosInterfaceBase.h:14
PhotosInterfaceBase.h
gen::PhotosppInterface::fIsInitialized
bool fIsInitialized
Definition: PhotosppInterface.h:41
HepMC
Definition: GenParticle.h:15
gen::PhotosppInterface::flat
static double flat()
Definition: PhotosppInterface.cc:288
gen::PhotosppInterface::init
void init() override
Definition: PhotosppInterface.cc:48
EventSetup.h
gen::PhotosppInterface::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine) override
Definition: PhotosppInterface.cc:38
gen::PhotosppInterface
Definition: PhotosppInterface.h:19
ParameterSet.h
gen::PhotosppInterface::PhotosppInterface
PhotosppInterface(const edm::ParameterSet &pset)
Definition: PhotosppInterface.cc:22
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
gen::PhotosppInterface::fAvoidTauLeptonicDecays
bool fAvoidTauLeptonicDecays
Definition: PhotosppInterface.h:40