test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
8 #include <boost/shared_ptr.hpp>
9 
11 
13 
14 namespace lhef
15 {
16  class LHERunInfo;
17  class LHEEvent;
18 }
19 
20 class LHEEventProduct;
21 
22 namespace HepMC
23 {
24  class GenEvent;
25 }
26 
27 namespace Exhume{
28  class Event;
29  class CrossSection;
30 }
31 
32 namespace CLHEP {
33  class HepRandomEngine;
34 }
35 
36 namespace gen
37 {
38  //class Pythia6Hadronizer;
39  class Pythia6Service;
40 
42  {
43 
44  public:
47 
48  // bool generatePartons();
50  bool hadronize();
51  bool decay();
52  bool residualDecay();
53  bool readSettings( int );
56  bool declareStableParticles( const std::vector<int>& );
57  bool declareSpecialSettings( const std::vector<std::string>& );
58 
59  void finalizeEvent();
60 
61  void statistics();
62 
63  const char* classname() const;
64 
65  private:
66 
67  virtual void doSetRandomEngine(CLHEP::HepRandomEngine* v) override;
68  virtual std::vector<std::string> const& doSharedResources() const override { return theSharedResources; }
69 
70  static const std::vector<std::string> theSharedResources;
71 
73 
74  CLHEP::HepRandomEngine* randomEngine_;
75 
76  double comEnergy_;
77 
78  //edm::ParameterSet processPSet_;
79  //edm::ParameterSet paramsPSet_;
81 
83  unsigned int maxEventsToPrint_;
84  unsigned int pythiaListVerbosity_;
85 
87 
88  //Pythia6Hadronizer* pythia6Hadronizer_;
91  };
92 }
93 
94 #endif
Exhume::Event * exhumeEvent_
ExhumeHadronizer(edm::ParameterSet const &ps)
virtual std::vector< std::string > const & doSharedResources() const override
double v[5][pyjets_maxn]
unsigned int maxEventsToPrint_
static const std::vector< std::string > theSharedResources
def gen
run2 Cosmic #### Run 256259 @ 0T 2015C### Run 272133 @ 3.8T 2016B###
unsigned int pythiaListVerbosity_
Pythia6Service * pythia6Service_
const char * classname() const
edm::ParameterSet myPSet_
bool declareStableParticles(const std::vector< int > &)
virtual void doSetRandomEngine(CLHEP::HepRandomEngine *v) override
Exhume::CrossSection * exhumeProcess_
CLHEP::HepRandomEngine * randomEngine_
bool declareSpecialSettings(const std::vector< std::string > &)