]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCRecoParamPbPb.h
Fixes for #84564: Change in AliESDpid.cxx
[u/mrichter/AliRoot.git] / ZDC / AliZDCRecoParamPbPb.h
1 #ifndef ALIZDCRECOPARAMPBPB_H
2 #define ALIZDCRECOPARAMPBPB_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 //              Pb - Pb collisions                      //
10 //   Origin: Chiara.Oppedisano@to.infn.it               //
11 //                                                      //
12 //////////////////////////////////////////////////////////
13
14 #include "AliLog.h"
15 #include "AliCDBEntry.h"
16 #include "AliCDBManager.h"
17 #include "AliZDCRecoParam.h"
18
19 class AliZDCRecoParamPbPb : public AliZDCRecoParam {
20  public:
21   AliZDCRecoParamPbPb();
22   AliZDCRecoParamPbPb(TH1D * hNpart, TH1D * hb, Float_t clkCent);
23   AliZDCRecoParamPbPb(const AliZDCRecoParamPbPb &oldrecopar);
24   AliZDCRecoParamPbPb& operator= (const AliZDCRecoParamPbPb &recpar);
25   virtual ~AliZDCRecoParamPbPb();
26
27
28   // make reco parameters for A-A collisions
29   static AliZDCRecoParamPbPb *GetHighFluxParam(Float_t beamEnergy);
30   
31   TH1D* GethNpartDist()  const {return fhNpartDist;} 
32   TH1D* GethbDist()      const {return fhbDist;}
33   Float_t GetClkCenter() const {return fClkCenter;}
34   
35   void SetNpartDist(TH1D *hDist) {fhNpartDist = hDist;}    
36   void SetbDist(TH1D *hbDist) {fhbDist = hbDist;}    
37   void SetClkCenter(Float_t xValue) {fClkCenter = xValue;}    
38   void SetGlauberMCDist(Float_t beamEnergy); 
39     
40   //void Print(Option_t *) const; 
41   
42  protected:
43   
44   // *** PARAMETERS FOR Pb-Pb COLLISIONS
45   // --- Correlation E_ZDC vs. E_ZEM
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(AliZDCRecoParamPbPb, 3)
51
52 };
53
54 #endif