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)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
std::map< Summary, std::string > _sumnames
HcalOfflineHarvesting(edm::ParameterSet const &)
MonitorElement * get(const std::string &path)
#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)
virtual void endJob() final
MonitorElement * _reportSummaryMap
virtual void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::vector< int > _vCrates
std::map< Summary, hcaldqm::DQClient * > _sumgen
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
std::map< Summary, bool > _summarks
std::vector< Summary > _summaryList