]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFTrigger.cxx
small fix
[u/mrichter/AliRoot.git] / TOF / AliTOFTrigger.cxx
index 8208036586d97fc619e6c08cf7d81a6af1b39568..cab759c0e03b3508714be8407d607c8823a21919 100644 (file)
@@ -585,9 +585,6 @@ void AliTOFTrigger::CreateLTMMatrixFromRaw(AliRawReader *fRawReader) {
     
     Int_t dummy = -1;
     Int_t detectorIndex[5] = {-1, -1, -1, -1, -1};
-    Int_t digit[2];
-    //Int_t track = -1;
-    //Int_t last = -1;
     
     Int_t indexDDL = 0;
     Int_t iRawData = 0;
@@ -613,9 +610,6 @@ void AliTOFTrigger::CreateLTMMatrixFromRaw(AliRawReader *fRawReader) {
         detectorIndex[3] = detectorIndex[4];//padz
         detectorIndex[4] = dummy;//padx
 
-        digit[0] = tofRawDatum->GetTOF();
-        digit[1] = tofRawDatum->GetTOT();
-
         dummy = detectorIndex[3];
         detectorIndex[3] = detectorIndex[4];//padx
         detectorIndex[4] = dummy;//padz
@@ -1093,7 +1087,7 @@ Bool_t AliTOFTrigger::GetBit(Int_t nDDL, Int_t nTRM, Int_t iChain,
   if (nDDL>=36)
     iLTMindex++;
   iChannelindex=iCH+iTDC*AliTOFGeometry::NCh()-12*AliTOFGeometry::NCh();
-  Int_t index[2]={iLTMindex,iChannelindex};
+  Int_t index[2]={static_cast<Int_t>(iLTMindex),static_cast<Int_t>(iChannelindex)};
   return (index[0]<36)?fCTTMmatrixFront[index[0]][index[1]]:fCTTMmatrixBack[index[0]-36][index[1]];
 
 }