]>
Commit | Line | Data |
---|---|---|
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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliGenLib.h" | |
9 | ||
10 | class AliGenMUONlib : | |
11 | public AliGenLib | |
12 | { | |
13 | public: | |
14 | enum constants{kPhi, kJpsi, kUpsilon, kCharm, kBeauty, kPion, kKaon}; | |
15 | ||
16 | ||
17 | // pions | |
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); | |
22 | // kaons | |
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); | |
26 | // Phi | |
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); | |
30 | // J/Psi | |
31 | static Double_t PtJpsi( Double_t *px, Double_t *dummy); | |
32 | static Double_t YJpsi(Double_t *py, Double_t *dummy); | |
33 | static Int_t IpJpsi(TRandom *ran); | |
34 | // Upsilon | |
35 | static Double_t PtUpsilon( Double_t *px, Double_t *dummy ); | |
36 | static Double_t YUpsilon(Double_t *py, Double_t *dummy); | |
37 | static Int_t IpUpsilon(TRandom *ran); | |
38 | // | |
39 | // Charm | |
40 | static Double_t PtCharm( Double_t *px, Double_t *dummy ); | |
41 | static Double_t YCharm(Double_t *py, Double_t *dummy); | |
42 | static Int_t IpCharm(TRandom *ran); | |
43 | // | |
44 | // Beauty | |
45 | static Double_t PtBeauty( Double_t *px, Double_t *dummy ); | |
46 | static Double_t YBeauty(Double_t *py, Double_t *dummy); | |
47 | static Int_t IpBeauty(TRandom *ran); | |
48 | // | |
49 | GenFunc GetPt(Int_t param, const char* tname=0); | |
50 | GenFunc GetY (Int_t param, const char* tname=0); | |
51 | GenFuncIp GetIp(Int_t param, const char* tname=0); | |
52 | ClassDef(AliGenMUONlib,0) // Library providing y and pT parameterisations | |
53 | }; | |
54 | #endif | |
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 |