|
|
Go to the documentation of this file.
21 edm::LogInfo(
"TrackingActionExecutor") <<
" Creating TrackingActionExecutor "
31 edm::LogInfo(
"TrackingActionExecutor") <<
" Deleting TrackingActionExecutor "
92 std::map<std::string, std::vector<std::string> > layout_map;
96 std::ostringstream shift_summary;
103 shift_summary <<
" Report Summary Content :" << std::endl;
104 shift_summary <<
" =========================" << std::endl;
107 shift_summary << std::endl;
123 str_val <<
" " <<
name <<
" : ";
127 float fvalue = atof(
value.c_str());
129 str_val <<
" Dummy Value " << std::endl;
131 str_val << fvalue << std::endl;
139 std::ostringstream& str_val) {
141 str_val << std::endl;
142 for (
std::map<
std::string, std::vector<std::string> >::iterator it = layout_map.begin(); it != layout_map.end();
145 if (set_name.find(
"Summary") != std::string::npos)
149 str_val <<
" " << set_name <<
" : " << std::endl;
150 str_val <<
" ====================================" << std::endl;
152 str_val << std::setprecision(2);
154 for (std::vector<std::string>::iterator im = it->second.begin(); im != it->second.end(); im++) {
156 if (path_name.empty())
159 std::ostringstream entry_str, mean_str, rms_str;
160 entry_str << std::setprecision(2);
162 mean_str << std::setprecision(2);
164 rms_str << std::setprecision(2);
166 entry_str << std::setw(7) <<
me->getEntries();
167 mean_str << std::setw(7) <<
me->getMean();
168 rms_str << std::setw(7) <<
me->getRMS();
170 "MonitorElement",
me->getName(),
"entries", entry_str.str(),
"mean", mean_str.str(),
"rms", rms_str.str());
173 str_val <<
" " <<
me->getName() <<
" : entries = " << std::setw(7) <<
me->getEntries()
174 <<
" mean = " <<
me->getMean() <<
" : rms = " <<
me->getRMS() << std::endl;
176 str_val << std::endl;
TrackingActionExecutor(edm::ParameterSet const &ps)
void createShiftReport(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void bookGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
TrackingQualityChecker * qualityChecker_
void createChildElement(std::string tag, std::string name)
void createDummyShiftReport()
void printReportSummary(MonitorElement *me, std::ostringstream &str_val, std::string name)
void printShiftHistoParameters(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::map< std::string, std::vector< std::string > > &layout_map, std::ostringstream &str_val)
void createGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Log< level::Info, false > LogInfo
void fillDummyGlobalStatus()
void bookLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void createElement(std::string tag)
void fillDummyGlobalStatus()
void createLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
static void getMEValue(MonitorElement const *me, std::string &val)
void write(std::string fname)
void fillStatusAtLumi(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
SiStripConfigWriter * configWriter_
bool getAllLayouts(std::map< std::string, std::vector< std::string > > &me_names)
void fillLSStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
bool init(std::string main)
Write XML file.
void fillGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
virtual ~TrackingActionExecutor()
void fillGlobalStatus(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
virtual MonitorElement * get(std::string const &fullpath) const
void getDocument(std::string filepath)