]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCRecoParamPbPb.h
Updated reco alghorithm, changes in OCDB object and in RecoParam objects, new classes...
[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 #include "AliZDCRecoParamPbPb.h"
19
20 class AliZDCRecoParamPbPb : public AliZDCRecoParam {
21  public:
22   AliZDCRecoParamPbPb();
23   AliZDCRecoParamPbPb(TH2F * hZDCvsZEM, TH2F * hZDCCvsZEM, TH2F * hZDCAvsZEM);
24   AliZDCRecoParamPbPb(TH2F * hZDCvsZEM, TH2F * hZDCCvsZEM, TH2F * hZDCAvsZEM,
25                       TH1D * hNpart, TH1D * hb, Float_t clkCent);
26   AliZDCRecoParamPbPb(const AliZDCRecoParamPbPb &oldrecopar);
27   virtual ~AliZDCRecoParamPbPb();
28
29   AliZDCRecoParamPbPb *GetPbPbRecoParam() const;
30   
31   TH2F* GethZDCvsZEM()   const {return fhZDCvsZEM;}  
32   TH2F* GethZDCCvsZEM()  const {return fhZDCCvsZEM;}  
33   TH2F* GethZDCAvsZEM()  const {return fhZDCAvsZEM;}  
34   TH1D* GethNpartDist()  const {return fhNpartDist;} 
35   TH1D* GethbDist()      const {return fhbDist;}
36   Float_t GetClkCenter() const {return fClkCenter;}
37  
38   void SetZDCvsZEM(TH2F *hCorr)  {fhZDCvsZEM  = hCorr;}    
39   void SetZDCCvsZEM(TH2F *hCorr) {fhZDCCvsZEM = hCorr;}    
40   void SetZDCAvsZEM(TH2F *hCorr) {fhZDCAvsZEM = hCorr;}   
41   void SetNpartDist(TH1D *hDist) {fhNpartDist = hDist;}    
42   void SetbDist(TH1D *hbDist) {fhbDist = hbDist;}    
43   void SetClkCenter(Float_t xValue) {fClkCenter = xValue;}    
44   void SetGlauberMCDist(); 
45     
46   //void Print(Option_t *) const; 
47   
48  protected:
49   
50   // *** PARAMETERS FOR Pb-Pb COLLISIONS
51   // --- Correlation E_ZDC vs. E_ZEM
52   TH2F *  fhZDCvsZEM;   // E_ZDC (total) vs. E_ZEM 
53   TH2F *  fhZDCCvsZEM;  // E_ZDC vs. E_ZEM sideC
54   TH2F *  fhZDCAvsZEM;  // E_ZDC vs. E_ZEM sideA
55   TH1D *  fhNpartDist;  // Npart distribution from Glauber MC
56   TH1D *  fhbDist;      // b distribution from Glauber MC
57   Float_t fClkCenter;   // clock center: value of x-axis 
58  
59  ClassDef(AliZDCRecoParamPbPb, 2)
60
61 };
62
63 #endif