31 std::vector<MonitorElement *> hcalMEs;
36 std::vector<std::string> fullPathHLTFolders = igetter.
getSubdirs();
37 for (
unsigned int i = 0;
i < fullPathHLTFolders.size();
i++) {
39 std::cout <<
"\nfullPath: " << fullPathHLTFolders[
i] << std::endl;
42 std::vector<std::string> fullSubPathHLTFolders = igetter.
getSubdirs();
43 for (
unsigned int j = 0; j < fullSubPathHLTFolders.size(); j++) {
45 std::cout <<
"fullSub: " << fullSubPathHLTFolders[j] << std::endl;
47 if (strcmp(fullSubPathHLTFolders[j].c_str(),
"HcalNoiseRatesD/NoiseRatesTask") == 0) {
48 hcalMEs = igetter.
getContents(fullSubPathHLTFolders[j]);
50 std::cout <<
"hltMES size : " << hcalMEs.size() << std::endl;
52 std::cout <<
"\nError in NoiseRatesEndjob!" << std::endl << std::endl;
63 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
64 if (strcmp(hcalMEs[ih]->
getName().c_str(),
"hLumiBlockCount") == 0) {
65 hLumiBlockCount = hcalMEs[ih];
69 if (useAllHistos != 0 && useAllHistos != 1)
74 int lumiCountMapsize = -1;
76 hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
void setCurrentFolder(std::string const &fullpath)
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
#define DEFINE_FWK_MODULE(type)
std::vector< MonitorElement * > getContents(Args &&...args)
TString getName(TString structure, int layer, TString geometry)
HcalNoiseRatesClient(const edm::ParameterSet &)
void beginJob(void) override
std::vector< std::string > getSubdirs()
~HcalNoiseRatesClient() override