21 if (
std::find(_summaryList.begin(), _summaryList.end(),
fRaw) != _summaryList.end()) {
24 if (
std::find(_summaryList.begin(), _summaryList.end(),
fDigi) != _summaryList.end()) {
27 if (
std::find(_summaryList.begin(), _summaryList.end(),
fReco) != _summaryList.end()) {
30 if (
std::find(_summaryList.begin(), _summaryList.end(),
fTP) != _summaryList.end()) {
38 DQHarvester::beginRun(r,es);
41 _sumgen[it_sum]->beginRun(r,es);
60 for (
auto& it_sum : _summaryList) {
75 std::map<Summary, std::string> datatier_names;
76 datatier_names[
fRaw] =
"RAW";
77 datatier_names[
fDigi] =
"DIGI";
78 datatier_names[
fReco] =
"RECO";
79 datatier_names[
fTP] =
"TP";
81 int num=0; std::map<std::string, int> datatiers;
84 datatiers.insert(std::pair<std::string, int>(datatier_names[it_sum], num));
107 for (std::map<std::string, int>::const_iterator
108 it=datatiers.begin(); it!=datatiers.end(); ++it)
111 int value = it->second;
117 for (
auto& it_sum : _summaryList) {
132 std::cout <<
"********************" << std::endl;
135 for (uint32_t icrate=0; icrate<
_vCrates.size(); icrate++)
141 std::cout << flags[icrate]._name <<
" " << flags[icrate]._state
void setBinContent(int binx, double content)
set content of bin (1-D)
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::map< Summary, std::string > _sumnames
HcalOfflineHarvesting(edm::ParameterSet const &)
#define DEFINE_FWK_MODULE(type)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::vector< Variable::Flags > flags
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void beginRun(edm::Run const &, edm::EventSetup const &) override
void setCurrentFolder(std::string const &fullpath)
MonitorElement * _reportSummaryMap
MonitorElement * get(std::string const &path)
MonitorElement * book2D(Args &&...args)
std::vector< int > _vCrates
std::map< Summary, hcaldqm::DQClient * > _sumgen
std::map< Summary, bool > _summarks
std::vector< Summary > _summaryList
void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override