Number of pads along z is corrected
[u/mrichter/AliRoot.git] / VZERO / AliVZEROCalibData.h
CommitLineData
ee700a83 1#ifndef ALIVZEROCALIBDATA_H
2#define ALIVZEROCALIBDATA_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// //
9// class for VZERO calibration //
10// //
11////////////////////////////////////////////////
12
13#include "TNamed.h"
14#include "AliVZERO.h"
15
16class AliVZEROCalibData: public TNamed {
17
18 public:
19 AliVZEROCalibData();
20 AliVZEROCalibData(const char* name);
21 AliVZEROCalibData(const AliVZEROCalibData &calibda);
22 AliVZEROCalibData& operator= (const AliVZEROCalibData &calibda);
23 virtual ~AliVZEROCalibData();
ee700a83 24
25 Float_t GetPedestal(Int_t channel) const {return fPedestal[channel];}
26 Float_t* GetPedestal() const {return (float*)fPedestal;}
27 Float_t GetGain(Int_t channel) const {return fGain[channel];}
28 Float_t* GetGain() const {return (float*)fGain;}
29 //
30 void SetPedestal(Float_t val, Int_t channel) {fPedestal[channel]=val;}
31 void SetPedestal(Float_t* Pedestal);
32 void SetGain(Float_t val, Int_t channel) {fGain[channel]=val;}
33 void SetGain(Float_t* Gain);
34
35 protected:
36 Float_t fPedestal[80]; // Mean pedestal values
37 Float_t fGain[80]; // PM gains
38
39 ClassDef(AliVZEROCalibData,1) // VZERO Calibration data
40};
41
42#endif