]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor changes
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 May 2006 15:11:55 +0000 (15:11 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 May 2006 15:11:55 +0000 (15:11 +0000)
RICH/AliRICHTracker.cxx

index 60f91cec0569bccadbd56afaddcde149cc2f5e7b..1a86e3b4037d081ab53fe3ea10a8fa0aac1435d6 100644 (file)
@@ -97,9 +97,10 @@ Int_t AliRICHTracker::PropagateBack(AliESD *pESD)
     if(mipDr>AliRICHParam::DmatchMIP())   {pTrack->SetRICHsignal(kMipDistCut); continue;} //closest cluster with enough carge is still too far 
   
     pTrack->SetRICHcluster(iMipId+1000000*iChamber);                                //set mip cluster index
-    pTrack->SetRICHsignal(recon.ThetaCerenkov(&helix,pRich->Clus(iChamber),iMipId));//search for mean Cerenkov angle for this track
+    Int_t nphots =0;
+    pTrack->SetRICHsignal(recon.ThetaCerenkov(&helix,pRich->Clus(iChamber),nphots));//search for mean Cerenkov angle for this track
     pTrack->SetRICHchi2(recon.GetRingSigma2());
-    pTrack->SetRICHnclusters(iMipId);                                               //on return iMipId is number of photon clusters accepted in reconstruction
+    pTrack->SetRICHnclusters(nphots);                                               //on return nphots is number of photon clusters accepted in reconstruction
 
     AliDebug(1,Form("Ch=%i PC Intersection=(%5.2f,%5.2f) cm MIP cluster dist=(%5.2f,%5.2f)=%5.2f cm ThetaCkov=%f",
                      iChamber,helix.PosPc().X(),helix.PosPc().Y(),            mipDx,mipDy,mipDr,     pTrack->GetRICHsignal()));