14#include <dqm/analysis/modules/DQMHistAnalysisExampleFlags.h>
34 B2DEBUG(20,
"DQMHistAnalysisExampleFlags: Constructor done.");
35 setDescription(
"Example DQMHistAnalysisModules with how canvas flag settings.");
41 B2DEBUG(20,
"DQMHistAnalysisExampleFlags: initialized.");
45 m_hFlagtest =
new TH2F(
"Flagtest",
"Flagtest;xxx;yyy", 12, 0, 12, 4, 0, 4);
51 B2DEBUG(20,
"DQMHistAnalysisExampleFlags: beginRun called.");
70 const Int_t colNum = 5;
71 Int_t palette[colNum] {13 , 0 , 3 , 5 , 2 };
74 gStyle->SetPalette(5, palette);
93 B2DEBUG(20,
"DQMHistAnalysisExampleFlags : endRun called");
99 B2DEBUG(20,
"DQMHistAnalysisExampleFlags: terminate called");
void initialize() override final
Initializer.
void terminate() override final
This method is called at the end of the event processing.
DQMHistAnalysisExampleFlagsModule()
Constructor.
void event() override final
This method is called for each event.
TCanvas * m_cFlagtest
The drawing canvas for the test.
void endRun() override final
This method is called if the current run ends.
void beginRun() override final
Called when entering a new run.
TH2F * m_hFlagtest
The histogram for the test.
The base class for the histogram analysis module.
void setDescription(const std::string &description)
Sets the description of the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.