47 unsigned int runNb = iEvent.
id().
run();
48 unsigned int evtNb = iEvent.
id().
event();
50 std::ostringstream eventid_str;
51 eventid_str << runNb <<
"_"<< evtNb <<
"_" << lumiNb;
53 for (std::vector<std::string>::const_iterator ifolder =
folderNames_.begin();
55 std::string
path =
"ParticleFlow/"+(*ifolder) +
"/BadEvents";
61 <<
" Run # : " << runNb
62 <<
" Event # : " << evtNb
63 <<
" Luminosity Block # : " << lumiNb
T getParameter(std::string const &) const
EventNumber_t event() const
#define DEFINE_FWK_MODULE(type)
uint64_t nSelectedEvents_
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
PFDQMEventSelector(const edm::ParameterSet &)
std::vector< std::string > folderNames_
std::string inputFileName_
bool open(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
bool filter(edm::Event &, edm::EventSetup const &)