30 std::vector<MonitorElement *> hcalMEs;
35 std::vector<std::string> fullPathHLTFolders = ig.
getSubdirs();
36 for (
unsigned int i = 0;
i < fullPathHLTFolders.size();
i++) {
38 std::cout <<
"\nfullPath: " << fullPathHLTFolders[
i] << std::endl;
41 std::vector<std::string> fullSubPathHLTFolders = ig.
getSubdirs();
42 for (
unsigned int j = 0; j < fullSubPathHLTFolders.size(); j++) {
44 std::cout <<
"fullSub: " << fullSubPathHLTFolders[j] << std::endl;
46 if (strcmp(fullSubPathHLTFolders[j].c_str(),
"NoiseRatesV/NoiseRatesTask") == 0) {
49 std::cout <<
"hltMES size : " << hcalMEs.size() << std::endl;
51 std::cout <<
"\nError in NoiseRatesEndjob!" << std::endl << std::endl;
62 for (
unsigned int ih = 0; ih < hcalMEs.size(); ih++) {
63 if (strcmp(hcalMEs[ih]->
getName().c_str(),
"hLumiBlockCount") == 0) {
64 hLumiBlockCount = hcalMEs[ih];
68 if (useAllHistos != 0 && useAllHistos != 1)
73 int lumiCountMapsize = -1;
75 hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
NoiseRatesClient(const edm::ParameterSet &)
void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
std::vector< MonitorElement * > getContents(Args &&...args)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
TString getName(TString structure, int layer, TString geometry)
~NoiseRatesClient() override
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
std::vector< std::string > getSubdirs()
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)