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 af59245..649e123 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)){