]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
workaround for pt hard bins (Ruediger)
authorConstantin Loizides <cloizides@lbl.gov>
Sat, 4 Jan 2014 10:43:14 +0000 (11:43 +0100)
committerConstantin Loizides <cloizides@lbl.gov>
Sat, 4 Jan 2014 10:43:14 +0000 (11:43 +0100)
PWG/EMCAL/AliAnalysisTaskEmcal.cxx

index 93f36d1e3a2c7f990b09d0c0212c1b265e4d6ee4..ce7c847b6ca6686851099c4670a73a0da5029031 100644 (file)
@@ -546,6 +546,9 @@ Bool_t AliAnalysisTaskEmcal::UserNotify()
 
   PythiaInfoFromFile(curfile->GetName(), xsection, trials, pthard);
 
+  // TODO: Workaround
+  if((pthard < 0) || (pthard > 10))
+    pthard = 0;
   fHistTrials->Fill(pthard, trials);
   fHistXsection->Fill(pthard, xsection);
   fHistEvents->Fill(pthard, nevents);