Skip to content

Commit fa56deb

Browse files
committed
fixing error s.t. primaryVertex_counter is actually reset to 0 properly
1 parent 0a1a87f commit fa56deb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DQM/HLTEvF/plugins/ScoutingCollectionMonitor.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ void ScoutingCollectionMonitor::analyze(const edm::Event& iEvent, const edm::Eve
750750
mvaDiscriminator_pfj_hist->Fill(jet.mvaDiscriminator());
751751
}
752752

753+
primaryVertex_counter = 0;
753754
// fill all the primary vertices histograms
754755
for (const auto& vtx : *primaryVerticesH) {
755756
primaryVertex_counter++;

0 commit comments

Comments
 (0)