Line data Source code
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 :
8 : //
9 : // Library of generators for PMD
10 : // providing y and pt parametrisation
11 : // for generated tracks
12 : //
13 :
14 : class TRandom;
15 :
16 : #include "AliGenLib.h"
17 :
18 0 : class AliGenPMDlib :public AliGenLib
19 : {
20 : public:
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:
26 : // Neutral pions
27 : static Double_t PtPi0(const Double_t *px, const Double_t *dummy);
28 : static Double_t PtScal(Double_t pt, Int_t np);
29 : static Double_t YPi0( const Double_t *py, const Double_t *dummy);
30 : static Int_t IpPi0(TRandom *ran);
31 : // Etas
32 : static Double_t PtEta(const Double_t *px, const Double_t *dummy);
33 : static Double_t YEta( const Double_t *py, const Double_t *dummy);
34 : static Int_t IpEta(TRandom *ran);
35 : //
36 6 : ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations
37 : };
38 : #endif
39 :
40 :
41 :
42 :
43 :
44 :
45 :
|