]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIMEVSIMCONFIG_H | |
2 | #define ALIMEVSIMCONFIG_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //__________________________________________________________________ | |
10 | //////////////////////////////////////////////////////////////////// | |
11 | // | |
12 | // class AliMevSimConfig | |
13 | // | |
14 | // Class containing configuation inforamtion for MeVSim generator | |
15 | // -------------------------------------------- | |
16 | // -------------------------------------------- | |
17 | // -------------------------------------------- | |
18 | // author: radomski@if.pw.edu.pl | |
19 | // | |
20 | //////////////////////////////////////////////////////////////////// | |
21 | ||
22 | #include "TObject.h" | |
23 | ||
24 | class AliGenMevSim; | |
25 | ||
26 | class AliMevSimConfig : public TObject { | |
27 | ||
28 | protected: | |
29 | ||
30 | static const Int_t fgkMAX_MODEL = 4; //Maximum number of available models | |
31 | static const Int_t fgkMAX_CTRL = 4;//Maximum number of available controls | |
32 | ||
33 | Int_t fModelType; //current type of model | |
34 | ||
35 | Int_t fReacPlaneCntrl; //reaction plane simulation model | |
36 | Float_t fPsiRMean; //fPsiRMean mean psi | |
37 | Float_t fPsiRStDev; //fPsiRStDev psi variance | |
38 | ||
39 | Float_t fMultFacMean;//fMultFacMean Mean multiplicity | |
40 | Float_t fMultFacStDev;//fMultFacStDev multiplicity variance | |
41 | ||
42 | Float_t fNStDevMult;//fNStDevMult | |
43 | Float_t fNStDevTemp;//fNStDevTemp | |
44 | Float_t fNStDevSigma;//fNStDevSigma | |
45 | Float_t fNStDevExpVel;//fNStDevExpVel | |
46 | Float_t fNStdDevPSIr;//fNStdDevPSIr | |
47 | Float_t fNStDevVn;//fNStDevVn | |
48 | Float_t fNStDevMultFac;//fNStDevMultFac | |
49 | ||
50 | Int_t fNIntegPts;//fNIntegPts | |
51 | Int_t fNScanPts;//fNScanPts | |
52 | ||
53 | void Init(); | |
54 | ||
55 | public: | |
56 | ||
57 | AliMevSimConfig(); | |
58 | AliMevSimConfig(Int_t modelType); | |
59 | ||
60 | ~AliMevSimConfig(); | |
61 | ||
62 | void SetModelType(Int_t modelType); | |
63 | Int_t GetModelType() const {return fModelType;} | |
64 | ||
65 | void SetRectPlane(Int_t ctrl, Float_t psiRMean = 0, Float_t psiRStDev = 0); | |
66 | void GetRectPlane(Int_t& ctrl, Float_t& psiRMean, Float_t& psiRStDev ) const | |
67 | {ctrl = fReacPlaneCntrl; psiRMean = fPsiRMean; psiRStDev = fPsiRStDev;} | |
68 | ||
69 | void SetMultFac(Float_t mean, Float_t stDev); | |
70 | void GetMultFac(Float_t& mean, Float_t& stDev) const {mean = fMultFacMean ;stDev = fMultFacStDev;} | |
71 | ||
72 | void SetStDev(Float_t mult, Float_t temp, Float_t sigma, | |
73 | Float_t expVel, Float_t psiR, Float_t Vn, Float_t multFac); | |
74 | void GetStDev(Float_t& mult, Float_t& temp, Float_t& sigma, | |
75 | Float_t& expVel, Float_t& psiR, Float_t& Vn, Float_t& multFac) const; | |
76 | void SetGrid(Int_t integr, Int_t scan); | |
77 | void GetGrid(Int_t& integr, Int_t& scan) const {scan=fNScanPts;integr=fNIntegPts;} | |
78 | ||
79 | ClassDef(AliMevSimConfig,1) | |
80 | ||
81 | }; | |
82 | ||
83 | ||
84 | #endif |