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 */
11 class AliPMDCalibGain : public TObject
14 AliPMDCalibGain() ; // ctor
15 AliPMDCalibGain(const AliPMDCalibGain &pmdcalibgain); // copy constructor
16 AliPMDCalibGain &operator=(const AliPMDCalibGain &pmdcalibgain); // assignment op
18 virtual ~AliPMDCalibGain() ; // dtor
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
24 Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont); //Looks for iso cells
26 void Analyse(TTree *gaintree);
32 kDet = 2, // Number of Planes
33 kMaxSMN = 24, // Number of Modules
34 kMaxRow = 48, // Number of Rows
35 kMaxCol = 96 // Number of Columns
38 Float_t fDetCount[kDet]; //counter detector wise
39 Float_t fDetIso[kDet];
40 Float_t fSMIso[kDet][kMaxSMN];
41 Float_t fSMCount[kDet][kMaxSMN]; // counter
42 Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // adc of iso cells
43 Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter
45 Float_t fPedMeanRMS[kDet][kMaxSMN][kMaxRow][kMaxCol];// Pedestal Mean
46 FILE *fpw; // write the temp file
48 ClassDef(AliPMDCalibGain,5) // description
50 #endif // ALIPMDCALIBGAIN_H