]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed typo in logic
authormhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jul 2003 20:19:33 +0000 (20:19 +0000)
committermhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Jul 2003 20:19:33 +0000 (20:19 +0000)
EMCAL/AliEMCALJetFinderInputSimPrep.cxx

index 2f5552f05e9b4460dab377c7a70d38420a1aebc1..7b5b6122173b12666be25eff4d667e77c6dd73b2 100755 (executable)
@@ -280,9 +280,9 @@ void AliEMCALJetFinderInputSimPrep::FillTracks()    // Fill from particles simulati
                }
           break;
           case kEM:   // All Electromagnetic particles
-               if (MPart->GetPdgCode() == kElectron ||
-                    MPart->GetPdgCode() == kMuonPlus  &&
-                    MPart->GetPdgCode() == kMuonMinus &&
+               if (MPart->GetPdgCode() == kElectron  ||
+                    MPart->GetPdgCode() == kMuonPlus  || 
+                    MPart->GetPdgCode() == kMuonMinus ||
                    MPart->GetPdgCode() == kPositron ){
                      if (fDebug > 5) Info("FillTracks","Storing electron or positron");
                      if (fSmearType == kSmear ||