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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Jun 8 15:06:13 BST 2012


Author: hoeth
Date: Fri Jun  8 15:06:13 2012
New Revision: 3748

Log:
whitespace cleanup to follow Rivet conventions

Modified:
   trunk/src/Analyses/ATLAS_2012_I946427.cc

Modified: trunk/src/Analyses/ATLAS_2012_I946427.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2012_I946427.cc	Fri Jun  8 15:05:41 2012	(r3747)
+++ trunk/src/Analyses/ATLAS_2012_I946427.cc	Fri Jun  8 15:06:13 2012	(r3748)
@@ -42,10 +42,10 @@
       addProjection(photonfs, "Photon");
 
       //
-      FinalState fs;      
+      FinalState fs;
       addProjection(fs, "FS");
 
-      // Used for pTmiss 
+      // Used for pTmiss
       addProjection(VisibleFinalState(-4.9,4.9),"vfs");
 
       // Book histograms
@@ -63,8 +63,8 @@
       const double weight = event.weight();
 
       // require at least 2 photons in final state
-      ParticleVector photons = 
-	applyProjection<IdentifiedFinalState>(event, "Photon").particlesByPt();
+      ParticleVector photons =
+        applyProjection<IdentifiedFinalState>(event, "Photon").particlesByPt();
       if (photons.size() < 2) {
         vetoEvent;
       }
@@ -79,15 +79,15 @@
 
         double phi_P = photon.momentum().phi();
 
-	FourMomentum mom_in_EtCone = -photon.momentum();
+        FourMomentum mom_in_EtCone = -photon.momentum();
         foreach (const Particle& p, fs) {
           // check if it's in the cone of .2
-          if (deltaR(eta_P, phi_P, p.momentum().eta(), 
-		     p.momentum().phi()) >= 0.2) continue;
+          if (deltaR(eta_P, phi_P, p.momentum().eta(),
+                     p.momentum().phi()) >= 0.2) continue;
           mom_in_EtCone += p.momentum();
         }
- 	// apply isolation
- 	if(mom_in_EtCone.Et()>5.) continue;
+        // apply isolation
+        if(mom_in_EtCone.Et()>5.) continue;
 
         // add photon to list of isolated ones
         isolated_photons.push_back(photon);
@@ -95,7 +95,7 @@
 
       // need two isolated photons
       if(isolated_photons.size() < 2 ) {
-	vetoEvent;
+        vetoEvent;
       }
 
       // pTmiss
@@ -133,7 +133,7 @@
     AIDA::IHistogram1D* _count_SR;
     AIDA::IHistogram1D* _hist_ET_photon;
     AIDA::IHistogram1D* _hist_met;
-    
+
   };
 
 


More information about the Rivet-svn mailing list