]>
Commit | Line | Data |
---|---|---|
8d2cd130 | 1 | #ifndef ALIPYTHIA_H |
2 | #define ALIPYTHIA_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include <TPythia6.h> | |
9 | #include <AliRndm.h> | |
10 | #include <AliStructFuncType.h> | |
e2de0ce1 | 11 | #include "PythiaProcesses.h" |
fa49ba58 | 12 | |
0f482ae4 | 13 | class AliFastGlauber; |
14 | class AliQuenchingWeights; | |
15 | ||
8d2cd130 | 16 | class AliPythia : public TPythia6, public AliRndm |
17 | { | |
18 | ||
19 | public: | |
20 | virtual ~AliPythia(){;} | |
21 | // convert to compressed code and print result (for debugging only) | |
22 | virtual Int_t CheckedLuComp(Int_t kf); | |
23 | // Pythia initialisation for selected processes | |
24 | virtual void ProcInit | |
25 | (Process_t process, Float_t energy, StrucFunc_t strucfunc); | |
26 | // treat protons as inside nuclei | |
27 | virtual void SetNuclei(Int_t a1, Int_t a2); | |
28 | // Print particle properties | |
29 | virtual void PrintParticles(); | |
30 | virtual void ResetDecayTable(); | |
31 | virtual void SetDecayTable(); | |
16a82508 | 32 | virtual void Pyevnw(); |
8d2cd130 | 33 | virtual void Pycell(Int_t& nclus); |
34 | virtual void Pyclus(Int_t& nclus); | |
452af8c7 | 35 | virtual void Pyshow(Int_t ip1, Int_t ip2, Double_t qmax); |
36 | virtual void Pyrobo(Int_t imi, Int_t ima, Double_t the, Double_t phi, Double_t bex, Double_t bey, Double_t bez); | |
32c8e463 | 37 | virtual void InitQuenching(Float_t bmin, Float_t bmax, Float_t k, Int_t iECMethod, Float_t zmax = 0.97, Int_t ngmax = 30); |
12cb0bc0 | 38 | virtual void SetPyquenParameters(Double_t t0, Double_t tau0, Int_t nf, Int_t iengl, Int_t iangl); |
992f2843 | 39 | virtual void Pyquen(Double_t a, Int_t ibf, Double_t b); |
b280c4cc | 40 | virtual void GetQuenchingParameters(Double_t& xp, Double_t& yp, Double_t z[4]); |
8d2cd130 | 41 | // return instance of the singleton |
42 | static AliPythia* Instance(); | |
452af8c7 | 43 | virtual void Quench(); |
e8a8adcd | 44 | // Assignment Operator |
45 | AliPythia & operator=(const AliPythia & rhs); | |
46 | void Copy(TObject&) const; | |
8d2cd130 | 47 | protected: |
0f482ae4 | 48 | Process_t fProcess; // Process type |
49 | Float_t fEcms; // Centre of mass energy | |
50 | StrucFunc_t fStrucFunc; // Structure function | |
51 | Int_t fDefMDCY[501]; // ! Default decay switches per particle | |
52 | Int_t fDefMDME[2001]; // ! Default decay switches per mode | |
b280c4cc | 53 | Double_t fZQuench[4]; // ! Quenching fractions for this even |
54 | Double_t fXJet; // ! Jet production point X | |
55 | Double_t fYJet; // ! Jet production point Y | |
32c8e463 | 56 | Int_t fNGmax; // Maximum number of radiated gluons in quenching |
57 | Float_t fZmax; // Maximum energy loss in quenching | |
0f482ae4 | 58 | AliFastGlauber* fGlauber; // ! The Glauber model |
59 | AliQuenchingWeights* fQuenchingWeights; // ! The Quenching Weights model | |
60 | static AliPythia* fgAliPythia; // Pointer to single instance | |
8d2cd130 | 61 | private: |
62 | AliPythia(); | |
e8a8adcd | 63 | AliPythia(const AliPythia& pythia); |
3dc3ec94 | 64 | void ConfigHeavyFlavor(); |
e0e89f40 | 65 | void AtlasTuning(); |
8d2cd130 | 66 | ClassDef(AliPythia,1) //ALICE UI to PYTHIA |
67 | }; | |
68 | ||
69 | #endif | |
70 | ||
71 | ||
72 | ||
90d7b703 | 73 | |
589380c6 | 74 |