9 #include <dqm/analysis/modules/DQMHistAnalysisOutput.h>
11 #include <daq/slc/base/StringUtil.h>
28 B2DEBUG(20,
"DQMHistAnalysisOutput: Constructor done.");
32 DQMHistAnalysisOutputModule::~DQMHistAnalysisOutputModule() { }
34 void DQMHistAnalysisOutputModule::initialize()
37 for (ParamTypeList::iterator i = parnames.begin(); i != parnames.end(); ++i) {
38 std::string pname = i->first;
39 B2DEBUG(20,
"Adding : " << pname);
41 B2DEBUG(20,
"DQMHistAnalysisOutput: initialized.");
45 void DQMHistAnalysisOutputModule::beginRun()
47 B2DEBUG(20,
"DQMHistAnalysisOutput: beginRun called.");
50 void DQMHistAnalysisOutputModule::event()
56 for (ParamTypeList::iterator i = parnames.begin(); i != parnames.end(); ++i) {
57 std::string pname = i->first;
58 std::string vname = StringUtil::tolower(StringUtil::replace(pname,
"/",
"."));
61 B2DEBUG(20, vname <<
" " << vints.at(pname));
64 B2DEBUG(20, vname <<
" " << vfloats.at(pname));
67 B2DEBUG(20, vname <<
" " << texts.at(pname));
73 void DQMHistAnalysisOutputModule::endRun()
75 B2DEBUG(20,
"DQMHistAnalysisOutput : endRun called");
79 void DQMHistAnalysisOutputModule::terminate()
81 B2DEBUG(20,
"terminate called");
The base class for the histogram analysis module.
std::map< std::string, int > IntValueList
The type of list of integer module parameter.
std::map< std::string, float > FloatValueList
The type of list of float module parameter.
std::map< std::string, EParamType > ParamTypeList
The type of list of module parameter types.
std::map< std::string, std::string > TextList
The type of list of string module parameter.
Class definition for the output module of Sequential ROOT I/O.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.