[Rivet-svn] r3366 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Sep 17 18:57:15 BST 2011


Author: buckley
Date: Sat Sep 17 18:57:14 2011
New Revision: 3366

Log:
Removing redundant don't-need-cross-section declarations. Next to move the non-redundant ones to the info files...

Modified:
   trunk/src/Analyses/ALICE_2010_S8624100.cc
   trunk/src/Analyses/ALICE_2010_S8625980.cc
   trunk/src/Analyses/ALICE_2010_S8706239.cc
   trunk/src/Analyses/ATLAS_2010_S8591806.cc
   trunk/src/Analyses/ATLAS_2011_CONF_2011_090.cc
   trunk/src/Analyses/ATLAS_2011_CONF_2011_098.cc
   trunk/src/Analyses/ATLAS_2011_S8971293.cc
   trunk/src/Analyses/ATLAS_2011_S8983313.cc
   trunk/src/Analyses/ATLAS_2011_S9019561.cc
   trunk/src/Analyses/ATLAS_2011_S9041966.cc
   trunk/src/Analyses/ATLAS_2011_S9126244.cc
   trunk/src/Analyses/BELLE_2006_S6265367.cc
   trunk/src/Analyses/CDF_1993_S2742446.cc
   trunk/src/Analyses/CDF_2009_NOTE_9936.cc
   trunk/src/Analyses/CMS_2011_S8884919.cc
   trunk/src/Analyses/D0_1996_S3214044.cc
   trunk/src/Analyses/D0_1996_S3324664.cc
   trunk/src/Analyses/D0_2010_S8821313.cc
   trunk/src/Analyses/LHCB_2010_S8758301.cc
   trunk/src/Analyses/OPAL_2001_S4553896.cc
   trunk/src/Analyses/STAR_2008_S7869363.cc

Modified: trunk/src/Analyses/ALICE_2010_S8624100.cc
==============================================================================
--- trunk/src/Analyses/ALICE_2010_S8624100.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ALICE_2010_S8624100.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -16,10 +16,7 @@
     /// Constructor
     ALICE_2010_S8624100()
       : Analysis("ALICE_2010_S8624100")
-    {
-      /// @todo Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ALICE_2010_S8625980.cc
==============================================================================
--- trunk/src/Analyses/ALICE_2010_S8625980.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ALICE_2010_S8625980.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -17,10 +17,7 @@
     ALICE_2010_S8625980()
       : Analysis("ALICE_2010_S8625980"),
         _Nevt_after_cuts(0.0)
-    {
-      /// @todo Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ALICE_2010_S8706239.cc
==============================================================================
--- trunk/src/Analyses/ALICE_2010_S8706239.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ALICE_2010_S8706239.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -17,9 +17,7 @@
     ALICE_2010_S8706239()
       : Analysis("ALICE_2010_S8706239"),
         _Nevt_after_cuts(0.0)
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2010_S8591806.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2010_S8591806.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2010_S8591806.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -15,9 +15,7 @@
     ATLAS_2010_S8591806()
       : Analysis("ATLAS_2010_S8591806"),
         _Nevt_after_cuts(0.0)
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
 
     void init() {

Modified: trunk/src/Analyses/ATLAS_2011_CONF_2011_090.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_CONF_2011_090.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_CONF_2011_090.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -22,11 +22,7 @@
 
     ATLAS_2011_CONF_2011_090()
       : Analysis("ATLAS_2011_CONF_2011_090")
-
-    {
-      /// Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_CONF_2011_098.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_CONF_2011_098.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_CONF_2011_098.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -24,9 +24,7 @@
       : Analysis("ATLAS_2011_CONF_2011_098"),
 //debug variables
 threeJA(0), threeJB(0), threeJC(0), threeJD(0), bj(0), jets(0), zerolept(0), eTmisscut(0)
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_S8971293.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S8971293.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_S8971293.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -18,10 +18,7 @@
     /// Constructor
     ATLAS_2011_S8971293()
       : Analysis("ATLAS_2011_S8971293")
-    {
-      /// Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_S8983313.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S8983313.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_S8983313.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -22,9 +22,7 @@
     /// Constructor
     ATLAS_2011_S8983313()
       : Analysis("ATLAS_2011_S8983313")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_S9019561.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S9019561.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_S9019561.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -22,11 +22,7 @@
 
     ATLAS_2011_S9019561()
       : Analysis("ATLAS_2011_S9019561")
-
-    {
-      /// Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_S9041966.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S9041966.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_S9041966.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -36,10 +36,7 @@
         mumuZCR(0), eeZCR(0),
         munuW2CR(0), munuttCR(0),
         enuW2CR(0), enuttCR(0)
-    {
-      /// Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/ATLAS_2011_S9126244.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S9126244.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/ATLAS_2011_S9126244.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -53,9 +53,7 @@
     /// Constructor
     ATLAS_2011_S9126244()
       : Analysis("ATLAS_2011_S9126244")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
 
   public:

Modified: trunk/src/Analyses/BELLE_2006_S6265367.cc
==============================================================================
--- trunk/src/Analyses/BELLE_2006_S6265367.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/BELLE_2006_S6265367.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -11,26 +11,21 @@
 
   /// @brief BELLE charmed mesons and baryons from fragmentation
   /// @author Eike von Seggern
+  /// @todo Apply BELLE hadron selection cuts
   class BELLE_2006_S6265367 : public Analysis {
   public:
 
-    BELLE_2006_S6265367(): Analysis("BELLE_2006_S6265367")
-    {
-      // setNeedsCrossSection(true);
-    }
+    BELLE_2006_S6265367()
+      : Analysis("BELLE_2006_S6265367")
+    {    }
 
 
     void analyze(const Event& e) {
-      //
-      /// @todo Apply BELLE hadron selection cuts
-      //
-
       const double weight = e.weight();
 
       // Loop through unstable FS particles and look for charmed mesons/baryons
       const UnstableFinalState& ufs = applyProjection<UnstableFinalState>(e, "UFS");
 
-      /// @todo Implement sqrtS() for asymm. beams in beam projection
       const Beam beamproj = applyProjection<Beam>(e, "Beams");
       const ParticlePair& beams = beamproj.beams();
       FourMomentum mom_tot = beams.first.momentum() + beams.second.momentum();
@@ -42,7 +37,7 @@
 
       // Particle masses from PDGlive (accessed online 16. Nov. 2009).
       foreach (const Particle& p, ufs.particles()) {
-        // TODO: Data is not corrected for branching fractions.
+        /// @todo Data is not corrected for branching fractions.
 
         double xp = 0.0;
         double mH2 = 0.0;

Modified: trunk/src/Analyses/CDF_1993_S2742446.cc
==============================================================================
--- trunk/src/Analyses/CDF_1993_S2742446.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/CDF_1993_S2742446.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -17,9 +17,7 @@
 
     CDF_1993_S2742446()
       : Analysis("CDF_1993_S2742446")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
 
   public:

Modified: trunk/src/Analyses/CDF_2009_NOTE_9936.cc
==============================================================================
--- trunk/src/Analyses/CDF_2009_NOTE_9936.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/CDF_2009_NOTE_9936.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -17,13 +17,7 @@
     /// Constructor
     CDF_2009_NOTE_9936()
       : Analysis("CDF_2009_NOTE_9936")
-        //_sumWPassed(0.0)
-    {
-      /// @todo Set approriate for your analysis
-
-      /// @todo Set whether your finalize method needs the generator cross section
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/CMS_2011_S8884919.cc
==============================================================================
--- trunk/src/Analyses/CMS_2011_S8884919.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/CMS_2011_S8884919.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -12,9 +12,10 @@
   class CMS_2011_S8884919 : public Analysis {
   public:
 
-    CMS_2011_S8884919() : Analysis("CMS_2011_S8884919") {
-      setNeedsCrossSection(false);
-    }
+    CMS_2011_S8884919()
+      : Analysis("CMS_2011_S8884919")
+    {    }
+
 
     void init() {
       ChargedFinalState cfs(-2.4, 2.4, 0.0*GeV);

Modified: trunk/src/Analyses/D0_1996_S3214044.cc
==============================================================================
--- trunk/src/Analyses/D0_1996_S3214044.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/D0_1996_S3214044.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -20,9 +20,7 @@
 
     /// Constructor
     D0_1996_S3214044() : Analysis("D0_1996_S3214044")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
 
     /// @name Analysis methods

Modified: trunk/src/Analyses/D0_1996_S3324664.cc
==============================================================================
--- trunk/src/Analyses/D0_1996_S3324664.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/D0_1996_S3324664.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -17,9 +17,8 @@
     //@{
 
     /// Constructor
-    D0_1996_S3324664() : Analysis("D0_1996_S3324664") {
-      setNeedsCrossSection(false);
-    }
+    D0_1996_S3324664() : Analysis("D0_1996_S3324664")
+    {    }
 
 
     /// @name Analysis methods

Modified: trunk/src/Analyses/D0_2010_S8821313.cc
==============================================================================
--- trunk/src/Analyses/D0_2010_S8821313.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/D0_2010_S8821313.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -20,9 +20,7 @@
     /// Constructor
     D0_2010_S8821313()
       : Analysis("D0_2010_S8821313")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/LHCB_2010_S8758301.cc
==============================================================================
--- trunk/src/Analyses/LHCB_2010_S8758301.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/LHCB_2010_S8758301.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -18,10 +18,7 @@
     LHCB_2010_S8758301()
       : Analysis("LHCB_2010_S8758301"),
       sumKs0_30(0.0), sumKs0_35(0.0), sumKs0_40(0.0)
-
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/OPAL_2001_S4553896.cc
==============================================================================
--- trunk/src/Analyses/OPAL_2001_S4553896.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/OPAL_2001_S4553896.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -7,6 +7,7 @@
 
 namespace Rivet {
 
+
   namespace {
 
     /// @name Jet angle calculator functions
@@ -68,9 +69,7 @@
     /// Constructor
     OPAL_2001_S4553896()
       : Analysis("OPAL_2001_S4553896")
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 

Modified: trunk/src/Analyses/STAR_2008_S7869363.cc
==============================================================================
--- trunk/src/Analyses/STAR_2008_S7869363.cc	Sat Sep 17 18:43:34 2011	(r3365)
+++ trunk/src/Analyses/STAR_2008_S7869363.cc	Sat Sep 17 18:57:14 2011	(r3366)
@@ -50,9 +50,7 @@
       : Analysis("STAR_2008_S7869363"),
         nCutsPassed(0),
         nPi(0), nPiPlus(0), nKaon(0), nKaonPlus(0), nProton(0), nAntiProton(0)
-    {
-      setNeedsCrossSection(false);
-    }
+    {    }
 
     //@}
 


More information about the Rivet-svn mailing list