]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenGSIlib.h
Pythia takes care of vertex smearing. Correct conversion from Pythia units (mm) to
[u/mrichter/AliRoot.git] / EVGEN / AliGenGSIlib.h
1 #ifndef ALIGENGSILIB_H
2 #define ALIGENGSILIB_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 "AliGenLib.h"
9
10 class AliGenGSIlib :public AliGenLib {
11  public:
12
13 // Upsilon RITMAN   
14     static Double_t PtUpsilonRitman( Double_t *px, Double_t *dummy );
15     static Double_t YUpsilonRitman(Double_t *py, Double_t *dummy);
16     static Int_t    IpUpsilonRitman();
17 // Upsilon Karel
18     static Double_t PtUpsilonKarel( Double_t *px, Double_t *dummy );
19     static Double_t YUpsilonKarel(Double_t *py, Double_t *dummy);
20     static Int_t    IpUpsilonKarel();
21 // YpsMUON
22     static Double_t PtUpsilonMUON( Double_t *px, Double_t *dummy );
23     static Double_t YUpsilonMUON(Double_t *py, Double_t *dummy);
24     static Int_t    IpUpsilonMUON();
25
26 //
27     typedef Double_t (*GenFunc)  (Double_t *, Double_t *);
28     typedef Int_t    (*GenFuncIp)();
29     
30     GenFunc   GetPt(Param_t param, const char * tname=0);
31     GenFunc   GetY(Param_t param,  const char * tname=0);
32     GenFuncIp GetIp(Param_t param, const char * tname=0);    
33     static void SetDebug(Bool_t debug){fgDebug=debug;}
34 private:
35     static Bool_t fgDebug;  // Debug flag 
36   ClassDef(AliGenGSIlib,1)
37 };
38
39 #endif
40
41
42
43
44
45
46