]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFcalibHisto.cxx
Moving required CMake version from 2.8.4 to 2.8.8
[u/mrichter/AliRoot.git] / TOF / AliTOFcalibHisto.cxx
index b0cba1a5230523fd31a3c790f00222838a17b5df..26452c4e8935e7dec682b4f8cb3a94db6f4025dd 100644 (file)
@@ -663,7 +663,7 @@ AliTOFcalibHisto::GetCorrection(Int_t corr, Int_t index, Double_t tot)
 {
   /* apply correction */
 
-  Int_t ddl, chain, tdc, channel, hptdc, pbCh, feaIndex, sector, padx, trm, icIndex, sectorStrip;
+  Int_t ddl, chain, tdc, channel, hptdc, pbCh, feaIndex, sector, plate, padx, trm, icIndex, sectorStrip;
   Double_t slewing;
   
   switch (corr) {
@@ -694,6 +694,7 @@ AliTOFcalibHisto::GetCorrection(Int_t corr, Int_t index, Double_t tot)
       return GetCalibPar(kLeftFEAchDelayPar, pbCh);
   case kFEAdelayCorr:
     sector = (Int_t)GetCalibMap(kSector, index);
+    plate = (Int_t)GetCalibMap(kPlate, index);
     sectorStrip = (Int_t)GetCalibMap(kSectorStrip, index);
     padx = (Int_t)GetCalibMap(kPadX, index);
     feaIndex = padx / 12 + 4 * sectorStrip + 364 * sector;