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