]>
Commit | Line | Data |
---|---|---|
7bff3766 | 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 | ||
73bc3a3f | 13 | #include <TH1D.h> |
7bff3766 | 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(); | |
2d9c70ab | 23 | |
24 | virtual Float_t GetBeamEnergy() {return fBeamEnergy;} | |
48c7f545 | 25 | virtual TH1D* GethNpartDist() const {return fhNpartDist;} |
26 | virtual TH1D* GethbDist() const {return fhbDist;} | |
27 | virtual Float_t GetClkCenter() const {return fClkCenter;} | |
0d579f58 | 28 | |
73bc3a3f | 29 | virtual void PrintParameters() const {;} |
7bff3766 | 30 | |
2d9c70ab | 31 | virtual void SetGlauberMCDist(Float_t beamEnergy); |
32 | virtual void SetBeamEnergy(Float_t beamEnergy) {fBeamEnergy = beamEnergy;} | |
33 | ||
48c7f545 | 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 | ||
7bff3766 | 38 | protected: |
39 | ||
40 | AliZDCRecoParam(const AliZDCRecoParam&); | |
41 | AliZDCRecoParam& operator =(const AliZDCRecoParam&); | |
2d9c70ab | 42 | |
43 | Float_t fBeamEnergy; // beam energy | |
48c7f545 | 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 | |
7bff3766 | 49 | |
48c7f545 | 50 | ClassDef(AliZDCRecoParam, 4) |
7bff3766 | 51 | |
52 | }; | |
53 | ||
54 | #endif |