CMS 3D CMS Logo

ExternalDecayDriver.h
Go to the documentation of this file.
1 #ifndef gen_ExternalDecayDriver_h
2 #define gen_ExternalDecayDriver_h
3 
6 
7 #include <string>
8 #include <vector>
9 
10 namespace HepMC {
11  class GenEvent;
12 }
13 
14 namespace CLHEP {
15  class HepRandomEngine;
16 }
17 
18 namespace lhef {
19  class LHEEvent;
20 }
21 
22 namespace gen {
23 
24  class EvtGenInterfaceBase;
25  class TauolaInterfaceBase;
26  class PhotosInterfaceBase;
27 
29  public:
30  // ctor & dtor
33 
34  void init(const edm::EventSetup&);
35 
36  const std::vector<int>& operatesOnParticles() { return fPDGs; }
37  const std::vector<std::string>& specialSettings() { return fSpecialSettings; }
38 
41 
42  void statistics() const;
43 
44  void setRandomEngine(CLHEP::HepRandomEngine*);
45  std::vector<std::string> const& sharedResources() const { return exSharedResources; }
46 
47  private:
49  std::unique_ptr<TauolaInterfaceBase> fTauolaInterface;
50  std::unique_ptr<EvtGenInterfaceBase> fEvtGenInterface;
51  std::unique_ptr<PhotosInterfaceBase> fPhotosInterface;
52  std::vector<int> fPDGs;
53  std::vector<std::string> fSpecialSettings;
54 
55  std::vector<std::string> exSharedResources;
56  };
57 
58 } // namespace gen
59 
60 #endif
gen::ExternalDecayDriver::~ExternalDecayDriver
~ExternalDecayDriver()
gen::ExternalDecayDriver::exSharedResources
std::vector< std::string > exSharedResources
Definition: ExternalDecayDriver.h:55
gen::ExternalDecayDriver::operatesOnParticles
const std::vector< int > & operatesOnParticles()
Definition: ExternalDecayDriver.h:36
gen::ExternalDecayDriver::statistics
void statistics() const
Definition: ExternalDecayDriver.cc:138
gen::ExternalDecayDriver::init
void init(const edm::EventSetup &)
Definition: ExternalDecayDriver.cc:100
gen::ExternalDecayDriver::fPhotosInterface
std::unique_ptr< PhotosInterfaceBase > fPhotosInterface
Definition: ExternalDecayDriver.h:51
gen::ExternalDecayDriver::decay
HepMC::GenEvent * decay(HepMC::GenEvent *evt)
Definition: ExternalDecayDriver.cc:75
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
gen::ExternalDecayDriver::setRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *)
Definition: ExternalDecayDriver.cc:147
gen::ExternalDecayDriver::fEvtGenInterface
std::unique_ptr< EvtGenInterfaceBase > fEvtGenInterface
Definition: ExternalDecayDriver.h:50
gen::ExternalDecayDriver::fTauolaInterface
std::unique_ptr< TauolaInterfaceBase > fTauolaInterface
Definition: ExternalDecayDriver.h:49
gen
Definition: PythiaDecays.h:13
CLHEP
Definition: CocoaGlobals.h:27
gen::ExternalDecayDriver::specialSettings
const std::vector< std::string > & specialSettings()
Definition: ExternalDecayDriver.h:37
edm::ParameterSet
Definition: ParameterSet.h:47
lhef
Definition: ExhumeHadronizer.h:12
gen::ExternalDecayDriver
Definition: ExternalDecayDriver.h:28
lhef::LHEEvent
Definition: LHEEvent.h:23
gen::ExternalDecayDriver::fIsInitialized
bool fIsInitialized
Definition: ExternalDecayDriver.h:48
gen::ExternalDecayDriver::ExternalDecayDriver
ExternalDecayDriver(const edm::ParameterSet &)
Definition: ExternalDecayDriver.cc:23
edm::EventSetup
Definition: EventSetup.h:58
gen::ExternalDecayDriver::sharedResources
std::vector< std::string > const & sharedResources() const
Definition: ExternalDecayDriver.h:45
HepMC
Definition: GenParticle.h:15
gen::ExternalDecayDriver::fSpecialSettings
std::vector< std::string > fSpecialSettings
Definition: ExternalDecayDriver.h:53
gen::ExternalDecayDriver::fPDGs
std::vector< int > fPDGs
Definition: ExternalDecayDriver.h:52
EventSetup.h
ParameterSet.h