|
[Rivet-svn] rivet: Fix CMS top analysis to accept dileptonic *and* semilepto...Rivet Mercurial rivet at projects.hepforge.orgSat Nov 4 21:15:01 GMT 2017
details: https://rivet.hepforge.org/hg/rivet/rev/06dd6c02a4fa branches: changeset: 6129:06dd6c02a4fa user: Andy Buckley <andy at insectnation.org> date: Sat Oct 28 22:02:17 2017 +0100 description: Fix CMS top analysis to accept dileptonic *and* semileptonic ttbar diffs (14 lines): --- a/analyses/pluginCMS/CMS_2015_I1370682_PARTON.cc Fri Nov 03 10:01:54 2017 +0000 +++ b/analyses/pluginCMS/CMS_2015_I1370682_PARTON.cc Sat Oct 28 22:02:17 2017 +0100 @@ -44,8 +44,9 @@ // Do the analysis only for the ttbar full leptonic or semileptonic channel, without tau decay const Particles leptonicpartontops = apply<ParticleFinder>(event, "LeptonicPartonTops").particlesByPt(); const Particles hadronicpartontops = apply<ParticleFinder>(event, "HadronicPartonTops").particlesByPt(); - const bool isSemilepton = (leptonicpartontops.size() == 1 and hadronicpartontops.size() == 1); - if (leptonicpartontops.size() != 2) vetoEvent; //< if neither semileptonic nor dileptonic, veto + const bool isSemilepton = (leptonicpartontops.size() == 1 && hadronicpartontops.size() == 1); + const bool isDilepton = (leptonicpartontops.size() == 2 && hadronicpartontops.size() == 0); + if (!isSemilepton && !isDilepton) vetoEvent; // Parton level at full phase space // Fill top quarks defined in the parton level, full phase space
More information about the Rivet-svn mailing list |