3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 #include <AliStructFuncType.h>
12 {kPyCharm, kPyBeauty, kPyCharmUnforced, kPyBeautyUnforced,
13 kPyJpsi, kPyJpsiChi, kPyMb, kPyMbNonDiffr, kPyJets, kPyDirectGamma,
14 kPyCharmPbPbMNR, kPyD0PbPbMNR, kPyDPlusPbPbMNR, kPyBeautyPbPbMNR,
15 kPyCharmpPbMNR, kPyD0pPbMNR, kPyDPluspPbMNR, kPyBeautypPbMNR,
16 kPyCharmppMNR, kPyD0ppMNR, kPyDPlusppMNR, kPyBeautyppMNR}
37 class AliQuenchingWeights;
39 class AliPythia : public TPythia6, public AliRndm
43 virtual ~AliPythia(){;}
44 // convert to compressed code and print result (for debugging only)
45 virtual Int_t CheckedLuComp(Int_t kf);
46 // Pythia initialisation for selected processes
48 (Process_t process, Float_t energy, StrucFunc_t strucfunc);
49 // treat protons as inside nuclei
50 virtual void SetNuclei(Int_t a1, Int_t a2);
51 // Print particle properties
52 virtual void PrintParticles();
53 virtual void ResetDecayTable();
54 virtual void SetDecayTable();
55 virtual void Pycell(Int_t& nclus);
56 virtual void Pyclus(Int_t& nclus);
57 virtual void Pyshow(Int_t ip1, Int_t ip2, Double_t qmax);
58 virtual void Pyrobo(Int_t imi, Int_t ima, Double_t the, Double_t phi, Double_t bex, Double_t bey, Double_t bez);
59 virtual void InitQuenching(Float_t bmin, Float_t bmax, Float_t qTransport, Float_t maxLength, Int_t iECMethod);
61 // return instance of the singleton
62 static AliPythia* Instance();
63 virtual void Quench();
65 Process_t fProcess; // Process type
66 Float_t fEcms; // Centre of mass energy
67 StrucFunc_t fStrucFunc; // Structure function
68 Int_t fDefMDCY[501]; // ! Default decay switches per particle
69 Int_t fDefMDME[2001]; // ! Default decay switches per mode
70 AliFastGlauber* fGlauber; // ! The Glauber model
71 AliQuenchingWeights* fQuenchingWeights; // ! The Quenching Weights model
72 static AliPythia* fgAliPythia; // Pointer to single instance
76 ClassDef(AliPythia,1) //ALICE UI to PYTHIA