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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Feb 5 23:01:07 GMT 2011


Author: fsiegert
Date: Sat Feb  5 23:01:06 2011
New Revision: 2916

Log:
Set threshold for negative jet mass warning to 1e-4, since 1e-8 is too
low (my logs are always flooded by these warnings).

Modified:
   trunk/src/Analyses/MC_JetAnalysis.cc

Modified: trunk/src/Analyses/MC_JetAnalysis.cc
==============================================================================
--- trunk/src/Analyses/MC_JetAnalysis.cc	Fri Feb  4 14:28:40 2011	(r2915)
+++ trunk/src/Analyses/MC_JetAnalysis.cc	Sat Feb  5 23:01:06 2011	(r2916)
@@ -128,7 +128,7 @@
       // Check for numerical precision issues with jet masses
       double m2_i = jets[i].momentum().mass2();
       if (m2_i < 0) {
-        if (m2_i < -1e-8) {
+        if (m2_i < -1e-4) {
           getLog() << Log::WARNING << "Jet mass2 is negative: " << m2_i << " GeV^2. "
                    << "Truncating to 0.0, assuming numerical precision is to blame." << endl;
         }


More information about the Rivet-svn mailing list