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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Nov 19 12:45:52 GMT 2009


Author: fsiegert
Date: Thu Nov 19 12:45:52 2009
New Revision: 2074

Log:
Bugfix in CDF diphoton analysis.

Modified:
   trunk/src/Analyses/CDF_2005_S6080774.cc

Modified: trunk/src/Analyses/CDF_2005_S6080774.cc
==============================================================================
--- trunk/src/Analyses/CDF_2005_S6080774.cc	Thu Nov 19 11:23:17 2009	(r2073)
+++ trunk/src/Analyses/CDF_2005_S6080774.cc	Thu Nov 19 12:45:52 2009	(r2074)
@@ -40,10 +40,9 @@
     void analyze(const Event& event) {
       const double weight = event.weight();
       
-      ParticleVector photons = applyProjection<IdentifiedFinalState>(event, "IFS").particles();
-      
+      ParticleVector photons = applyProjection<IdentifiedFinalState>(event, "IFS").particlesByPt();
       if (photons.size() < 2 ||
-          (photons[0].momentum().pT() < 14.0*GeV && photons[1].momentum().pT() < 14.0*GeV)) {
+          (photons[0].momentum().pT() < 14.0*GeV)) {
         vetoEvent;
       }
       


More information about the Rivet-svn mailing list