Skip to content

Commit 6786ff8

Browse files
authored
Merge pull request #48789 from jprendi/primaryVertexCounterFix
Fixing minor error in Scouting DQM module
2 parents 906c045 + 8ef8433 commit 6786ff8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DQM/HLTEvF/plugins/ScoutingCollectionMonitor.cc

Lines changed: 3 additions & 2 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++;
@@ -948,8 +949,8 @@ void ScoutingCollectionMonitor::bookHistograms(DQMStore::IBooker& ibook,
948949

949950
if (!onlyScouting_) {
950951
PVvsPU_hist =
951-
ibook.bookProfile("PVvsPU", "Number of primary vertices vs pile up; pile up; <N_{PV}>", 20, 20, 60, 0, 65);
952-
rhovsPU_hist = ibook.bookProfile("rhovsPU", "#rho vs pile up; pile up; <#rho>", 20, 20, 60, 0, 45);
952+
ibook.bookProfile("PVvsPU", "Number of primary vertices vs pile up; pile up; <N_{PV}>", 20, 20, 70, 0, 65);
953+
rhovsPU_hist = ibook.bookProfile("rhovsPU", "#rho vs pile up; pile up; <#rho>", 20, 20, 70, 0, 45);
953954
}
954955

955956
ibook.setCurrentFolder(topfoldername_ + "/PFcand");

0 commit comments

Comments
 (0)