AliPMDCalibGain(const AliPMDCalibGain &pmdcalibgain); // copy constructor
AliPMDCalibGain &operator=(const AliPMDCalibGain &pmdcalibgain); // assignment op
- virtual ~AliPMDCalibGain() ; // dtor
+ virtual ~AliPMDCalibGain() ; // dtor
- Bool_t ProcessEvent(AliRawReader *rawReader); //Looks for iso cells
+ Int_t ExtractPedestal(const Char_t *rootFile); // pedestal
+ Int_t ExtractHotChannel(const Char_t *rootFile); // Hotchannel root file
+ void ReadTempFile(const Char_t *tempFile); // read inter file
+ void WriteTempFile(const Char_t *tempFile); // write inter file
- void Analyse(TTree *gaintree);
+ Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont); //Looks for iso cells
+
+ void Analyse(TTree *gaintree, TTree *meantree);
+ void FindHotCell(TTree *hottree, Float_t xvar); // finds hot cell
private:
enum
{
- kDet = 2, // Number of Planes
- kMaxSMN = 24, // Number of Modules
+ kDet = 2, // Number of Planes
+ kMaxSMN = 24, // Number of Modules per plane
kMaxRow = 48, // Number of Rows
kMaxCol = 96 // Number of Columns
};
- TH1F *fHsmIso[kDet][kMaxSMN]; //histos of isolated cells modulewise
- TH1F *fHadcIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // histos of iso cells cellwise
-
-
-ClassDef(AliPMDCalibGain,1) // description
+ Float_t fSMIso[kDet][kMaxSMN];
+ Float_t fSMCount[kDet][kMaxSMN]; // counter
+ Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol]; // adc of iso cells
+ Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter of iso cell
+ Float_t fNhitCell[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter
+ Float_t fPedMeanRMS[kDet][kMaxSMN][kMaxRow][kMaxCol];// Pedestal Mean
+ Float_t fHotFlag[kDet][kMaxSMN][kMaxRow][kMaxCol]; // HotChannel Flag
+
+ Float_t fCountSm[kDet][kMaxSMN]; // event counter for each module
+ Float_t fTempnhit[kDet][kMaxSMN]; // hit frequency of each module
+ Float_t fTempnhitSq[kDet][kMaxSMN]; // square of hit freq. of each mod.
+ FILE *fpw; // write the temp file
+
+ClassDef(AliPMDCalibGain,7) // description
};
#endif // ALIPMDCALIBGAIN_H