1 #ifndef ALIGENMUONLIB_H
2 #define ALIGENMUONLIB_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
14 enum constants{kPhi, kOmega, kEta, kJpsi, kUpsilon, kCharm, kBeauty, kPion, kKaon};
18 static Double_t PtPion(Double_t *px, Double_t *dummy);
19 static Double_t PtScal(Double_t pt, Int_t np);
20 static Double_t YPion( Double_t *py, Double_t *dummy);
21 static Int_t IpPion(TRandom *ran);
23 static Double_t PtKaon(Double_t *px, Double_t *dummy);
24 static Double_t YKaon( Double_t *py, Double_t *dummy);
25 static Int_t IpKaon(TRandom *ran);
27 static Double_t PtPhi( Double_t *px, Double_t *dummy);
28 static Double_t YPhi( Double_t *px, Double_t *dummy);
29 static Int_t IpPhi(TRandom *ran);
31 static Double_t PtOmega( Double_t *px, Double_t *dummy);
32 static Double_t YOmega( Double_t *px, Double_t *dummy);
33 static Int_t IpOmega(TRandom *ran);
35 static Double_t PtEta( Double_t *px, Double_t *dummy);
36 static Double_t YEta( Double_t *px, Double_t *dummy);
37 static Int_t IpEta(TRandom *ran);
39 static Double_t PtJpsi( Double_t *px, Double_t *dummy);
40 static Double_t YJpsi(Double_t *py, Double_t *dummy);
41 static Int_t IpJpsi(TRandom *ran);
43 static Double_t PtUpsilon( Double_t *px, Double_t *dummy );
44 static Double_t YUpsilon(Double_t *py, Double_t *dummy);
45 static Int_t IpUpsilon(TRandom *ran);
48 static Double_t PtCharm( Double_t *px, Double_t *dummy );
49 static Double_t YCharm(Double_t *py, Double_t *dummy);
50 static Int_t IpCharm(TRandom *ran);
53 static Double_t PtBeauty( Double_t *px, Double_t *dummy );
54 static Double_t YBeauty(Double_t *py, Double_t *dummy);
55 static Int_t IpBeauty(TRandom *ran);
57 GenFunc GetPt(Int_t param, const char* tname=0);
58 GenFunc GetY (Int_t param, const char* tname=0);
59 GenFuncIp GetIp(Int_t param, const char* tname=0);
60 ClassDef(AliGenMUONlib,0) // Library providing y and pT parameterisations