diff --git a/DQM/src/DQM/DarkBremInteraction.cxx b/DQM/src/DQM/DarkBremInteraction.cxx index c278b8d3b..47e785f9a 100644 --- a/DQM/src/DQM/DarkBremInteraction.cxx +++ b/DQM/src/DQM/DarkBremInteraction.cxx @@ -195,6 +195,7 @@ void DarkBremInteraction::onProcessStart() { * and then use the electron mass to calculate its total energy. */ void DarkBremInteraction::produce(framework::Event& event) { + histograms_.setWeight(event.getEventHeader().getWeight()); const auto& particle_map{event.getMap("SimParticles")}; const ldmx::SimParticle *recoil{nullptr}, *aprime{nullptr}, *beam{nullptr}; for (const auto& [track_id, particle] : particle_map) {