Correction for trigger of photons inside PHOS acceptance.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Nov 2007 10:46:54 +0000 (10:46 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Nov 2007 10:46:54 +0000 (10:46 +0000)
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)){