]>
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> |
fe4da5cc | 9 | #include "GenTypeDefs.h" |
10 | ||
95b811fe | 11 | class AliPythia:public TPythia6 |
fe4da5cc | 12 | { |
fe4da5cc | 13 | public: |
75c6d54e | 14 | virtual ~AliPythia(){;} |
fe4da5cc | 15 | // convert to compressed code and print result (for debugging only) |
f87cfe57 | 16 | virtual Int_t CheckedLuComp(Int_t kf); |
fe4da5cc | 17 | // Pythia initialisation for selected processes |
18 | virtual void ProcInit | |
19 | (Process_t process, Float_t energy, StrucFunc_t strucfunc); | |
95b811fe | 20 | static AliPythia* Instance(); |
21 | ||
f87cfe57 | 22 | protected: |
95b811fe | 23 | Process_t fProcess; // Process type |
24 | Float_t fEcms; // Centre of mass energy | |
25 | StrucFunc_t fStrucFunc; // Structure function | |
26 | static AliPythia* fgAliPythia; // Pointer to single instance | |
27 | private: | |
28 | AliPythia(); | |
f87cfe57 | 29 | |
fe4da5cc | 30 | ClassDef(AliPythia,1) //ALICE UI to PYTHIA |
31 | }; | |
32 | ||
33 | #endif | |
34 | ||
35 | ||
36 |