]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.cxx
Added the conversion electron in the particle type list
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.cxx
index df5777b8cd5809b78c365090a9770bd19328e5b7..027a972bba0d949b4513b9b8ad094ecae336a0b2 100644 (file)
@@ -114,6 +114,7 @@ const TParticle * AliPHOSRecParticle::GetPrimary(Int_t index) const
    } 
   //  return 0 ; 
 }
+
 //____________________________________________________________________________
 const Double_t * AliPHOSRecParticle::GetPID()
 {
@@ -157,6 +158,6 @@ const Double_t * AliPHOSRecParticle::GetPID()
   if (IsFastNeutralHadron())        fPID[7] = 1.0;
   if (IsSlowNeutralHadron())        fPID[8] = 1.0;
 
-  if (IsElecCon()) fPID[9] = 1.0;
+  if (IsEleCon()) fPID[9] = 1.0;
   return fPID;
 }