[Rivet-svn] rivet: Remove deprecated three-double FS constructor. Finally!

Rivet Mercurial rivet at projects.hepforge.org
Tue Jul 3 15:45:03 BST 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/58b67a16c156
branches:  multiweight
changeset: 6369:58b67a16c156
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Jul 03 15:41:45 2018 +0100
description:
Remove deprecated three-double FS constructor. Finally!

diffs (truncated from 1712 to 50 lines):

--- a/analyses/pluginALICE/ALICE_2010_S8624100.cc	Tue Jul 03 14:14:39 2018 +0100
+++ b/analyses/pluginALICE/ALICE_2010_S8624100.cc	Tue Jul 03 15:41:45 2018 +0100
@@ -27,9 +27,9 @@
     /// Book histograms and initialise projections before the run
     void init() {
 
-      ChargedFinalState cfs05(-0.5, 0.5);
-      ChargedFinalState cfs10(-1.0, 1.0);
-      ChargedFinalState cfs13(-1.3, 1.3);
+      ChargedFinalState cfs05((Cuts::etaIn(-0.5, 0.5)));
+      ChargedFinalState cfs10((Cuts::etaIn(-1.0, 1.0)));
+      ChargedFinalState cfs13((Cuts::etaIn(-1.3, 1.3)));
       declare(cfs05, "CFS05");
       declare(cfs10, "CFS10");
       declare(cfs13, "CFS13");
--- a/analyses/pluginALICE/ALICE_2010_S8625980.cc	Tue Jul 03 14:14:39 2018 +0100
+++ b/analyses/pluginALICE/ALICE_2010_S8625980.cc	Tue Jul 03 15:41:45 2018 +0100
@@ -27,7 +27,7 @@
     /// Book histograms and initialise projections before the run
     void init() {
 
-      ChargedFinalState cfs(-1.0, 1.0);
+      ChargedFinalState cfs((Cuts::etaIn(-1.0, 1.0)));
       declare(cfs, "CFS");
 
       if (fuzzyEquals(sqrtS()/GeV, 900, 1E-3)) {
--- a/analyses/pluginALICE/ALICE_2010_S8706239.cc	Tue Jul 03 14:14:39 2018 +0100
+++ b/analyses/pluginALICE/ALICE_2010_S8706239.cc	Tue Jul 03 15:41:45 2018 +0100
@@ -27,7 +27,7 @@
     /// Book histograms and initialise projections before the run
     void init() {
 
-      ChargedFinalState cfs(-0.8, 0.8, 0.15);
+      ChargedFinalState cfs((Cuts::etaIn(-0.8, 0.8) && Cuts::pT >=  0.15));
       declare(cfs, "CFS");
 
       book(_h_pT ,4, 1, 1);
--- a/analyses/pluginALICE/ALICE_2011_S8945144.cc	Tue Jul 03 14:14:39 2018 +0100
+++ b/analyses/pluginALICE/ALICE_2011_S8945144.cc	Tue Jul 03 15:41:45 2018 +0100
@@ -16,7 +16,7 @@
   public:
 
     void init() {
-      const ChargedFinalState cfs(-15, 15);
+      const ChargedFinalState cfs((Cuts::etaIn(-15, 15)));
       declare(cfs, "CFS");
 
       book(_histPtPions        ,"d01-x01-y01");
--- a/analyses/pluginATLAS/ATLAS_2010_CONF_2010_049.cc	Tue Jul 03 14:14:39 2018 +0100
+++ b/analyses/pluginATLAS/ATLAS_2010_CONF_2010_049.cc	Tue Jul 03 15:41:45 2018 +0100


More information about the Rivet-svn mailing list