]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for plane eff. calculation (G. Bruno)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 08:26:30 +0000 (08:26 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 08:26:30 +0000 (08:26 +0000)
ITS/AliITStrackerMI.cxx

index 47fc3f1b87a444566c7df594f4f2927fd1b45738..d176033361f92d76b80ac091c72c8b9d4d356495 100644 (file)
@@ -4614,7 +4614,7 @@ Bool_t AliITStrackerMI::IsOKForPlaneEff(const AliITStrackMI* track, const Int_t
                     tmp.GetClIndex(lay),((AliESDtrack*)tmp.GetESDtrack())->GetLabel())) ;
     if (tmp.GetClIndex(lay)>=0) ncl_in++;
   }
                     tmp.GetClIndex(lay),((AliESDtrack*)tmp.GetESDtrack())->GetLabel())) ;
     if (tmp.GetClIndex(lay)>=0) ncl_in++;
   }
-  Int_t ncl=ncl_out+ncl_out;
+  Int_t ncl=ncl_out+ncl_in;
   Bool_t nextout = kFALSE;
   if(ilayer==AliITSgeomTGeo::kNLayers-1) nextout=kTRUE; // you are already on the outermost layer
   else nextout = ((tmp.GetClIndex(ilayer+1)>=0)? kTRUE : kFALSE );
   Bool_t nextout = kFALSE;
   if(ilayer==AliITSgeomTGeo::kNLayers-1) nextout=kTRUE; // you are already on the outermost layer
   else nextout = ((tmp.GetClIndex(ilayer+1)>=0)? kTRUE : kFALSE );