]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCRecoParamPbPb.h
Getting ADC map from OCDB in Digits2Raw
[u/mrichter/AliRoot.git] / ZDC / AliZDCRecoParamPbPb.h
CommitLineData
7bff3766 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
73bc3a3f 14#include "AliLog.h"
15#include "AliCDBEntry.h"
16#include "AliCDBManager.h"
7bff3766 17#include "AliZDCRecoParam.h"
18#include "AliZDCRecoParamPbPb.h"
19
7bff3766 20class AliZDCRecoParamPbPb : public AliZDCRecoParam {
21 public:
22 AliZDCRecoParamPbPb();
73bc3a3f 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);
db0907f4 27 AliZDCRecoParamPbPb& operator= (const AliZDCRecoParamPbPb &recpar);
7bff3766 28 virtual ~AliZDCRecoParamPbPb();
29
73bc3a3f 30 AliZDCRecoParamPbPb *GetPbPbRecoParam() const;
7bff3766 31
73bc3a3f 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();
7bff3766 46
73bc3a3f 47 //void Print(Option_t *) const;
7bff3766 48
49 protected:
50
7bff3766 51 // *** PARAMETERS FOR Pb-Pb COLLISIONS
73bc3a3f 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
7bff3766 59
73bc3a3f 60 ClassDef(AliZDCRecoParamPbPb, 2)
7bff3766 61
62};
63
64#endif