]>
Commit | Line | Data |
---|---|---|
b22ee262 | 1 | #ifndef ALIGENLIB_H |
2 | #define ALIGENLIB_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
5d1f1244 | 6 | /* $Id$ */ |
b22ee262 | 7 | |
8 | #include <TObject.h> | |
65fb704d | 9 | |
b22ee262 | 10 | #include "GenTypeDefs.h" |
65fb704d | 11 | class TRandom; |
b22ee262 | 12 | |
13 | class AliGenLib : | |
65fb704d | 14 | public TObject |
b22ee262 | 15 | { |
16 | public: | |
17 | // | |
18 | typedef Double_t (*GenFunc) (Double_t *, Double_t *); | |
65fb704d | 19 | typedef Int_t (*GenFuncIp)(TRandom *); |
b22ee262 | 20 | virtual GenFunc GetPt(Param_t param, const char *tname) = 0; |
21 | virtual GenFunc GetY (Param_t param, const char *tname) = 0; | |
22 | virtual GenFuncIp GetIp(Param_t param, const char *tname) = 0; | |
762c0d1d | 23 | ClassDef(AliGenLib,0) // Library providing y and pT parameterisations |
b22ee262 | 24 | }; |
25 | #endif | |
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 |