[Rivet-svn] rivet: finished first pass of ATLAS analyses!

Rivet Mercurial rivet at projects.hepforge.org
Wed Sep 27 14:15:02 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/bad89f6a87bf
branches:  multiweight
changeset: 6052:bad89f6a87bf
user:      Chris Pollard <cspollard at gmail.com>
date:      Wed Sep 27 15:03:44 2017 +0200
description:
finished first pass of ATLAS analyses!

diffs (truncated from 2088 to 50 lines):

--- a/analyses/pluginATLAS/ATLAS_2015_I1397635.cc	Wed Sep 27 14:28:56 2017 +0200
+++ b/analyses/pluginATLAS/ATLAS_2015_I1397635.cc	Wed Sep 27 15:03:44 2017 +0200
@@ -112,7 +112,7 @@
       if (met.pT() <= 20*GeV)  vetoEvent;
 
       // Make the plot
-      _histo->fill(1, 1.0);
+      _histo->fill(1);
     }
 
 
--- a/analyses/pluginATLAS/ATLAS_2015_I1397637.cc	Wed Sep 27 14:28:56 2017 +0200
+++ b/analyses/pluginATLAS/ATLAS_2015_I1397637.cc	Wed Sep 27 15:03:44 2017 +0200
@@ -196,7 +196,7 @@
       }
 
       // Fill histo if selection passed
-      if (hadbtag || lepbtag) _h_pttop->fill(fjet.pT()/GeV, 1.0);
+      if (hadbtag || lepbtag) _h_pttop->fill(fjet.pT()/GeV);
     }
 
 
--- a/analyses/pluginATLAS/ATLAS_2015_I1404878.cc	Wed Sep 27 14:28:56 2017 +0200
+++ b/analyses/pluginATLAS/ATLAS_2015_I1404878.cc	Wed Sep 27 15:03:44 2017 +0200
@@ -107,8 +107,6 @@
 
     void analyze(const Event& event) {
 
-        const double weight = 1.0;
-
       // Get the selected objects, using the projections.
       vector<DressedLepton> electrons = applyProjection<DressedLeptons>(event, "dressedelectrons").dressedLeptons();
       vector<DressedLepton> muons     = applyProjection<DressedLeptons>(event, "dressedmuons").dressedLeptons();
@@ -186,29 +184,29 @@
       double absPout = fabs(vpseudotophadron.dot((vpseudotoplepton.cross(z_versor))/(vpseudotoplepton.cross(z_versor).mod())));
 
       // absolute cross sections
-      _h["ptpseudotophadron"]->fill(    ppseudotophadron.pt(),     weight); //pT of pseudo top hadron
-      _h["ptttbar"]->fill(              pttbar.pt(),               weight); //fill pT of ttbar in combined channel
-      _h["absrappseudotophadron"]->fill(ppseudotophadron.absrap(), weight);
-      _h["absrapttbar"]->fill(          pttbar.absrap(),           weight);
-      _h["massttbar"]->fill(            pttbar.mass(),             weight);
-      _h["absPout"]->fill(              absPout,                   weight);
-      _h["chittbar"]->fill(             chi_ttbar,                 weight);
-      _h["dPhittbar"]->fill(            deltaPhi_ttbar,            weight);
-      _h["HTttbar"]->fill(              HT_ttbar,                  weight);
-      _h["Yboost"]->fill(               Yboost,                    weight);
-      _h["RWt"]->fill(                  R_Wt,                      weight);
+      _h["ptpseudotophadron"]->fill(    ppseudotophadron.pt()); //pT of pseudo top hadron
+      _h["ptttbar"]->fill(              pttbar.pt()); //fill pT of ttbar in combined channel


More information about the Rivet-svn mailing list