|
[Rivet-svn] r3105 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue May 24 13:50:28 BST 2011
Author: dgrell Date: Tue May 24 13:50:28 2011 New Revision: 3105 Log: Bugfix for isolation cone. No noticeable effect on plots. Modified: trunk/src/Analyses/ATLAS_2011_S8983313.cc Modified: trunk/src/Analyses/ATLAS_2011_S8983313.cc ============================================================================== --- trunk/src/Analyses/ATLAS_2011_S8983313.cc Mon May 23 17:17:29 2011 (r3104) +++ trunk/src/Analyses/ATLAS_2011_S8983313.cc Tue May 24 13:50:28 2011 (r3105) @@ -115,8 +115,9 @@ ParticleVector cand_mu; ParticleVector chg_tracks = applyProjection<ChargedFinalState>(event, "cfs").particles(); - foreach ( const Particle & mu, applyProjection<IdentifiedFinalState>(event, "muons").particlesByPt() ) { - double pTinCone = 0.0; + foreach ( const Particle & mu, + applyProjection<IdentifiedFinalState>(event, "muons").particlesByPt() ) { + double pTinCone = -mu.momentum().pT(); foreach ( const Particle & track, chg_tracks ) { if ( deltaR(mu.momentum(),track.momentum()) <= 0.2 ) pTinCone += track.momentum().pT();
More information about the Rivet-svn mailing list |