]>
Commit | Line | Data |
---|---|---|
014616eb | 1 | #ifndef ALIGENGSILIB_H |
2 | #define ALIGENGSILIB_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 | ||
675e9664 | 8 | // Implementation of AliGenLib |
9 | // using GSI specific parameterisations. | |
10 | // Responsible: Andres.Sandoval@cern.ch | |
11 | ||
b22ee262 | 12 | #include "AliGenLib.h" |
65fb704d | 13 | class TRandom; |
014616eb | 14 | |
b22ee262 | 15 | class AliGenGSIlib :public AliGenLib { |
014616eb | 16 | public: |
34f60c01 | 17 | enum constants{kUpsilon}; |
014616eb | 18 | // Upsilon RITMAN |
19 | static Double_t PtUpsilonRitman( Double_t *px, Double_t *dummy ); | |
20 | static Double_t YUpsilonRitman(Double_t *py, Double_t *dummy); | |
65fb704d | 21 | static Int_t IpUpsilonRitman(TRandom *ran); |
014616eb | 22 | // Upsilon Karel |
23 | static Double_t PtUpsilonKarel( Double_t *px, Double_t *dummy ); | |
24 | static Double_t YUpsilonKarel(Double_t *py, Double_t *dummy); | |
65fb704d | 25 | static Int_t IpUpsilonKarel(TRandom *ran); |
014616eb | 26 | // YpsMUON |
27 | static Double_t PtUpsilonMUON( Double_t *px, Double_t *dummy ); | |
28 | static Double_t YUpsilonMUON(Double_t *py, Double_t *dummy); | |
65fb704d | 29 | static Int_t IpUpsilonMUON(TRandom *ran); |
014616eb | 30 | |
31 | // | |
32 | typedef Double_t (*GenFunc) (Double_t *, Double_t *); | |
65fb704d | 33 | typedef Int_t (*GenFuncIp)(TRandom *ran); |
b22ee262 | 34 | |
34f60c01 | 35 | GenFunc GetPt(Int_t param, const char * tname=0); |
36 | GenFunc GetY(Int_t param, const char * tname=0); | |
37 | GenFuncIp GetIp(Int_t param, const char * tname=0); | |
71649ca3 | 38 | static void SetDebug(Bool_t debug){fgDebug=debug;} |
014616eb | 39 | private: |
40 | static Bool_t fgDebug; // Debug flag | |
762c0d1d | 41 | ClassDef(AliGenGSIlib,0) |
014616eb | 42 | }; |
43 | ||
44 | #endif | |
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 |