Fixes for coverity
[u/mrichter/AliRoot.git] / ZDC / AliZDCMBCalib.h
CommitLineData
0d579f58 1#ifndef ALIZDCMBCALIB_H
2#define ALIZDCMBCALIB_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/////////////////////////////////////////////////////////
8// class for ZDC calibration from MB standalone runs //
9/////////////////////////////////////////////////////////
10
11#include "TNamed.h"
12#include "TH2F.h"
13#include "AliCDBEntry.h"
14
15class AliZDC;
16
17class AliZDCMBCalib: public TNamed {
18
19 public:
20 AliZDCMBCalib();
21 AliZDCMBCalib(const char* name);
22 AliZDCMBCalib(const char* name,
23 TH2F *hzdcvszem, TH2F *hzdccvszem, TH2F *hzdcavszem);
24 AliZDCMBCalib(const AliZDCMBCalib &calibda);
25 AliZDCMBCalib& operator= (const AliZDCMBCalib &calibda);
26 virtual ~AliZDCMBCalib();
27 void Reset();
28
29 TH2F* GethZDCvsZEM() const {return fhZDCvsZEM;}
30 TH2F* GethZDCCvsZEM() const {return fhZDCCvsZEM;}
31 TH2F* GethZDCAvsZEM() const {return fhZDCAvsZEM;}
32 //
33 void SetZDCvsZEM(TH2F *hCorr) {fhZDCvsZEM = hCorr;}
34 void SetZDCCvsZEM(TH2F *hCorr) {fhZDCCvsZEM = hCorr;}
35 void SetZDCAvsZEM(TH2F *hCorr) {fhZDCAvsZEM = hCorr;}
36
37 protected:
38 TH2F * fhZDCvsZEM; // E_ZDC (total) vs. E_ZEM
39 TH2F * fhZDCCvsZEM; // E_ZDC vs. E_ZEM sideC
40 TH2F * fhZDCAvsZEM; // E_ZDC vs. E_ZEM sideA
41 //
42 ClassDef(AliZDCMBCalib,1) // ZDC calibration calibration data
43};
44
45#endif