]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliPythia.h
Adding particles to the PDG database delegated to AliPDG.
[u/mrichter/AliRoot.git] / EVGEN / AliPythia.h
1 #ifndef ALIPYTHIA_H
2 #define ALIPYTHIA_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include <TPythia6.h>
9 #include <AliRndm.h>
10 #include "GenTypeDefs.h"
11
12 class AliPythia : public TPythia6, public AliRndm
13 {
14  public:
15     virtual ~AliPythia(){;}
16     // convert to compressed code and print result (for debugging only)
17     virtual Int_t CheckedLuComp(Int_t kf);
18     // Pythia initialisation for selected processes
19     virtual void ProcInit
20         (Process_t process, Float_t energy, StrucFunc_t strucfunc);
21     // treat protons as inside nuclei
22     virtual void    SetNuclei(Int_t a1, Int_t a2);
23     // return instance of the singleton
24     static  AliPythia* Instance();
25
26  protected:
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();
33
34     ClassDef(AliPythia,1) //ALICE UI to PYTHIA
35 };
36
37 #endif
38
39
40