warning fixed
[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
1da50520 18 virtual ~AliPMDCalibGain() ; // dtor
19
d31b0352 20 Int_t ExtractPedestal(const Char_t *rootFile); // pedestal
21 void ReadTempFile(const Char_t *tempFile); // read inter file
22 void WriteTempFile(const Char_t *tempFile);// write inter file
4fc06b3a 23
338c285a 24 Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont); //Looks for iso cells
4fc06b3a 25
26 void Analyse(TTree *gaintree);
27
28 private:
29
30 enum
31 {
0ab3a530 32 kDet = 2, // Number of Planes
4fc06b3a 33 kMaxSMN = 24, // Number of Modules
34 kMaxRow = 48, // Number of Rows
35 kMaxCol = 96 // Number of Columns
36 };
37
1da50520 38 Float_t fDetCount[kDet]; //counter detector wise
39 Float_t fDetIso[kDet];
0ab3a530 40 Float_t fSMIso[kDet][kMaxSMN];
1da50520 41 Float_t fSMCount[kDet][kMaxSMN]; // counter
42 Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // adc of iso cells
0ab3a530 43 Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter
4fc06b3a 44
1da50520 45 Float_t fPedMeanRMS[kDet][kMaxSMN][kMaxRow][kMaxCol];// Pedestal Mean
d31b0352 46 FILE *fpw; // write the temp file
1da50520 47
d31b0352 48ClassDef(AliPMDCalibGain,5) // description
4fc06b3a 49};
50#endif // ALIPMDCALIBGAIN_H