ATO-98 - function returns also status value
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibPedestal.h
CommitLineData
24e8f6b2 1#ifndef ALIPMDCALIBPEDESTAL_H
2#define ALIPMDCALIBPEDESTAL_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include "TObject.h"
7
8class TH1F;
9class AliRawReader;
f3646355 10class TTree;
24e8f6b2 11
12class AliPMDCalibPedestal : public TObject {
13
14public:
15 AliPMDCalibPedestal();
16 AliPMDCalibPedestal(const AliPMDCalibPedestal &ped);
17 AliPMDCalibPedestal& operator = (const AliPMDCalibPedestal &source);
18 virtual ~AliPMDCalibPedestal();
19
70202332 20 Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont);
9d7353e3 21 void Analyse(TTree *pedtree);
24e8f6b2 22
23private:
24
0ab3a530 25 enum
26 {
27 kDet = 2, // Number of Planes
28 kMaxSMN = 24, // Number of Modules
29 kMaxRow = 48, // Number of Rows
30 kMaxCol = 96 // Number of Columns
31 };
32
33 Float_t fPedVal[kDet][kMaxSMN][kMaxRow][kMaxCol];
34 Float_t fPedValSq[kDet][kMaxSMN][kMaxRow][kMaxCol];
35 Float_t fPedCount[kDet][kMaxSMN][kMaxRow][kMaxCol];
70202332 36 Int_t fPedChain[6][51][25][64];
37 Int_t fRunNumber;
38 Int_t fEventNumber;
0ab3a530 39
70202332 40 ClassDef(AliPMDCalibPedestal,5)
24e8f6b2 41};
42
43
44
45#endif
46