FairRoot/PandaRoot
PythiaChiGen.h
Go to the documentation of this file.
1 /*
2  * @author Alexey Luchinsky
3  * @author Stanislav Poslavsky (stvlpos (at) mail.ru)
4  */
5 
6 #ifndef PYTHIAHADRONIZATIONMODEL_H
7 #define PYTHIAHADRONIZATIONMODEL_H
8 
9 #include "ChiGenContext.h"
10 #include "PartonicModel.h"
11 #include "ColorSingletModels.h"
12 #include "EvtGenBase/EvtStdHep.hh"
13 
14 
15 using namespace Pythia8;
16 
17 namespace chigen {
18 
19  class PythiaChiGen {
20  public:
21 
27  PythiaChiGen(PartonicModel& partonicModel,
28  int maxTries = 30, bool doHadronization = true);
29 
31  return partonicModel;
32  }
33 
34  virtual ~PythiaChiGen();
39  Event* next();
40 
41  ClassDef(PythiaChiGen, 1);
42 
43  private:
44 
48  double eCM;
56  int maxTries;
60  double protonPz;
68  Vec4 uMomentum, dMomentum;
72  Vec4 ubarMomentum, dbarMomentum;
76  Vec4 mesonMomentum, gluonMomentum;
80  Vec4 boost;
84  EvtStdHep evtstdhep;
92  static int COLORS[];
96  void calculateKinematics();
105  void calculateHadronRemnants(double x, double hadronPz, Vec4& u, Vec4& d);
106 
112  void decay(Event& event);
118  void fillColorEvent(Event& event);
119  };
120 }
121 
122 #endif /* PYTHIAHADRONIZATIONMODEL_H */
123 
TObjArray * d
PartonicModel & getPartonicModel() const
Definition: PythiaChiGen.h:30
Double_t x
static int next[96]
Definition: ranlxd.cxx:374
PartonicModel & partonicModel
Definition: PythiaChiGen.h:52