[Rivet-svn] rivet: 2 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Tue Sep 19 10:00:02 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/285ac230523a
branches:  multiweights-fixptrs
changeset: 6021:285ac230523a
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Sep 19 09:58:00 2017 +0100
description:
Revert Sphericity check, the problem is with calc() based on purely transverse momenta. Needs fixing inside Sphericity projection

details:   https://rivet.hepforge.org/hg/rivet/rev/91ca3e77708e
branches:  multiweights-fixptrs
changeset: 6022:91ca3e77708e
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Sep 19 09:58:55 2017 +0100
description:
ALICE weights and booking conversion

diffs (truncated from 1002 to 50 lines):

--- a/analyses/pluginALICE/ALICE_2010_S8624100.cc	Fri Sep 15 13:44:59 2017 +0100
+++ b/analyses/pluginALICE/ALICE_2010_S8624100.cc	Tue Sep 19 09:58:55 2017 +0100
@@ -49,15 +49,13 @@
 
     /// Perform the per-event analysis
     void analyze(const Event& event) {
-      const double weight = 1.0;
-
-      const ChargedFinalState& charged_05 = apply<ChargedFinalState>(event, "CFS05");
+       const ChargedFinalState& charged_05 = apply<ChargedFinalState>(event, "CFS05");
       const ChargedFinalState& charged_10 = apply<ChargedFinalState>(event, "CFS10");
       const ChargedFinalState& charged_13 = apply<ChargedFinalState>(event, "CFS13");
 
-      _h_dN_dNch_05->fill(charged_05.size(), weight);
-      _h_dN_dNch_10->fill(charged_10.size(), weight);
-      _h_dN_dNch_13->fill(charged_13.size(), weight);
+      _h_dN_dNch_05->fill(charged_05.size());
+      _h_dN_dNch_10->fill(charged_10.size());
+      _h_dN_dNch_13->fill(charged_13.size());
     }
 
 
--- a/analyses/pluginALICE/ALICE_2010_S8625980.cc	Fri Sep 15 13:44:59 2017 +0100
+++ b/analyses/pluginALICE/ALICE_2010_S8625980.cc	Tue Sep 19 09:58:55 2017 +0100
@@ -13,8 +13,7 @@
 
     /// Constructor
     ALICE_2010_S8625980()
-      : Analysis("ALICE_2010_S8625980"),
-        _Nevt_after_cuts(0.0)
+      : Analysis("ALICE_2010_S8625980")
     {    }
 
     //@}
@@ -39,28 +38,27 @@
         book(_h_dN_deta    ,6, 1, 1);
         book(_h_dN_dNch    ,3, 1, 1);
       }
+      book(_Nevt_after_cuts, "Nevt_after_cuts");
 
     }
 
 
     /// Perform the per-event analysis
     void analyze(const Event& event) {
-      const double weight = 1.0;
-
       const ChargedFinalState& charged = apply<ChargedFinalState>(event, "CFS");
       if (charged.size() < 1) {
         vetoEvent;


More information about the Rivet-svn mailing list