790bbabf |
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 | |
675e9664 |
8 | // Parameterisation of pi and K, eta and pt distributions |
9 | // used for the ALICE TDRs. |
10 | // Author: andreas.morsch@cern.ch |
11 | |
790bbabf |
12 | #include "AliGenerator.h" |
65fb704d |
13 | class TF1; |
2067f62c |
14 | class AliDecayerPythia; |
790bbabf |
15 | |
16 | class AliGenHIJINGpara : public AliGenerator |
17 | { |
18 | public: |
19 | |
20 | AliGenHIJINGpara(); |
21 | AliGenHIJINGpara(Int_t npart); |
22 | AliGenHIJINGpara(const AliGenHIJINGpara &HIJINGpara); |
23 | |
24 | virtual ~AliGenHIJINGpara(); |
971816d4 |
25 | virtual void SetCutVertexZ(Float_t cut=999999.) {fCutVertexZ = cut;} |
790bbabf |
26 | virtual void Generate(); |
27 | virtual void Init(); |
28 | AliGenHIJINGpara & operator=(const AliGenHIJINGpara & rhs); |
2067f62c |
29 | virtual void SetPtRange(Float_t ptmin = 0., Float_t ptmax=15.); |
30 | virtual void SetPi0Decays(Bool_t flag = kFALSE) {fPi0Decays = flag;} |
31 | private: |
32 | void DecayPi0(Float_t* orig, Float_t * p); |
790bbabf |
33 | protected: |
1e66857c |
34 | Int_t fNt; // CurrentTrack; |
971816d4 |
35 | Float_t fCutVertexZ; // Vertex truncation |
2067f62c |
36 | Bool_t fPi0Decays; // Flag for pi0 decays |
971816d4 |
37 | TF1* fPtpi; // Parametrised pt distribution for pi |
38 | TF1* fPtka; // Parametrised pt distribution for ka |
39 | TF1* fETApic; // Parametrised eta distribution for pi |
40 | TF1* fETAkac; // Parametrised eta distribution fro ka |
2067f62c |
41 | AliDecayerPythia *fDecayer; // ! Pointer to pythia object for decays |
14f9f6b4 |
42 | ClassDef(AliGenHIJINGpara,3) // Hijing parametrisation generator |
790bbabf |
43 | }; |
44 | #endif |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |