]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenGSIlib.h
Moving the functions used to initialize TF1 and TF2 to the pivate part of the class
[u/mrichter/AliRoot.git] / EVGEN / AliGenGSIlib.h
index 6afa5d9f8bd73eee3d50538fa3a6ad55160a00d8..1aa81e1dd22baee56baaad8fc32a0f8675a50d11 100644 (file)
@@ -20,8 +20,14 @@ class TRandom;
 
 class AliGenGSIlib :public AliGenLib {
  public:
+    GenFunc   GetPt(Int_t param, const char * tname=0) const;
+    GenFunc   GetY(Int_t param, const char * tname=0) const;
+    GenFuncIp GetIp(Int_t param, const char * tname=0) const;    
+
     enum constants{kUpsilon, kJPsi, kCharm, kBeauty, kEta, kEtaprime, kOmega, kRho, kKaon, kPion, kPhi, kLambda, kBaryons};
 
+ private:
+
     static Double_t PtScal(Double_t pt, Int_t np);
 
 // Upsilon
@@ -128,12 +134,6 @@ class AliGenGSIlib :public AliGenLib {
     static Double_t YBaryons(Double_t *py, Double_t *dummy);
 
 
-    typedef Double_t (*GenFunc)  (Double_t *, Double_t *);
-    typedef Int_t    (*GenFuncIp)(TRandom *ran);
-    
-    GenFunc   GetPt(Int_t param, const char * tname=0) const;
-    GenFunc   GetY(Int_t param, const char * tname=0) const;
-    GenFuncIp GetIp(Int_t param, const char * tname=0) const;    
 
   ClassDef(AliGenGSIlib,0)
 };