]>
Commit | Line | Data |
---|---|---|
87f8f72e | 1 | #ifndef ALIGENSTRANGELIB_H |
2 | #define ALIGENSTRANGELIB_H | |
3 | #include "AliGenLib.h" | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | ||
8 | /* $Id$ */ | |
9 | ||
ac3faee4 | 10 | //====================================================================== |
11 | // AliGenSTRANGElib class contains parameterizations of the | |
12 | // kaon, phi and hyperon (Lambda, Anti-Lambda, Xi, anti-Xi, Omega, | |
13 | // anti-Omega) for the PPR study of the strange particle production. | |
14 | // | |
15 | // Rocco CALIANDRO. Rosa Anna FINI, Tiziano VIRGILI | |
16 | //====================================================================== | |
17 | ||
87f8f72e | 18 | class TRandom; |
19 | ||
20 | class AliGenSTRANGElib : | |
21 | public AliGenLib | |
22 | { | |
23 | public: | |
13313168 | 24 | enum constants{kKaon, kPhi, kLambda, kXiMinus, kOmegaMinus, kLambda1520}; |
fac5662b | 25 | GenFunc GetPt(Int_t param, const char* tname=0) const; |
26 | GenFunc GetY (Int_t param, const char* tname=0) const; | |
27 | GenFuncIp GetIp(Int_t param, const char* tname=0) const; | |
28 | private: | |
87f8f72e | 29 | // pions |
30 | static Double_t PtPion(Double_t *px, Double_t *dummy); | |
31 | static Double_t PtScal(Double_t pt, Int_t np); | |
32 | // kaons | |
33 | static Double_t PtKaon(Double_t *px, Double_t *dummy); | |
34 | static Double_t YKaon( Double_t *py, Double_t *dummy); | |
35 | static Int_t IpKaon(TRandom* ran); | |
36 | // phis | |
37 | static Double_t PtPhi(Double_t *px, Double_t *dummy); | |
38 | static Double_t YPhi( Double_t *py, Double_t *dummy); | |
39 | static Int_t IpPhi(TRandom* ran); | |
40 | // lambda | |
41 | static Double_t PtLambda(Double_t *px, Double_t *dummy); | |
42 | static Double_t YLambda( Double_t *py, Double_t *dummy); | |
43 | static Int_t IpLambda(TRandom *ran); | |
44 | // Ximinus | |
45 | static Double_t PtXiMinus(Double_t *px, Double_t *dummy); | |
46 | static Double_t YXiMinus( Double_t *py, Double_t *dummy); | |
47 | static Int_t IpXiMinus(TRandom *ran); | |
48 | // Omegaminus | |
49 | static Double_t PtOmegaMinus(Double_t *px, Double_t *dummy); | |
50 | static Double_t YOmegaMinus( Double_t *py, Double_t *dummy); | |
51 | static Int_t IpOmegaMinus(TRandom *ran); | |
13313168 | 52 | // Lambda(1520) |
53 | static Double_t PtLambda1520(Double_t *px, Double_t *dummy); | |
54 | static Double_t YLambda1520(Double_t *py, Double_t *dummy); | |
55 | static Int_t IpLambda1520(TRandom *ran); | |
87f8f72e | 56 | |
87f8f72e | 57 | ClassDef(AliGenSTRANGElib,0) // Library providing y and pT parameterisations |
58 | }; | |
59 | #endif | |
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
d5b6b483 | 67 | |
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 |