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 2f5552f..7b5b612 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 ||