3 using namespace hcaldqm;
4 using namespace hcaldqm::constants;
29 DQHarvester::beginRun(r,es);
31 for (std::vector<DQClient*>::const_iterator it=
_vsumgen.begin();
33 (*it)->beginRun(r,es);
55 for (std::vector<DQClient*>::const_iterator it=
_vsumgen.begin();
60 (*it)->endLuminosityBlock(ib,ig,lb,es);
72 int num=0; std::map<std::string, int> datatiers;
75 datatiers.insert(std::pair<std::string, int>(
"RAW",num));
80 datatiers.insert(std::pair<std::string, int>(
"DIGI",num));
85 datatiers.insert(std::pair<std::string, int>(
"TP",num));
90 datatiers.insert(std::pair<std::string, int>(
"RECO",num));
108 sprintf(name,
"%d",
_vFEDs[
i]);
112 for (std::map<std::string, int>::const_iterator
113 it=datatiers.begin(); it!=datatiers.end(); ++it)
116 int value = it->second;
123 for (std::vector<DQClient*>::const_iterator it=
_vsumgen.begin();
135 std::vector<hcaldqm::flag::Flag>
flags = (*it)->endJob(ib,ig);
138 std::cout <<
"********************" << std::endl;
141 for (uint32_t ifed=0; ifed<
_vFEDs.size(); ifed++)
144 datatiers[flags[ifed].
_name]+1, (
int)flags[ifed]._state);
148 std::cout << flags[ifed]._name <<
" " << flags[ifed]._state
void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< bool > _vmarks
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
MonitorElement * _reportSummaryMap
virtual void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
std::vector< std::string > _vnames
virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
std::vector< hcaldqm::DQClient * > _vsumgen
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::vector< int > _vFEDs
virtual void beginRun(edm::Run const &, edm::EventSetup const &)