CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Exhume::Event * exhumeEvent_
ExhumeHadronizer(edm::ParameterSet const &ps)
double v[5][pyjets_maxn]
unsigned int maxEventsToPrint_
static const std::vector< std::string > theSharedResources
unsigned int pythiaListVerbosity_
Pythia6Service * pythia6Service_
const char * classname() const
std::vector< std::string > const & doSharedResources() const override
edm::ParameterSet myPSet_
bool declareStableParticles(const std::vector< int > &)
void doSetRandomEngine(CLHEP::HepRandomEngine *v) override
Exhume::CrossSection * exhumeProcess_
CLHEP::HepRandomEngine * randomEngine_
bool declareSpecialSettings(const std::vector< std::string > &)