]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
restrict jet loop to those with pt > 10 GeV
authorjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Oct 2009 04:39:52 +0000 (04:39 +0000)
committerjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Oct 2009 04:39:52 +0000 (04:39 +0000)
PWG4/PartCorrDep/AliAnaElectron.cxx

index ced4e473cc132592ffaa6b4cb8420956b71ebb80..8399523384a691b07029284e8c19b38d6dc9b976 100755 (executable)
@@ -823,6 +823,10 @@ void  AliAnaElectron::MakeAnalysisFillHistograms()
 \r
     for(Int_t ijet = 0; ijet < njets ; ijet++) {\r
       AliAODJet * jet = (AliAODJet*)(GetReader()->GetOutputEvent())->GetJet(ijet) ;\r
+      //Only consider jets with pt > 10 GeV (the rest have to be junk)\r
+      //printf("AODJet<%d> pt = %2.2f\n",ijet,jet->Pt());\r
+      if(jet->Pt() < 10.) continue;\r
+\r
       if(GetDebug() > 3) {\r
        printf("AliAODJet ijet = %d\n",ijet);\r
        jet->Print("");\r