CMS 3D CMS Logo

ExhumeHadronizer.h
Go to the documentation of this file.
1 #ifndef gen_ExhumeHadronizer_h
2 #define gen_ExhumeHadronizer_h
3 
4 #include <memory>
5 #include <string>
6 #include <vector>
7 
9 
11 
12 namespace lhef {
13  class LHERunInfo;
14  class LHEEvent;
15 } // namespace lhef
16 
17 class LHEEventProduct;
18 
19 namespace HepMC {
20  class GenEvent;
21 }
22 
23 namespace Exhume {
24  class Event;
25  class CrossSection;
26 } // namespace Exhume
27 
28 namespace CLHEP {
29  class HepRandomEngine;
30 }
31 
32 namespace gen {
33  //class Pythia6Hadronizer;
34  class Pythia6Service;
35 
37  public:
39  ~ExhumeHadronizer() override;
40 
41  // bool generatePartons();
43  bool hadronize();
44  bool decay();
45  bool residualDecay();
46  bool readSettings(int);
49  bool declareStableParticles(const std::vector<int>&);
50  bool declareSpecialSettings(const std::vector<std::string>&);
51 
52  void finalizeEvent();
53 
54  void statistics();
55 
56  const char* classname() const;
57 
58  private:
59  void doSetRandomEngine(CLHEP::HepRandomEngine* v) override;
60  std::vector<std::string> const& doSharedResources() const override { return theSharedResources; }
61 
62  static const std::vector<std::string> theSharedResources;
63 
65 
66  CLHEP::HepRandomEngine* randomEngine_;
67 
68  double comEnergy_;
69 
70  //edm::ParameterSet processPSet_;
71  //edm::ParameterSet paramsPSet_;
73 
75  unsigned int maxEventsToPrint_;
76  unsigned int pythiaListVerbosity_;
77 
79 
80  //Pythia6Hadronizer* pythia6Hadronizer_;
83  };
84 } // namespace gen
85 
86 #endif
gen::ExhumeHadronizer::declareSpecialSettings
bool declareSpecialSettings(const std::vector< std::string > &)
Definition: ExhumeHadronizer.cc:244
gen::ExhumeHadronizer::exhumeEvent_
Exhume::Event * exhumeEvent_
Definition: ExhumeHadronizer.h:81
gen::ExhumeHadronizer::hadronize
bool hadronize()
Definition: ExhumeHadronizer.cc:166
gen::ExhumeHadronizer::initializeForExternalPartons
bool initializeForExternalPartons()
Definition: ExhumeHadronizer.cc:172
LHEEventProduct
Definition: LHEEventProduct.h:12
gen::ExhumeHadronizer::ExhumeHadronizer
ExhumeHadronizer(edm::ParameterSet const &ps)
Definition: ExhumeHadronizer.cc:76
gen::ExhumeHadronizer
Definition: ExhumeHadronizer.h:36
gen::ExhumeHadronizer::generatePartonsAndHadronize
bool generatePartonsAndHadronize()
Definition: ExhumeHadronizer.cc:151
BaseHadronizer.h
gen::ExhumeHadronizer::decay
bool decay()
Definition: ExhumeHadronizer.cc:168
gen::ExhumeHadronizer::initializeForInternalPartons
bool initializeForInternalPartons()
Definition: ExhumeHadronizer.cc:182
gen::ExhumeHadronizer::residualDecay
bool residualDecay()
Definition: ExhumeHadronizer.cc:170
Exhume
Definition: CrossSection.h:37
gen::ExhumeHadronizer::theSharedResources
static const std::vector< std::string > theSharedResources
Definition: ExhumeHadronizer.h:62
gen::BaseHadronizer
Definition: BaseHadronizer.h:46
gen::ExhumeHadronizer::convertToPDG_
bool convertToPDG_
Definition: ExhumeHadronizer.h:78
Exhume::Event
Definition: Event.h:17
gen::ExhumeHadronizer::maxEventsToPrint_
unsigned int maxEventsToPrint_
Definition: ExhumeHadronizer.h:75
Event
rivetAnalyzer_cfi.CrossSection
CrossSection
Definition: rivetAnalyzer_cfi.py:18
gen
Definition: PythiaDecays.h:13
CLHEP
Definition: CocoaGlobals.h:27
gen::ExhumeHadronizer::pythia6Service_
Pythia6Service * pythia6Service_
Definition: ExhumeHadronizer.h:64
lhef::LHERunInfo
Definition: LHERunInfo.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
lhef
Definition: ExhumeHadronizer.h:12
gen::ExhumeHadronizer::pythiaListVerbosity_
unsigned int pythiaListVerbosity_
Definition: ExhumeHadronizer.h:76
lhef::LHEEvent
Definition: LHEEvent.h:23
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:76
Exhume::CrossSection
Definition: CrossSection.h:43
gen::ExhumeHadronizer::statistics
void statistics()
Definition: ExhumeHadronizer.cc:246
gen::ExhumeHadronizer::~ExhumeHadronizer
~ExhumeHadronizer() override
Definition: ExhumeHadronizer.cc:94
gen::ExhumeHadronizer::finalizeEvent
void finalizeEvent()
Definition: ExhumeHadronizer.cc:109
gen::ExhumeHadronizer::doSharedResources
std::vector< std::string > const & doSharedResources() const override
Definition: ExhumeHadronizer.h:60
gen::ExhumeHadronizer::exhumeProcess_
Exhume::CrossSection * exhumeProcess_
Definition: ExhumeHadronizer.h:82
gen::ExhumeHadronizer::comEnergy_
double comEnergy_
Definition: ExhumeHadronizer.h:68
gen::ExhumeHadronizer::myPSet_
edm::ParameterSet myPSet_
Definition: ExhumeHadronizer.h:72
gen::ExhumeHadronizer::doSetRandomEngine
void doSetRandomEngine(CLHEP::HepRandomEngine *v) override
Definition: ExhumeHadronizer.cc:101
HepMC
Definition: GenParticle.h:15
gen::ExhumeHadronizer::declareStableParticles
bool declareStableParticles(const std::vector< int > &)
Definition: ExhumeHadronizer.cc:229
ParameterSetfwd.h
gen::ExhumeHadronizer::randomEngine_
CLHEP::HepRandomEngine * randomEngine_
Definition: ExhumeHadronizer.h:66
gen::Pythia6Service
Definition: Pythia6Service.h:24
gen::ExhumeHadronizer::readSettings
bool readSettings(int)
Definition: ExhumeHadronizer.cc:174
gen::ExhumeHadronizer::classname
const char * classname() const
Definition: ExhumeHadronizer.cc:273
gen::ExhumeHadronizer::hepMCVerbosity_
bool hepMCVerbosity_
Definition: ExhumeHadronizer.h:74