7 #include "AliGenerator.h"
8 #include "AliGeVSimParticle.h"
11 class AliGenGeVSim : public AliGenerator {
13 Int_t fModel; // Selected model (1-5)
14 Float_t fPsi; // Reaction Plane angle (0-2pi)
16 TF1 *fPtFormula; // Pt formula for model (1)
17 TF1 *fYFormula; // Y formula for model (1)
18 TF2 *fPtYFormula[4]; // Pt,Y formulae for model (2)-(4) and custom
19 TF1 *fPhiFormula; // phi formula
21 TObjArray *fPartTypes; // Registered particles
24 //void PlotDistributions();
26 Bool_t CheckPtYPhi(Float_t pt, Float_t y, Float_t phi);
27 Bool_t CheckP(Float_t p[3]);
29 Float_t FindScaler(Int_t paramId, Int_t pdg);
34 AliGenGeVSim(Int_t model, Float_t psi);
36 virtual ~AliGenGeVSim();
38 /////////////////////////////////////////////////////////////////
40 void AddParticleType(AliGeVSimParticle *part);
45 /////////////////////////////////////////////////////////////////
47 ClassDef(AliGenGeVSim, 1)