]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenHIJINGpara.h
Removing TF1s from the list of functions
[u/mrichter/AliRoot.git] / EVGEN / AliGenHIJINGpara.h
1 #ifndef ALIGENHIJINGPARA_H
2 #define ALIGENHIJINGPARA_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
8 // Parameterisation of pi and K, eta and pt distributions
9 // used for the ALICE TDRs.
10 // Author: andreas.morsch@cern.ch
11
12 #include "AliGenerator.h"
13 #include "AliDecayer.h"
14 class TF1;
15
16 class AliGenHIJINGpara : public AliGenerator
17 {
18  public:
19
20   AliGenHIJINGpara();
21   AliGenHIJINGpara(Int_t npart);
22   AliGenHIJINGpara(const AliGenHIJINGpara &HIJINGpara);
23   AliGenHIJINGpara& operator = (const AliGenHIJINGpara &para) 
24   {para.Copy(*this); return (*this);}
25   virtual ~AliGenHIJINGpara();
26   virtual void SetCutVertexZ(Float_t cut=999999.) {fCutVertexZ = cut;}
27   virtual void Generate();
28   virtual void Init();
29   virtual void SetPtRange(Float_t ptmin = 0., Float_t ptmax=15.);
30   virtual void SetPi0Decays(Bool_t flag = kFALSE) {fPi0Decays = flag;}
31   virtual void SetWeighting(Int_t flag = 0) {fAnalog = flag;}
32   virtual void Draw( const char *);
33   
34  protected:
35   Int_t   fNt;          // CurrentTrack;
36   Bool_t  fPi0Decays;   // Flag for pi0 decays
37   Float_t fPtWgtPi;     // pt weight for pions
38   Float_t fPtWgtKa;     // pt weight for kaons
39   TF1* fPtpi;           // Parametrised pt distribution for pi
40   TF1* fPtka;           // Parametrised pt distribution for ka
41   TF1* fETApic;         // Parametrised eta distribution for pi
42   TF1* fETAkac;         // Parametrised eta distribution fro ka
43   AliDecayer* fDecayer; // ! Pointer to pythia object for decays
44
45   void DecayPi0(Float_t* orig, Float_t * p);
46   void Copy(TObject &para) const;
47   ClassDef(AliGenHIJINGpara,3) // Hijing parametrisation generator
48 };
49 #endif
50
51
52
53
54
55
56
57
58
59