Description: This is a DQM source meant to plot high-level HLT trigger quantities as stored in the HLT results object TriggerResults
Implementation: <Notes on="" implementation>="">
Definition at line 46 of file FourVectorHLT.h.
Implements edm::EDAnalyzer.
Definition at line 69 of file FourVectorHLT.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dbe_, MillePedeFileConverter_cfg::e, edm::InputTag::encode(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::filterTag(), trigger::TriggerEvent::getObjects(), iEvent, edm::HandleBase::isValid(), dqmdumpme::k, LogDebug, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, DiDispStaMuonMonitor_cfi::pt, dqm::implementation::DQMStore::setCurrentFolder(), trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and findQualityFiles::v.
78 edm::LogInfo(
"Status") <<
"Summary HLT object (TriggerEvent) not found, " 86 for (
size_t ia = 0; ia < triggerObj->
sizeFilters(); ++ia) {
91 size_t p = fullname.find_first_of(
':');
92 if (
p != std::string::npos) {
93 name = fullname.substr(0,
p);
98 LogDebug(
"Parameter") <<
"filter " << ia <<
", full name = " << fullname <<
", p = " <<
p 99 <<
", abbreviated = " <<
name;
107 LogDebug(
"Status") <<
"new histo with name " << histoname;
112 histoname =
name +
"_eta";
116 histoname =
name +
"_phi";
120 histoname =
name +
"_etaphi";
130 for (trigger::Keys::const_iterator ki =
k.begin(); ki !=
k.end(); ++ki) {
131 LogDebug(
"Parameters") <<
"pt, eta, phi = " << toc[*ki].pt() <<
", " << toc[*ki].eta() <<
", " 133 pic->getEtHisto()->Fill(toc[*ki].
pt());
134 pic->getEtaHisto()->Fill(toc[*ki].
eta());
135 pic->getPhiHisto()->Fill(toc[*ki].
phi());
136 pic->getEtaVsPhiHisto()->Fill(toc[*ki].
eta(), toc[*ki].
phi());
146 LogDebug(
"Status") <<
"filling ... ";
148 for (trigger::Keys::const_iterator ki =
k.begin(); ki !=
k.end(); ++ki) {
149 v->getEtHisto()->Fill(toc[*ki].
pt());
150 v->getEtaHisto()->Fill(toc[*ki].
eta());
151 v->getPhiHisto()->Fill(toc[*ki].
phi());
152 v->getEtaVsPhiHisto()->Fill(toc[*ki].
eta(), toc[*ki].
phi());
const Keys & filterKeys(trigger::size_type index) const
trigger::size_type sizeFilters() const
void setCurrentFolder(std::string const &fullpath) override
const edm::InputTag filterTag(trigger::size_type index) const
const TriggerObjectCollection & getObjects() const
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Log< level::Info, false > LogInfo
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
std::vector< size_type > Keys
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
PathInfoCollection hltPaths_
std::vector< PathInfo >::iterator find(std::string pathName)
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())