- TTree *fPedTree; //Pedestal Tree
- Int_t fa; //DILOGIC address
- Int_t fd; //DILOGIC number
- Int_t fr; //DILOGIC row
- Bool_t faddl[11]; //check is ddl is filled
- Int_t fq; //Qdc value
- TH1F *fPedHisto; //temporary histo for mean and sigma calculation
-
- ClassDef(AliHMPIDCalib,1) //HMPID calibration and pedestal class
+
+ Bool_t *faddl; //check is ddl is filled
+ Float_t ****fsq; //Sum of pad Q
+ Float_t ****fsq2; //Sum of pad Q^2
+ Int_t ****fnpc; //# of the pad was called with non zero charge
+ Int_t ****fpedQ0; //Check how many times a pad gives 0 charge in pedestal runs
+ Int_t **fErr; // Store the numner of errors for a given error type and a given DDL
+ TH1I **fPadAdc; //Charge distribution for pads
+ Bool_t *fIsPad; //Check if the ADC histo for the pad is booked or not
+ TFile *fFile; //ADC histo output file (one per LDC)
+ UInt_t fLdcId; //Ldc ID
+ UInt_t fTimeStamp; //Time Stamp
+ Int_t fRunNum; //Run Number
+ Int_t fSigCut; //n. of pedestal distribution sigmas used to create zero suppresion table
+ Int_t *fnDDLInStream; // if the DDL is in the raw data
+ Int_t *fnDDLOutStream; // if the DDL is in the raw data
+ Bool_t fLargeHisto; //Default is kFALSE.if kTRUE then write large pad histograms with 4093 bins!!!! Only if you have 2GB of RAM!!!
+ Int_t fSelectDDL; //Select the DDL to write for the in the large histograms. Only ONE at one time!
+ THnSparse *fDeadMap; //Dead Channel Map
+ TH2F **fPedMeanMap; //2D mean pedestal map to export to AMORE
+ TH2F **fPedSigMap; //2D pedestal sigma map to export to AMORE
+ TH1F **f1DPedMean; //1D mean pedestal map to export to AMORE
+ TH1F **f1DPedSigma; //1D pedestal sigma map to export to AMORE
+ Int_t fNumMaskedPads; //Number of masked pads
+ Int_t fNumDeadPads; //Number of currently dead channels
+
+ private:
+
+ AliHMPIDCalib(const AliHMPIDCalib& c); //dummy copy constructor
+ AliHMPIDCalib &operator=(const AliHMPIDCalib& c); //dummy assignment operator
+
+ ClassDef(AliHMPIDCalib,5) //HMPID calibration and pedestal class