]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCRecoParamPbPb.h
Needed histo file
[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   AliZDCRecoParamPbPb& operator= (const AliZDCRecoParamPbPb &recpar);
28   virtual ~AliZDCRecoParamPbPb();
29
30   AliZDCRecoParamPbPb *GetPbPbRecoParam() const;
31   
32   TH2F* GethZDCvsZEM()   const {return fhZDCvsZEM;}  
33   TH2F* GethZDCCvsZEM()  const {return fhZDCCvsZEM;}  
34   TH2F* GethZDCAvsZEM()  const {return fhZDCAvsZEM;}  
35   TH1D* GethNpartDist()  const {return fhNpartDist;} 
36   TH1D* GethbDist()      const {return fhbDist;}
37   Float_t GetClkCenter() const {return fClkCenter;}
38  
39   void SetZDCvsZEM(TH2F *hCorr)  {fhZDCvsZEM  = hCorr;}    
40   void SetZDCCvsZEM(TH2F *hCorr) {fhZDCCvsZEM = hCorr;}    
41   void SetZDCAvsZEM(TH2F *hCorr) {fhZDCAvsZEM = hCorr;}   
42   void SetNpartDist(TH1D *hDist) {fhNpartDist = hDist;}    
43   void SetbDist(TH1D *hbDist) {fhbDist = hbDist;}    
44   void SetClkCenter(Float_t xValue) {fClkCenter = xValue;}    
45   void SetGlauberMCDist(); 
46     
47   //void Print(Option_t *) const; 
48   
49  protected:
50   
51   // *** PARAMETERS FOR Pb-Pb COLLISIONS
52   // --- Correlation E_ZDC vs. E_ZEM
53   TH2F *  fhZDCvsZEM;   // E_ZDC (total) vs. E_ZEM 
54   TH2F *  fhZDCCvsZEM;  // E_ZDC vs. E_ZEM sideC
55   TH2F *  fhZDCAvsZEM;  // E_ZDC vs. E_ZEM sideA
56   TH1D *  fhNpartDist;  // Npart distribution from Glauber MC
57   TH1D *  fhbDist;      // b distribution from Glauber MC
58   Float_t fClkCenter;   // clock center: value of x-axis 
59  
60  ClassDef(AliZDCRecoParamPbPb, 2)
61
62 };
63
64 #endif