]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
more clear variables
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 May 2006 08:09:04 +0000 (08:09 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 May 2006 08:09:04 +0000 (08:09 +0000)
RICH/AliRICHRecon.cxx

index b7f906dc1136989f53646a056427bb0efd9ee39d..3fff83405d9cacfdb7cede583178b34a73ca8919 100644 (file)
@@ -110,13 +110,13 @@ AliRICHRecon::AliRICHRecon():
   }
 }
 //__________________________________________________________________________________________________
-Double_t AliRICHRecon::ThetaCerenkov(AliRICHHelix *pHelix,TClonesArray *pClusters,Int_t &iMipId)
+Double_t AliRICHRecon::ThetaCerenkov(AliRICHHelix *pHelix,TClonesArray *pClusters,Int_t &nphot)
 {
 // Pattern recognition method based on Hough transform
 // Return theta Cerenkov for a given track and list of clusters which are set in ctor  
 // Remeber that list of clusters must contain more then 1 cluster. This considiration implies that normally we have 1 mip cluster and few photon clusters per track.  
 // Argume
-//   Returns: Track theta ckov in rad, nPhot contains number of photon candidates accepted for reconstruction track theta ckov   
+//   Returns: Track theta ckov in rad, nphot is the number of photon candidates accepted for reconstruction track theta ckov   
   SetTrackTheta(pHelix->Ploc().Theta());  SetTrackPhi(pHelix->Ploc().Phi());
   SetShiftX(pHelix->PosRad().X());        SetShiftY(pHelix->PosRad().Y());
   fClusters = pClusters;
@@ -132,7 +132,7 @@ Double_t AliRICHRecon::ThetaCerenkov(AliRICHHelix *pHelix,TClonesArray *pCluster
   //
   
   for (Int_t iClu=0; iClu<fClusters->GetEntriesFast();iClu++){//clusters loop
-    if(iClu == iMipId) continue; // do not consider MIP cluster as a photon candidate
+    if(iClu == nphot) continue; // do not consider MIP cluster as a photon candidate
     SetPhotonIndex(iClu);
     SetPhotonFlag(0);
     SetPhotonEta(-999.);
@@ -151,7 +151,7 @@ Double_t AliRICHRecon::ThetaCerenkov(AliRICHHelix *pHelix,TClonesArray *pCluster
 
   SetPhotonsNumber(fClusters->GetEntries());
 
-  if((iMipId=FlagPhotons(HoughResponse()))<1) return -11; //flag photons according to individual theta ckov with respect to most probable track theta ckov
+  if((nphot=FlagPhotons(HoughResponse()))<1) return -11; //flag photons according to individual theta ckov with respect to most probable track theta ckov
 
 
 //  Float_t thetaCerenkov = GetThetaCerenkov();