47 std::vector<MonitorElement*> hcalMEs;
51 std::vector<std::string> fullPathHLTFolders = igetter.
getSubdirs();
52 for(
unsigned int i=0;
i<fullPathHLTFolders.size();
i++) {
57 std::vector<std::string> fullSubPathHLTFolders = igetter.
getSubdirs();
58 for(
unsigned int j=0;j<fullSubPathHLTFolders.size();j++) {
62 if( strcmp(fullSubPathHLTFolders[j].c_str(),
"HcalNoiseRatesD/NoiseRatesTask") ==0 ){
63 hcalMEs = igetter.
getContents(fullSubPathHLTFolders[j]);
80 for(
unsigned int ih=0; ih<hcalMEs.size(); ih++){
81 if( strcmp(hcalMEs[ih]->getName().c_str(),
"hLumiBlockCount") ==0 ){
82 hLumiBlockCount = hcalMEs[ih];
86 if( useAllHistos !=0 && useAllHistos !=1 )
return 0;
90 int lumiCountMapsize = -1;
91 if (useAllHistos) hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
std::vector< MonitorElement * > getContents(Args &&...args)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
HcalNoiseRatesClient(const edm::ParameterSet &)
void setCurrentFolder(const std::string &fullpath)
void beginJob(void) override
std::vector< std::string > getSubdirs()
~HcalNoiseRatesClient() override