[Rivet-svn] rivet: Tweak source cosmetics

Rivet Mercurial rivet at projects.hepforge.org
Sun Sep 27 22:45:01 BST 2015


details:   https://rivet.hepforge.org/hg/rivet/rev/ac85ef35c97c
branches:  release-2-3-x
changeset: 4869:ac85ef35c97c
user:      Andy Buckley <andy at insectnation.org>
date:      Sun Sep 27 22:31:31 2015 +0100
description:
Tweak source cosmetics

diffs (truncated from 422 to 50 lines):

--- a/src/Analyses/ATLAS_2014_I1319490.cc	Sun Sep 27 22:04:45 2015 +0100
+++ b/src/Analyses/ATLAS_2014_I1319490.cc	Sun Sep 27 22:31:31 2015 +0100
@@ -6,227 +6,227 @@
 
 namespace Rivet {
 
-    class ATLAS_2014_I1319490 : public Analysis {
 
-        public:
+  class ATLAS_2014_I1319490 : public Analysis {
+  public:
 
-            ATLAS_2014_I1319490(string name = "ATLAS_2014_I1319490")
-                : Analysis(name)
-                {
-                    _mode = 0; // using electron channel for combined data by default
-                    setNeedsCrossSection(true);
-                }
+    ATLAS_2014_I1319490(string name = "ATLAS_2014_I1319490")
+      : Analysis(name)
+    {
+      _mode = 0; // using electron channel for combined data by default
+      setNeedsCrossSection(true);
+    }
 
-        public:
 
-            // Book histograms and initialise projections before the run
-            void init() {
+    // Book histograms and initialise projections before the run
+    void init() {
 
-                FinalState fs;
+      FinalState fs;
 
-                Cut cuts;
-                if(_mode == 2) { // muon channel
-                    cuts = (Cuts::pT > 25.0*GeV) & Cuts::etaIn(-2.4, 2.4);
-                } else if(_mode) { // electron channel
-                    cuts = (Cuts::pT > 25.0*GeV) & ( Cuts::etaIn(-2.47, -1.52) | Cuts::etaIn(-1.37, 1.37) | Cuts::etaIn(1.52, 2.47) );
-                } else { // combined data extrapolated to common phase space
-                    cuts = (Cuts::pT > 25.0*GeV) & Cuts::etaIn(-2.5, 2.5);
-                }
+      Cut cuts;
+      if (_mode == 2) { // muon channel
+        cuts = (Cuts::pT > 25.0*GeV) & Cuts::etaIn(-2.4, 2.4);
+      } else if (_mode) { // electron channel
+        cuts = (Cuts::pT > 25.0*GeV) & ( Cuts::etaIn(-2.47, -1.52) | Cuts::etaIn(-1.37, 1.37) | Cuts::etaIn(1.52, 2.47) );
+      } else { // combined data extrapolated to common phase space
+        cuts = (Cuts::pT > 25.0*GeV) & Cuts::etaIn(-2.5, 2.5);


More information about the Rivet-svn mailing list