|
[Rivet-svn] r3655 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Apr 2 14:25:41 BST 2012
Author: richardn Date: Mon Apr 2 14:25:41 2012 New Revision: 3655 Log: fix to avoid seg fault in finalize due to deleted histograms, how can this be validated? Modified: trunk/src/Analyses/ATLAS_2012_I1094568.cc Modified: trunk/src/Analyses/ATLAS_2012_I1094568.cc ============================================================================== --- trunk/src/Analyses/ATLAS_2012_I1094568.cc Fri Mar 30 15:10:51 2012 (r3654) +++ trunk/src/Analyses/ATLAS_2012_I1094568.cc Mon Apr 2 14:25:41 2012 (r3655) @@ -11,7 +11,7 @@ #include "Rivet/Projections/LeptonClusters.hh" #include "Rivet/Projections/FastJets.hh" #include "Rivet/Tools/ParticleIdUtils.hh" - +#include "LWH/AIManagedObject.h" #include "Rivet/Particle.hh" #include "HepMC/GenEvent.h" @@ -413,7 +413,7 @@ ++dp_counter; } - delete vetoPt; + tree().rm(tree().findPath(dynamic_cast<AIDA::IManagedObject&>(*vetoPt))); }
More information about the Rivet-svn mailing list |