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