20 if (
std::find(_summaryList.begin(), _summaryList.end(),
fRaw) != _summaryList.end()) {
23 if (
std::find(_summaryList.begin(), _summaryList.end(),
fDigi) != _summaryList.end()) {
26 if (
std::find(_summaryList.begin(), _summaryList.end(),
fReco) != _summaryList.end()) {
29 if (
std::find(_summaryList.begin(), _summaryList.end(),
fTP) != _summaryList.end()) {
35 DQHarvester::beginRun(r, es);
38 _sumgen[it_sum]->beginRun(r, es);
56 for (
auto& it_sum : _summaryList) {
69 std::map<Summary, std::string> datatier_names;
70 datatier_names[
fRaw] =
"RAW";
71 datatier_names[
fDigi] =
"DIGI";
72 datatier_names[
fReco] =
"RECO";
73 datatier_names[
fTP] =
"TP";
76 std::map<std::string, int> datatiers;
79 datatiers.insert(std::pair<std::string, int>(datatier_names[it_sum], num));
100 for (std::map<std::string, int>::const_iterator it = datatiers.begin(); it != datatiers.end(); ++it) {
102 int value = it->second;
108 for (
auto& it_sum : _summaryList) {
122 std::cout <<
"********************" << std::endl;
125 for (uint32_t icrate = 0; icrate <
_vCrates.size(); icrate++) {
129 std::cout << flags[icrate]._name <<
" " << flags[icrate]._state << std::endl;
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 &)
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)
#define DEFINE_FWK_MODULE(type)
void beginRun(edm::Run const &, edm::EventSetup const &) override
void setCurrentFolder(std::string const &fullpath)
MonitorElement * _reportSummaryMap
std::map< Summary, hcaldqm::DQClient * > _sumgen
MonitorElement * get(std::string const &path)
MonitorElement * book2D(Args &&...args)
std::vector< int > _vCrates
std::map< Summary, bool > _summarks
std::vector< Summary > _summaryList
void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override