29 std::vector<MonitorElement *> hcalMEs;
34 std::vector<std::string> fullPathHLTFolders = igetter.
getSubdirs();
35 for (
unsigned int i = 0;
i < fullPathHLTFolders.size();
i++) {
37 std::cout <<
"\nfullPath: " << fullPathHLTFolders[
i] << std::endl;
40 std::vector<std::string> fullSubPathHLTFolders = igetter.
getSubdirs();
41 for (
unsigned int j = 0;
j < fullSubPathHLTFolders.size();
j++) {
43 std::cout <<
"fullSub: " << fullSubPathHLTFolders[
j] << std::endl;
45 if (strcmp(fullSubPathHLTFolders[
j].c_str(),
"HcalNoiseRatesD/NoiseRatesTask") == 0) {
48 std::cout <<
"hltMES size : " << hcalMEs.size() << std::endl;
50 std::cout <<
"\nError in NoiseRatesEndjob!" << std::endl << std::endl;
61 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
62 if (strcmp(hcalMEs[ih]->
getName().c_str(),
"hLumiBlockCount") == 0) {
63 hLumiBlockCount = hcalMEs[ih];
72 int lumiCountMapsize = -1;
74 hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
T getParameter(std::string const &) const
virtual void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
T getUntrackedParameter(std::string const &, T const &) const
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
int NoiseRatesEndjob(const std::vector< MonitorElement *> &hcalMEs)
TString getName(TString structure, int layer, TString geometry)
HcalNoiseRatesClient(const edm::ParameterSet &)
void beginJob(void) override
~HcalNoiseRatesClient() override
virtual std::vector< dqm::harvesting::MonitorElement * > getContents(std::string const &path) const
virtual DQM_DEPRECATED std::vector< std::string > getSubdirs() const