Int_t iCol = 0;
Int_t iRow = 0;
Int_t nCorr = nBins;
- Float_t Correction = val;
+ Float_t correction = val;
Int_t nAPDPerSM = AliEMCALGeoParams::fgkEMCALCols * AliEMCALGeoParams::fgkEMCALRows;
t->GetCorrection(iCol,iRow)->Set(nCorr);
for (Int_t k=0; k<nCorr; k++) {
// add to TArray
- t->GetCorrection(iCol,iRow)->AddAt(Correction, k); // AddAt = SetAt..
+ t->GetCorrection(iCol,iRow)->AddAt(correction, k); // AddAt = SetAt..
}
}
//____________________________________________________________________________
Float_t AliEMCALCalibTimeDepCorrection::GetCorrection(Int_t supModIndex, Int_t iCol, Int_t iRow, Int_t iBin) const
{ // if you call for non-existing data, there may be a crash..
- ((AliEMCALSuperModuleCalibTimeDepCorrection*)fSuperModuleData[supModIndex])->GetCorrection(iCol,iRow)->At(iBin);
+ return ((AliEMCALSuperModuleCalibTimeDepCorrection*)fSuperModuleData[supModIndex])->GetCorrection(iCol,iRow)->At(iBin);
}
//____________________________________________________________________________
Int_t iCol = 0;
Int_t iRow = 0;
Int_t nCorr = 0;
- Float_t Correction = 0;
+ Float_t correction = 0;
Int_t nAPDPerSM = AliEMCALGeoParams::fgkEMCALCols * AliEMCALGeoParams::fgkEMCALRows;
// set size of TArray
t->GetCorrection(iCol,iRow)->Set(nCorr);
for (Int_t k=0; k<nCorr; k++) {
- inputFile >> Correction;
+ inputFile >> correction;
// add to TArray
- t->GetCorrection(iCol,iRow)->AddAt(Correction, k);
+ t->GetCorrection(iCol,iRow)->AddAt(correction, k);
}
}