]>
Commit | Line | Data |
---|---|---|
0ed0a0a2 | 1 | #ifndef ALIGENPMDLIB_H |
2 | #define ALIGENPMDLIB_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 | ||
ac3faee4 | 8 | // |
9 | // Library of generators for PMD | |
10 | // providing y and pt parametrisation | |
11 | // for generated tracks | |
12 | // | |
13 | ||
65fb704d | 14 | class TRandom; |
0ed0a0a2 | 15 | |
ac3faee4 | 16 | #include "AliGenLib.h" |
17 | ||
18 | class AliGenPMDlib :public AliGenLib | |
0ed0a0a2 | 19 | { |
20 | public: | |
fac5662b | 21 | enum constants{kPion, kEta}; |
22 | GenFunc GetPt(Int_t param, const char* tname=0) const; | |
23 | GenFunc GetY (Int_t param, const char* tname=0) const; | |
24 | GenFuncIp GetIp(Int_t param, const char* tname=0) const; | |
25 | private: | |
0ed0a0a2 | 26 | // Neutral pions |
27 | static Double_t PtPi0(Double_t *px, Double_t *dummy); | |
28 | static Double_t PtScal(Double_t pt, Int_t np); | |
29 | static Double_t YPi0( Double_t *py, Double_t *dummy); | |
65fb704d | 30 | static Int_t IpPi0(TRandom *ran); |
0ed0a0a2 | 31 | // Etas |
32 | static Double_t PtEta(Double_t *px, Double_t *dummy); | |
33 | static Double_t YEta( Double_t *py, Double_t *dummy); | |
65fb704d | 34 | static Int_t IpEta(TRandom *ran); |
0ed0a0a2 | 35 | // |
762c0d1d | 36 | ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations |
0ed0a0a2 | 37 | }; |
38 | #endif | |
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 |