]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliGenPythia.cxx
bugfix: boundery check for static hit array
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythia.cxx
index af5924524d73975f3e96b1c66a860df4143004f1..649e123b03023e6ef1001b6e09582b5ecc154cd0 100644 (file)
@@ -892,7 +892,7 @@ Int_t  AliGenPythia::GenerateMB()
         if(iparticle->GetStatusCode() == 1 
            && iparticle->GetPdgCode() == pdg   
            && iparticle->Pt() > fPhotonMinPt    
-           && eta > fPHOSEta){                 
+           && eta < fPHOSEta){                 
            
            // first check if the photon is in PHOS phi
            if(IsInPHOS(phi,eta)){