|
[Rivet-svn] r3619 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Mar 16 17:50:18 GMT 2012
Author: buckley Date: Fri Mar 16 17:50:18 2012 New Revision: 3619 Log: Hiding lifetime-lookup error message if the offending particle is not a hadron. Modified: trunk/src/Analyses/LHCB_2011_I917009.cc Modified: trunk/src/Analyses/LHCB_2011_I917009.cc ============================================================================== --- trunk/src/Analyses/LHCB_2011_I917009.cc Fri Mar 16 17:49:40 2012 (r3618) +++ trunk/src/Analyses/LHCB_2011_I917009.cc Fri Mar 16 17:50:18 2012 (r3619) @@ -2,6 +2,7 @@ #include "Rivet/Analysis.hh" #include "Rivet/RivetAIDA.hh" #include "Rivet/Tools/Logging.hh" +#include "Rivet/Tools/ParticleIdUtils.hh" #include "Rivet/Projections/UnstableFinalState.hh" #include "LWH/Histogram1D.h" #include "Rivet/Math/MathUtils.hh" @@ -171,9 +172,10 @@ } else { lft = (*pPartLft).second; } - if (lft < 0.0) + if (lft < 0.0 && PID::isHadron(pid)) { MSG_ERROR("Could not determine lifetime for particle with PID " << pid << "... This V^0 will be considered unprompt!"); + } return lft; }
More information about the Rivet-svn mailing list |