]>
Commit | Line | Data |
---|---|---|
f87cfe57 | 1 | #ifndef ALIPYTHIA_H |
2 | #define ALIPYTHIA_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
fe4da5cc | 7 | |
95b811fe | 8 | #include <TPythia6.h> |
3356c022 | 9 | #include <AliRndm.h> |
f1a48a38 | 10 | |
11 | typedef enum | |
12 | {kPyCharm, kPyBeauty, kPyCharmUnforced, kPyBeautyUnforced, kPyJpsi, kPyJpsiChi, kPyMb, kPyJets, kPyDirectGamma} | |
13 | Process_t; | |
14 | ||
15 | typedef enum | |
16 | { | |
17 | kDO_Set_1=1006, | |
18 | kGRV_LO=5005, | |
19 | kGRV_HO=5006, | |
20 | kMRS_D_minus=3031, | |
21 | kMRS_D0=3030, | |
22 | kMRS_G=3041, | |
23 | kCTEQ_2pM=4024, | |
c1562ef9 | 24 | kCTEQ_4M=4034, |
25 | kMRST_cg_LO=3072, | |
26 | kCTEQ_5L=4046, | |
27 | kGRV_LO_98=5012 | |
f1a48a38 | 28 | } |
29 | StrucFunc_t; | |
fe4da5cc | 30 | |
3356c022 | 31 | class AliPythia : public TPythia6, public AliRndm |
fe4da5cc | 32 | { |
f1a48a38 | 33 | |
fe4da5cc | 34 | public: |
75c6d54e | 35 | virtual ~AliPythia(){;} |
fe4da5cc | 36 | // convert to compressed code and print result (for debugging only) |
f87cfe57 | 37 | virtual Int_t CheckedLuComp(Int_t kf); |
fe4da5cc | 38 | // Pythia initialisation for selected processes |
39 | virtual void ProcInit | |
40 | (Process_t process, Float_t energy, StrucFunc_t strucfunc); | |
811826d8 | 41 | // treat protons as inside nuclei |
42 | virtual void SetNuclei(Int_t a1, Int_t a2); | |
14ee1cd0 | 43 | // Print particle properties |
44 | virtual void PrintParticles(); | |
45 | virtual void ResetDecayTable(); | |
46 | virtual void SetDecayTable(); | |
811826d8 | 47 | // return instance of the singleton |
95b811fe | 48 | static AliPythia* Instance(); |
49 | ||
f87cfe57 | 50 | protected: |
95b811fe | 51 | Process_t fProcess; // Process type |
52 | Float_t fEcms; // Centre of mass energy | |
53 | StrucFunc_t fStrucFunc; // Structure function | |
14ee1cd0 | 54 | Int_t fDefMDCY[501]; // ! Default decay switches per particle |
55 | Int_t fDefMDME[2000]; // ! Default decay switches per mode | |
95b811fe | 56 | static AliPythia* fgAliPythia; // Pointer to single instance |
57 | private: | |
58 | AliPythia(); | |
f87cfe57 | 59 | |
3356c022 | 60 | ClassDef(AliPythia,1) //ALICE UI to PYTHIA |
fe4da5cc | 61 | }; |
62 | ||
63 | #endif | |
64 | ||
65 | ||
66 |