const int kReturnCodeNoObject = 2;
const int kReturnCodeNoEntries = 1;
-const int kNTRU = 30; // From 2011; 10 SuperModules (SM) * 3 TRU per SM
+const int kNTRU = 32; // From 2012; 10 + 2/3 SuperModules (SM) * 3 TRU per SM
ClassImp(AliEMCALPreprocessor)
Int_t badLink[32] = {0};
Int_t nBadLink = 0;
- for(Int_t ix = 0; ix <= hFrameR->GetNbinsX(); ix++) {
+ for(Int_t ix = 1; ix <= hFrameR->GetNbinsX(); ix++) {
Double_t binContent = hFrameR->GetBinContent(ix) ;
if (binContent == 0) {
- badLink[ix] += 1;
+ badLink[ix-1] += 1;
nBadLink += 1;
}
}