42 edm::LogInfo(
"PFCandidateDQMAnalyzer") <<
" PFCandidateDQMAnalyzer::beginJob " <<
"Histogram Folder path set to "<<
path;
71 if ( minRes < skimPS.
getParameter<
double>(
"lowerCutOffOnResolution")) {
74 }
else if (maxRes > skimPS.
getParameter<
double>(
"upperCutOffOnResolution")) {
83 unsigned int runNb = iEvent.
id().
run();
84 unsigned int evtNb = iEvent.
id().
event();
89 std::ostringstream eventid_str;
90 eventid_str << runNb <<
"_"<< evtNb <<
"_" << lumiNb;
T getParameter(std::string const &) const
EventNumber_t event() const
void setup()
book histograms
edm::EDGetTokenT< edm::View< reco::Candidate > > myMatchedCand_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
PFCandidateDQMAnalyzer(const edm::ParameterSet ¶meterSet)
#define DEFINE_FWK_MODULE(type)
std::string benchmarkLabel_
LuminosityBlockNumber_t luminosityBlock() const
void setParameters(float dRMax, bool matchCharge, Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool refHistoFlag)
set the parameters locally
MonitorElement * bookFloat(const char *name)
Book float.
void analyze(edm::Event const &, edm::EventSetup const &)
void fill(const T &candidateCollection, const C &matchedCandCollection, float &minVal, float &maxVal, const edm::ParameterSet ¶meterSet)
fill histograms with all particle
tuple path
else: Piece not in the list, fine.
edm::EDGetTokenT< edm::View< reco::Candidate > > myCand_
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
PFCandidateMonitor pfCandidateMonitor_
bool createEfficiencyHistos_
edm::InputTag matchLabel_
void storeBadEvents(edm::Event const &, float &val)
void Reset(void)
reset ME (ie. contents, errors, etc)
ParameterSet const & parameterSet(Provenance const &provenance)
void setCurrentFolder(const std::string &fullpath)
edm::InputTag inputLabel_