40 edm::LogInfo(
"PFJMETDQMAnalyzer") <<
" PFMETDQMAnalyzer::beginJob " <<
"Histogram Folder path set to "<<
path;
62 if ( minRes < skimPS.
getParameter<
double>(
"lowerCutOffOnResolution")) {
65 }
else if (maxRes > skimPS.
getParameter<
double>(
"upperCutOffOnResolution")) {
73 unsigned int runNb = iEvent.
id().
run();
74 unsigned int evtNb = iEvent.
id().
event();
79 std::ostringstream eventid_str;
80 eventid_str << runNb <<
"_"<< evtNb <<
"_" << lumiNb;
T getParameter(std::string const &) const
EventNumber_t event() const
void analyze(edm::Event const &, edm::EventSetup const &)
void setParameters(Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool metSpHistos)
set the parameters locally
edm::InputTag inputLabel_
#define DEFINE_FWK_MODULE(type)
edm::InputTag matchLabel_
PFMETMonitor pfMETMonitor_
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * bookFloat(const char *name)
Book float.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void fillOne(const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal)
std::string benchmarkLabel_
void storeBadEvents(edm::Event const &, float &val)
PFMETDQMAnalyzer(const edm::ParameterSet ¶meterSet)
void setup()
book histograms
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)