4 std::string MsgLoggerCat =
"HarvestingAnalyzer_HarvestingAnalyzer";
10 edm::LogInfo(MsgLoggerCat) <<
"\n===============================\n" 11 <<
"Initialized as EDAnalyzer with parameter values:\n" 12 <<
" Name = " <<
fName <<
"\n" 13 <<
" Verbosity = " << verbosity <<
"\n" 14 <<
"===============================\n";
44 numerator->GetNbinsX(),
45 numerator->GetXaxis()->GetXmin(),
46 numerator->GetXaxis()->GetXmax());
49 me->
getTH1F()->Divide(numerator, denominator, 1., 1.,
"B");
52 std::cout <<
"Monitor elements don't exist" << std::endl;
55 std::cout <<
"Don't have a valid DQM back end" << std::endl;
void endRun(const edm::Run &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
HarvestingAnalyzer(const edm::ParameterSet &)
MonitorElement * book1D(char_string const &name, char_string const &title, int const nchX, double const lowX, double const highX)
Book 1D histogram.
void beginRun(const edm::Run &, const edm::EventSetup &) override
MonitorElement * get(std::string const &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void analyze(const edm::Event &, const edm::EventSetup &) override
void setCurrentFolder(std::string const &fullpath)
~HarvestingAnalyzer() override