|
[Rivet-svn] r2203 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Dec 29 15:00:50 GMT 2009
Author: richardn Date: Tue Dec 29 15:00:49 2009 New Revision: 2203 Log: minor clean up for H1_2000_S4129130 Modified: trunk/src/Analyses/H1_2000_S4129130.cc Modified: trunk/src/Analyses/H1_2000_S4129130.cc ============================================================================== --- trunk/src/Analyses/H1_2000_S4129130.cc Tue Dec 29 14:33:24 2009 (r2202) +++ trunk/src/Analyses/H1_2000_S4129130.cc Tue Dec 29 15:00:49 2009 (r2203) @@ -58,7 +58,6 @@ double efwd = 0.; foreach (const Particle& p, particles) { double th = 180.-p.momentum().angle(dl.in().momentum())/degree; - // double th = beamAngle(p.momentum(),order); if (th > 4.4 && th < 15.0) efwd += p.momentum().E(); } // There are four possible selections for events @@ -144,7 +143,9 @@ evcut[3] &= bin[3] >= 0; // Veto if fails all cuts after bin selection - if (! (evcut[0] || evcut[1] || evcut[2] || evcut[3])); + if (! (evcut[0] || evcut[1] || evcut[2] || evcut[3])) { + vetoEvent; + } // Increment the count for normalisation const double weight = event.weight(); @@ -255,14 +256,6 @@ private: - /// Polar angle with right direction of the beam - inline double beamAngle(const FourVector& v, const bool & order) { - double thel = v.polarAngle()/degree; - if(thel<0.) thel+=180.; - if(!order) thel = 180.-thel; - return thel; - } - /// @name Histograms //@{ vector<AIDA::IHistogram1D *> _histETLowQa;
More information about the Rivet-svn mailing list |