bugfix: configurations of subsequent agents have been shadowed by loading of addition...
[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
20 Bool_t ProcessEvent(AliRawReader *rawReader);
9d7353e3 21 void Analyse(TTree *pedtree);
722ccc67 22 void ConvertDDL(Int_t det, Int_t smn, Int_t &ddlno);
24e8f6b2 23
24private:
25
0ab3a530 26 enum
27 {
28 kDet = 2, // Number of Planes
29 kMaxSMN = 24, // Number of Modules
30 kMaxRow = 48, // Number of Rows
31 kMaxCol = 96 // Number of Columns
32 };
33
34 Float_t fPedVal[kDet][kMaxSMN][kMaxRow][kMaxCol];
35 Float_t fPedValSq[kDet][kMaxSMN][kMaxRow][kMaxCol];
36 Float_t fPedCount[kDet][kMaxSMN][kMaxRow][kMaxCol];
722ccc67 37 UInt_t fPedChain[kDet][kMaxSMN][kMaxRow][kMaxCol];
0ab3a530 38
39
722ccc67 40 ClassDef(AliPMDCalibPedestal,4)
24e8f6b2 41};
42
43
44
45#endif
46