Skip to content

Commit 5815534

Browse files
authored
Merge pull request #45325 from mmusich/mm_dev_fix_book1DD
fix overloaded `book1DD` method in `DQMStore`
2 parents f0cd8b9 + 207a6dc commit 5815534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DQMServices/Core/interface/DQMStore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ namespace dqm {
163163
template <typename FUNC = NOOP, std::enable_if_t<not std::is_arithmetic<FUNC>::value, int> = 0>
164164
MonitorElement* book1DD(
165165
TString const& name, TString const& title, int nchX, float const* xbinsize, FUNC onbooking = NOOP()) {
166-
return bookME(name, MonitorElementData::Kind::TH1F, [=]() {
166+
return bookME(name, MonitorElementData::Kind::TH1D, [=]() {
167167
auto th1 = new TH1D(name, title, nchX, xbinsize);
168168
onbooking(th1);
169169
return th1;

0 commit comments

Comments
 (0)