1 #ifndef ALIGENSTRANGELIB_H
2 #define ALIGENSTRANGELIB_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
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.
15 // Rocco CALIANDRO. Rosa Anna FINI, Tiziano VIRGILI
16 //======================================================================
20 class AliGenSTRANGElib :
24 enum constants{kKaon, kPhi, kLambda, kXiMinus, kOmegaMinus, kLambda1520};
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;
30 static Double_t PtPion(Double_t *px, Double_t *dummy);
31 static Double_t PtScal(Double_t pt, Int_t np);
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);
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);
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);
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);
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);
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);
57 ClassDef(AliGenSTRANGElib,0) // Library providing y and pT parameterisations