[Rivet-svn] r3878 - schools/2012-CERN/setups/day3/rivet-plugin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Jul 26 08:57:08 BST 2012


Author: dgrell
Date: Thu Jul 26 08:57:08 2012
New Revision: 3878

Log:
More comments

Modified:
   schools/2012-CERN/setups/day3/rivet-plugin/MC_TOP.cc

Modified: schools/2012-CERN/setups/day3/rivet-plugin/MC_TOP.cc
==============================================================================
--- schools/2012-CERN/setups/day3/rivet-plugin/MC_TOP.cc	Thu Jul 26 08:50:56 2012	(r3877)
+++ schools/2012-CERN/setups/day3/rivet-plugin/MC_TOP.cc	Thu Jul 26 08:57:08 2012	(r3878)
@@ -13,8 +13,7 @@
   public:
 
     /// Minimal constructor
-    MC_TOP() : Analysis("MC_TOP")
-    {nevents=0;  }
+    MC_TOP() : Analysis("MC_TOP"), nevents(0) {}
 
 
     /// @name Analysis methods
@@ -36,17 +35,18 @@
       // If you decide to add a missing ET cut, register a MissingMomentum projection here
 
       // Booking of histograms
+      // jets
       _h_jet_1_pT = bookHistogram1D("jet_1_pT", 50, 0, 500);
       _h_jet_2_pT = bookHistogram1D("jet_2_pT", 50, 0, 400);
       _h_jet_3_pT = bookHistogram1D("jet_3_pT", 50, 0, 300);
       _h_jet_4_pT = bookHistogram1D("jet_4_pT", 50, 0, 200);
-      //
+      // b jets
       _h_bjet_1_pT = bookHistogram1D("jetb_1_pT", 50, 0, 250);
       _h_bjet_2_pT = bookHistogram1D("jetb_2_pT", 50, 0, 250);
-      //
+      // light jets
       _h_ljet_1_pT = bookHistogram1D("jetl_1_pT", 50, 0, 250);
       _h_ljet_2_pT = bookHistogram1D("jetl_2_pT", 50, 0, 250);
-      //
+      // masses
       _h_W_mass = bookHistogram1D("W_mass", 75, 30, 180);
       _h_t_mass = bookHistogram1D("t_mass", 30, 130, 280);
       _h_t_mass_W_cut = bookHistogram1D("t_mass_W_cut", 40, 130, 330);


More information about the Rivet-svn mailing list