CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PyquenHadronizer.h
Go to the documentation of this file.
1 #ifndef Pyquen_Hadronizer_h
2 #define Pyquen_Hadronizer_h
3 
17 #include <map>
18 #include <string>
19 #include "HepMC/GenEvent.h"
20 
21 namespace gen
22 {
23  class Pythia6Service;
24 
26  public:
27 
29  virtual ~PyquenHadronizer();
30 
32  bool hadronize();
33  bool decay();
34  bool residualDecay();
35  bool readSettings( int );
38  bool declareStableParticles( const std::vector<int>& );
39  bool declareSpecialSettings( const std::vector<std::string>& ) { return true; }
40  virtual bool select(HepMC::GenEvent* evtTry) const { return selector_->filter(evtTry); }
41  void finalizeEvent();
42  void statistics();
43  const char* classname() const;
44 
45  private:
46  void add_heavy_ion_rec(HepMC::GenEvent *evt);
47 
48  bool pyqpythia_init(const edm::ParameterSet &pset);
49  bool pyquen_init(const edm::ParameterSet &pset);
50  const char* nucleon();
51  void rotateEvtPlane(HepMC::GenEvent* evt, double angle);
52 
54  double abeamtarget_;
55  unsigned int angularspecselector_;
56  double bmin_;
60  double bmax_;
61  double bfixed_;
62  int cflag_;
63  double comenergy;
64  bool doquench_;
67  bool doIsospin_;
69  bool embedding_;
70  double evtPlane_;
71  double pfrac_;
72 
73  unsigned int nquarkflavor_;
74  double qgpt0_;
76  double qgptau0_;
78  unsigned int maxEventsToPrint_;
81  unsigned int pythiaPylistVerbosity_;
82 
83  // CLHEP::HepRandomEngine* fRandomEngine;
88  };
89 } /*end namespace*/
90 
91 #endif
unsigned int maxEventsToPrint_
bool pyquen_init(const edm::ParameterSet &pset)
PyquenHadronizer(const edm::ParameterSet &)
bool declareStableParticles(const std::vector< int > &)
bool doradiativeenloss_
if true perform quenching (default = true)
bool docollisionalenloss_
DEFAULT = true.
void rotateEvtPlane(HepMC::GenEvent *evt, double angle)
bool initializeForExternalPartons()
double bmax_
min impact param (fm); valid only if cflag_!=0
virtual bool select(HepMC::GenEvent *evtTry) const
bool declareSpecialSettings(const std::vector< std::string > &)
int cflag_
fixed impact param (fm); valid only if cflag_=0
unsigned int pythiaPylistVerbosity_
HepMC verbosity flag.
bool doIsospin_
DEFAULT = true.
unsigned int angularspecselector_
beam/target atomic mass number
edm::InputTag src_
Pythia PYLIST Verbosity flag.
virtual bool filter(HepMC::GenEvent *)
void add_heavy_ion_rec(HepMC::GenEvent *evt)
Pythia6Service * pythia6Service_
edm::ParameterSet pset_
bool pyqpythia_init(const edm::ParameterSet &pset)
unsigned int nquarkflavor_
Proton fraction in the nucleus.
bool doquench_
collision energy
const char * classname() const
double comenergy
centrality flag =0 fixed impact param, &lt;&gt;0 minbias
bool pythiaHepMCVerbosity_
Events to print if verbosity.
BaseHiGenEvtSelector * selector_
double bfixed_
max impact param (fm); valid only if cflag_!=0
int protonSide_
Run n&amp;p with proper ratios; if false, only p+p collisions.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11