]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIZDCRECOPARAM_H | |
2 | #define ALIZDCRECOPARAM_H | |
3 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ////////////////////////////////////////////////////////// | |
7 | // // | |
8 | // Class with ZDC reconstruction parameters // | |
9 | // Origin: Chiara.Oppedisano@to.infn.it // | |
10 | // // | |
11 | ////////////////////////////////////////////////////////// | |
12 | ||
13 | #include <TH1D.h> | |
14 | #include <TF1.h> | |
15 | #include "AliDetectorRecoParam.h" | |
16 | ||
17 | //class TF1; | |
18 | ||
19 | class AliZDCRecoParam : public AliDetectorRecoParam { | |
20 | public: | |
21 | AliZDCRecoParam(); | |
22 | virtual ~AliZDCRecoParam(); | |
23 | ||
24 | virtual Float_t GetBeamEnergy() {return fBeamEnergy;} | |
25 | virtual TH1D* GethNpartDist() const {return fhNpartDist;} | |
26 | virtual TH1D* GethbDist() const {return fhbDist;} | |
27 | virtual Float_t GetClkCenter() const {return fClkCenter;} | |
28 | ||
29 | virtual void PrintParameters() const {;} | |
30 | ||
31 | virtual void SetGlauberMCDist(Float_t beamEnergy); | |
32 | virtual void SetBeamEnergy(Float_t beamEnergy) {fBeamEnergy = beamEnergy;} | |
33 | ||
34 | virtual void SetNpartDist(TH1D *hDist) {fhNpartDist = hDist;} | |
35 | virtual void SetbDist(TH1D *hbDist) {fhbDist = hbDist;} | |
36 | virtual void SetClkCenter(Float_t xValue) {fClkCenter = xValue;} | |
37 | ||
38 | protected: | |
39 | ||
40 | AliZDCRecoParam(const AliZDCRecoParam&); | |
41 | AliZDCRecoParam& operator =(const AliZDCRecoParam&); | |
42 | ||
43 | Float_t fBeamEnergy; // beam energy | |
44 | ||
45 | // *** PARAMETERS FOR Pb-Pb | |
46 | TH1D * fhNpartDist; // Npart distribution from Glauber MC | |
47 | TH1D * fhbDist; // b distribution from Glauber MC | |
48 | Float_t fClkCenter; // clock center: value of x-axis | |
49 | ||
50 | ClassDef(AliZDCRecoParam, 4) | |
51 | ||
52 | }; | |
53 | ||
54 | #endif |