19 edm::LogError(
"HcalNoiseRatesClient") <<
"unable to get DQMStore service, upshot is no client histograms will be made";
22 if(dbe_) dbe_->setVerbose(0);
29 if(dbe_) dbe_->setCurrentFolder(
dirName_);
79 std::vector<MonitorElement*> hcalMEs;
84 for(
unsigned int i=0;
i<fullPathHLTFolders.size();
i++) {
89 std::vector<std::string> fullSubPathHLTFolders =
dbe_->
getSubdirs();
90 for(
unsigned int j=0;
j<fullSubPathHLTFolders.size();
j++) {
94 if( strcmp(fullSubPathHLTFolders[
j].c_str(),
"HcalNoiseRatesD/NoiseRatesTask") ==0 ){
110 int useAllHistos = 0;
112 for(
unsigned int ih=0; ih<hcalMEs.size(); ih++){
113 if( strcmp(hcalMEs[ih]->
getName().c_str(),
"hLumiBlockCount") ==0 ){
114 hLumiBlockCount = hcalMEs[ih];
118 if( useAllHistos !=0 && useAllHistos !=1 )
return 0;
122 int lumiCountMapsize = -1;
123 if (useAllHistos) hLumiBlockCount->
Fill(0.0, lumiCountMapsize);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< std::string > getSubdirs(void) const
virtual void analyze(const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
virtual void runClient_()
virtual ~HcalNoiseRatesClient()
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
std::string getName(Reflex::Type &cc)
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
std::vector< MonitorElement * > getContents(const std::string &path) const
virtual void beginJob(void)
HcalNoiseRatesClient(const edm::ParameterSet &)
void setCurrentFolder(const std::string &fullpath)