From 207a6dc1d78e164f8dc9eb3f0bf063d648f72d9c Mon Sep 17 00:00:00 2001 From: mmusich Date: Thu, 27 Jun 2024 11:27:45 +0200 Subject: [PATCH] fix overloaded book1DD method in DQMStore --- DQMServices/Core/interface/DQMStore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DQMServices/Core/interface/DQMStore.h b/DQMServices/Core/interface/DQMStore.h index 83f3bbfc2a5c1..d737232065dcc 100644 --- a/DQMServices/Core/interface/DQMStore.h +++ b/DQMServices/Core/interface/DQMStore.h @@ -163,7 +163,7 @@ namespace dqm { template ::value, int> = 0> MonitorElement* book1DD( TString const& name, TString const& title, int nchX, float const* xbinsize, FUNC onbooking = NOOP()) { - return bookME(name, MonitorElementData::Kind::TH1F, [=]() { + return bookME(name, MonitorElementData::Kind::TH1D, [=]() { auto th1 = new TH1D(name, title, nchX, xbinsize); onbooking(th1); return th1;