3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 // Library of generators for PMD
10 // providing y and pt parametrisation
11 // for generated tracks
16 #include "AliGenLib.h"
18 class AliGenPMDlib :public AliGenLib
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;
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);
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);
36 ClassDef(AliGenPMDlib,0) // Library providing y and pT parameterisations