virtual ~AliPMDCalibGain() ; // dtor
- Int_t ExtractPedestal(); // Assign the pedestal values
- void ReadIntermediateFile(); // reads the intermediate file
- void WriteIntermediateFile(); // writes the intermediate file
+ 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
Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont); //Looks for iso cells
- void Analyse(TTree *gaintree);
+ 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
+ kMaxSMN = 24, // Number of Modules per plane
kMaxRow = 48, // Number of Rows
kMaxCol = 96 // Number of Columns
};
- Float_t fDetCount[kDet]; //counter detector wise
- Float_t fDetIso[kDet];
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
-
+ 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
- FILE *fpw; // write the intermediate file
-
-ClassDef(AliPMDCalibGain,4) // description
+ 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