|
[Rivet-svn] r3196 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 18 19:27:16 BST 2011
Author: hoeth Date: Mon Jul 18 19:27:15 2011 New Revision: 3196 Log: Let's assume the papers are correct and we only look at hadrons in CMS_2010_S8547297 and CMS_2010_S8656010. Modified: trunk/src/Analyses/CMS_2010_S8547297.cc trunk/src/Analyses/CMS_2010_S8656010.cc Modified: trunk/src/Analyses/CMS_2010_S8547297.cc ============================================================================== --- trunk/src/Analyses/CMS_2010_S8547297.cc Mon Jul 18 19:22:40 2011 (r3195) +++ trunk/src/Analyses/CMS_2010_S8547297.cc Mon Jul 18 19:27:15 2011 (r3196) @@ -42,6 +42,9 @@ const ChargedFinalState& charged = applyProjection<ChargedFinalState>(event, "CFS"); foreach (const Particle& p, charged.particles()) { + //selecting only charged hadrons + if(! PID::isHadron(p.pdgId())) continue; + const double pT = p.momentum().pT(); const double eta = p.momentum().eta(); Modified: trunk/src/Analyses/CMS_2010_S8656010.cc ============================================================================== --- trunk/src/Analyses/CMS_2010_S8656010.cc Mon Jul 18 19:22:40 2011 (r3195) +++ trunk/src/Analyses/CMS_2010_S8656010.cc Mon Jul 18 19:27:15 2011 (r3196) @@ -33,6 +33,9 @@ const ChargedFinalState& charged = applyProjection<ChargedFinalState>(event, "CFS"); foreach (const Particle& p, charged.particles()) { + //selecting only charged hadrons + if(! PID::isHadron(p.pdgId())) continue; + const double pT = p.momentum().pT(); const double eta = p.momentum().eta();
More information about the Rivet-svn mailing list |