]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenHIJINGpara.h
Corrected path to the default CDB storage (A.Colla)
[u/mrichter/AliRoot.git] / EVGEN / AliGenHIJINGpara.h
index b6366dac4c229267619ce66ad751651726183216..2164880d47fd6bd6986a15b7517211acea31cbcc 100644 (file)
@@ -9,9 +9,10 @@
 // used for the ALICE TDRs.
 // Author: andreas.morsch@cern.ch
 
+class TF1;
+
 #include "AliGenerator.h"
 #include "AliDecayer.h"
-class TF1;
 
 class AliGenHIJINGpara : public AliGenerator
 {
@@ -29,7 +30,8 @@ class AliGenHIJINGpara : public AliGenerator
   virtual void SetPtRange(Float_t ptmin = 0., Float_t ptmax=15.);
   virtual void SetPi0Decays(Bool_t flag = kFALSE) {fPi0Decays = flag;}
   virtual void SetWeighting(Int_t flag = 0) {fAnalog = flag;}
-
+  virtual void Draw( const char *);
+  
  protected:
   Int_t   fNt;          // CurrentTrack;
   Bool_t  fPi0Decays;   // Flag for pi0 decays
@@ -41,9 +43,8 @@ class AliGenHIJINGpara : public AliGenerator
   TF1* fETAkac;         // Parametrised eta distribution fro ka
   AliDecayer* fDecayer; // ! Pointer to pythia object for decays
 
- private:
   void DecayPi0(Float_t* orig, Float_t * p);
-  void Copy(AliGenHIJINGpara &para) const;
+  void Copy(TObject &para) const;
   ClassDef(AliGenHIJINGpara,3) // Hijing parametrisation generator
 };
 #endif