|
[Rivet-svn] rivet: Add missing cut to pseudo top analysis, reported by Chris G.Rivet Mercurial rivet at projects.hepforge.orgFri Jul 17 10:30:01 BST 2015
details: https://rivet.hepforge.org/hg/rivet/rev/9117d3de30f6 branches: changeset: 4812:9117d3de30f6 user: Holger Schulz <holger.schulz at durham.ac.uk> date: Fri Jul 17 10:25:34 2015 +0100 description: Add missing cut to pseudo top analysis, reported by Chris G. diffs (18 lines): --- a/src/Analyses/ATLAS_2015_I1345452.cc Thu Jul 16 12:55:07 2015 +0100 +++ b/src/Analyses/ATLAS_2015_I1345452.cc Fri Jul 17 10:25:34 2015 +0100 @@ -154,8 +154,13 @@ for (unsigned int j = i + 1; j < jets.size(); ++j) { overlap |= deltaR(jet, jets[j]) < 0.5; } - // Count the number of b-tags - if ( !jet.bTags().empty() ) bjets += jet; + //// Count the number of b-tags + bool b_tagged = false; // This is closer to the + Particles bTags = jet.bTags(); // analysis. Something + foreach ( Particle b, bTags ) { // about ghost-associated + b_tagged |= b.pT() > 5*GeV; // B-hadrons + } // + if ( b_tagged ) bjets += jet; else lightjets += jet; }
More information about the Rivet-svn mailing list |