30 std::vector<MonitorElement *> hcalMEs;
35 std::vector<std::string> fullPathHLTFolders = igetter.
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 = igetter.
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(),
"HcalNoiseRatesD/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 getUntrackedParameter(std::string const &, T const &) const
const edm::EventSetup & c
virtual void setCurrentFolder(std::string const &fullpath)
virtual DQM_DEPRECATED std::vector< std::string > getSubdirs() const
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
virtual std::vector< dqm::harvesting::MonitorElement * > getContents(std::string const &path) const
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
TString getName(TString structure, int layer, TString geometry)
T getParameter(std::string const &) const
HcalNoiseRatesClient(const edm::ParameterSet &)
void beginJob(void) override
~HcalNoiseRatesClient() override