New version of the PMD DA avoiding the creation of huge amount of histograms. Now...
[u/mrichter/AliRoot.git] / PMD / AliPMDCalibGain.h
CommitLineData
4fc06b3a 1#ifndef ALIPMDCALIBGAIN_H
2#define ALIPMDCALIBGAIN_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;
10
11class AliPMDCalibGain : public TObject
12{
13 public:
14 AliPMDCalibGain() ; // ctor
15 AliPMDCalibGain(const AliPMDCalibGain &pmdcalibgain); // copy constructor
16 AliPMDCalibGain &operator=(const AliPMDCalibGain &pmdcalibgain); // assignment op
17
18 virtual ~AliPMDCalibGain() ; // dtor
19
20 Bool_t ProcessEvent(AliRawReader *rawReader); //Looks for iso cells
21
22 void Analyse(TTree *gaintree);
23
24 private:
25
26 enum
27 {
0ab3a530 28 kDet = 2, // Number of Planes
4fc06b3a 29 kMaxSMN = 24, // Number of Modules
30 kMaxRow = 48, // Number of Rows
31 kMaxCol = 96 // Number of Columns
32 };
33
0ab3a530 34 Float_t fSMIso[kDet][kMaxSMN];
35 Float_t fSMCount[kDet][kMaxSMN]; // counter
36 Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // adc of iso cells
37 Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter
4fc06b3a 38
0ab3a530 39ClassDef(AliPMDCalibGain,2) // description
4fc06b3a 40};
41#endif // ALIPMDCALIBGAIN_H