ALIROOT-5420 Changes for CDH v3
[u/mrichter/AliRoot.git] / ZDC / AliZDCSaturationCalib.h
CommitLineData
960c5431 1#ifndef ALIZDCSATURATIONCALIB_H
2#define ALIZDCSATURATIONCALIB_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 -> p-A high rate run //
9//////////////////////////////////////////////////////////
10
11#include "TNamed.h"
12#include "AliCDBEntry.h"
13
14class AliZDC;
15
16class AliZDCSaturationCalib: public TNamed {
17
18 public:
19 AliZDCSaturationCalib();
20 AliZDCSaturationCalib(const char* name);
21 AliZDCSaturationCalib(const AliZDCSaturationCalib &calibda);
22 AliZDCSaturationCalib& operator= (const AliZDCSaturationCalib &calibda);
23 virtual ~AliZDCSaturationCalib();
24 void Reset();
25 virtual void Print(Option_t *) const;
26 //
27 Float_t* GetZNASatCalib() const {return (float*)fZNASatCalibration;}
28 Float_t GetZNASatCalib(int i) const {return fZNASatCalibration[i];}
29 void SetZNASatCalib(Float_t* EnCalib);
30
31 Float_t* GetZNCSatCalib() const {return (float*)fZNCSatCalibration;}
32 Float_t GetZNCSatCalib(int i) const {return fZNCSatCalibration[i];}
33 void SetZNCSatCalib(Float_t* EnCalib);
34
35 protected:
36 //
37 Float_t fZNASatCalibration[4]; // Coeff. for ZNA calibration
38 Float_t fZNCSatCalibration[4]; // Coeff. for ZNC calibration
39 //
40 ClassDef(AliZDCSaturationCalib,1) // ZDC calibration calibration data
41};
42
43#endif