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, kPyBeautyPbPbMNR,
15 kPyCharmpPbMNR, kPyD0pPbMNR, kPyBeautypPbMNR,
16 kPyCharmppMNR, kPyD0ppMNR, kPyBeautyppMNR}
36 class AliPythia : public TPythia6, public AliRndm
40 virtual ~AliPythia(){;}
41 // convert to compressed code and print result (for debugging only)
42 virtual Int_t CheckedLuComp(Int_t kf);
43 // Pythia initialisation for selected processes
45 (Process_t process, Float_t energy, StrucFunc_t strucfunc);
46 // treat protons as inside nuclei
47 virtual void SetNuclei(Int_t a1, Int_t a2);
48 // Print particle properties
49 virtual void PrintParticles();
50 virtual void ResetDecayTable();
51 virtual void SetDecayTable();
52 virtual void Pycell(Int_t& nclus);
53 virtual void Pyclus(Int_t& nclus);
54 // return instance of the singleton
55 static AliPythia* Instance();
58 Process_t fProcess; // Process type
59 Float_t fEcms; // Centre of mass energy
60 StrucFunc_t fStrucFunc; // Structure function
61 Int_t fDefMDCY[501]; // ! Default decay switches per particle
62 Int_t fDefMDME[2001]; // ! Default decay switches per mode
63 static AliPythia* fgAliPythia; // Pointer to single instance
67 ClassDef(AliPythia,1) //ALICE UI to PYTHIA