Skip to content

Commit

Permalink
Change std::cout to edm::LogInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
schneiml committed Feb 4, 2020
1 parent 6ebd8f5 commit 2f51722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DQMServices/Demo/plugins/DemoNormalDQMEDAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ void DemoNormalDQMEDAnalyzer::bookHistograms(DQMStore::IBooker& ibook,
edm::EventSetup const& iSetup) {
ibook.setCurrentFolder(folder_);

example_ = ibook.book1D("EXAMPLE", "Example 1D", 20, 0., 10., [](TH1*) { std::cout << "booked!\n"; });
example_ = ibook.book1D(
"EXAMPLE", "Example 1D", 20, 0., 10., [](TH1*) { edm::LogInfo("DemoNormalDQMEDAnalyzer") << "booked!\n"; });
example2D_ = ibook.book2D("EXAMPLE_2D", "Example 2D", 20, 0, 20, 15, 0, 15);
example3D_ = ibook.book3D("EXAMPLE_3D", "Example 3D", 20, 0, 20, 15, 0, 15, 25, 0, 25);
exampleTProfile_ = ibook.bookProfile("EXAMPLE_TPROFILE", "Example TProfile", 20, 0, 20, 15, 0, 15);
Expand Down

0 comments on commit 2f51722

Please sign in to comment.