[Rivet-svn] rivet: Fix prompt FS naming consistency

Rivet Mercurial rivet at projects.hepforge.org
Tue Feb 20 11:45:02 GMT 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/555f407fa608
branches:  release-2-6-x
changeset: 6242:555f407fa608
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Feb 20 11:38:51 2018 +0000
description:
Fix prompt FS naming consistency

diffs (22 lines):

--- a/include/Rivet/Projections/DISLepton.hh	Thu Feb 08 12:40:29 2018 +0000
+++ b/include/Rivet/Projections/DISLepton.hh	Tue Feb 20 11:38:51 2018 +0000
@@ -20,7 +20,7 @@
     DISLepton(){
       setName("DISLepton");
       addProjection(Beam(), "Beam");
-      addProjection(PromptFinalState(), "PromptFS");
+      addProjection(PromptFinalState(), "FS");
     }
 
     /// Clone on the heap.
--- a/src/Projections/DISLepton.cc	Thu Feb 08 12:40:29 2018 +0000
+++ b/src/Projections/DISLepton.cc	Tue Feb 20 11:38:51 2018 +0000
@@ -57,7 +57,7 @@
 
     // If no graph-connected scattered lepton, use the hardest (preferably same-flavour) prompt FS lepton in the event
     /// @todo Specify the charged or neutral current being searched for in the DISLepton constructor/API, and remove the guesswork
-    const Particles fsleptons = applyProjection<FinalState>(e, "PromptFS").particles(isLepton, cmpMomByE);
+    const Particles fsleptons = applyProjection<FinalState>(e, "FS").particles(isLepton, cmpMomByE);
     const Particles sfleptons = filter_select(fsleptons, Cuts::pid == _incoming.pid());
     MSG_DEBUG("SF leptons = " << sfleptons.size() << ", all leptons = " << fsleptons.size());
     if (!sfleptons.empty()) {


More information about the Rivet-svn mailing list