|
[Rivet-svn] r2829 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Dec 7 15:23:28 GMT 2010
Author: hoeth Date: Tue Dec 7 15:23:28 2010 New Revision: 2829 Log: Acceptance fixes in ATLAS_2010_CONF_2010_083 Modified: trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Modified: trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc ============================================================================== --- trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Tue Dec 7 15:03:55 2010 (r2828) +++ trunk/src/Analyses/ATLAS_2010_CONF_2010_083.cc Tue Dec 7 15:23:28 2010 (r2829) @@ -17,7 +17,7 @@ void init() { - FinalState fs(-1.5, 1.5, 0.0*GeV); + FinalState fs(-4.5, 4.5, 0.0*GeV); FastJets jetsproj(fs, FastJets::ANTIKT, 0.6); addProjection(jetsproj, "Jets"); @@ -31,10 +31,15 @@ const double weight = event.weight(); const FastJets & jetsproj = applyProjection<FastJets>(event, "Jets"); - Jets alljets = jetsproj.jetsByPt(100.0*GeV); + Jets alljets; + foreach (const Jet jet, jetsproj.jetsByPt(100.0*GeV)) { + if (fabs(jet.momentum().rapidity())<2.8) { + alljets.push_back(jet); + } + } Jets jets; foreach (const Jet jet, alljets) { - if (fabs(jet.momentum().eta())<0.8) { + if (fabs(jet.momentum().rapidity())<0.8) { jets.push_back(jet); } if (jets.size()==2) break;
More information about the Rivet-svn mailing list |