#include <HLTGlobalStatus.h>
Public Member Functions | |
bool | accept () const |
Has at least one path accepted the event? More... | |
bool | accept (const unsigned int i) const |
Has ith path accepted the event? More... | |
const HLTPathStatus & | at (const unsigned int i) const |
HLTPathStatus & | at (const unsigned int i) |
bool | error () const |
Has any path encountered an error (exception) More... | |
bool | error (const unsigned int i) const |
Has ith path encountered an error (exception)? More... | |
HLTGlobalStatus (const unsigned int n=0) | |
Constructor - for n paths. More... | |
unsigned int | index (const unsigned int i) const |
Get index (slot position) of module giving the decision of the ith path. More... | |
HLTGlobalStatus & | operator= (HLTGlobalStatus const &rhs) |
copy assignment implemented with swap() More... | |
const HLTPathStatus & | operator[] (const unsigned int i) const |
HLTPathStatus & | operator[] (const unsigned int i) |
void | reset () |
Reset status for all paths. More... | |
void | reset (const unsigned int i) |
Reset the ith path. More... | |
unsigned int | size () const |
Get number of paths stored. More... | |
hlt::HLTState | state (const unsigned int i) const |
Get status of ith path. More... | |
void | swap (HLTGlobalStatus &other) |
swap function More... | |
bool | wasrun () const |
Was at least one path run? More... | |
bool | wasrun (const unsigned int i) const |
Was ith path run? More... | |
Private Member Functions | |
bool | State (unsigned int icase) const |
Global state variable calculated on the fly. More... | |
Private Attributes | |
std::vector< HLTPathStatus > | paths_ |
Status of each HLT path. More... | |
The HLT global status, summarising the status of the individual HLT triggers, is implemented as a vector of HLTPathStatus objects.
If the user wants map-like indexing of HLT triggers through their names as key, s/he must use the TriggerNamesService.
Definition at line 26 of file HLTGlobalStatus.h.
|
inline |
Constructor - for n paths.
Definition at line 36 of file HLTGlobalStatus.h.
|
inline |
Has at least one path accepted the event?
Definition at line 52 of file HLTGlobalStatus.h.
References State().
Referenced by accept(), edm::TriggerResultsByName::accept(), acceptHLT(), TriggerHelper::acceptHltLogicalExpression(), GenericTriggerEventFlag::acceptHltLogicalExpression(), CaloTowerAnalyzer::analyze(), EventShapeDQM::analyze(), ElectronGeneralAnalyzer::analyze(), HLTTauDQMTagAndProbePlotter::analyze(), DQMHcalIsolatedBunchAlCaReco::analyze(), HeavyIonUCCDQM::analyze(), SUSY_HLT_InclusiveHT::analyze(), SUSY_HLT_DoubleMuon_Hadronic::analyze(), SUSY_HLT_PhotonHT::analyze(), SUSY_HLT_PhotonMET::analyze(), HLTInspect::analyze(), SUSY_HLT_DoubleEle_Hadronic::analyze(), EwkMuLumiMonitorDQM::analyze(), HLTVertexPerformanceAnalyzer::analyze(), PixelVTXMonitor::analyze(), QcdPhotonsDQM::analyze(), SUSY_HLT_DiJet_MET::analyze(), SUSY_HLT_Muon_Hadronic::analyze(), SUSY_HLT_VBF_Mu::analyze(), BeamMonitor::analyze(), SUSY_HLT_MuEle_Hadronic::analyze(), SUSY_HLT_alphaT::analyze(), EwkDQM::analyze(), dimuonHLTFilterCheck::analyze(), TopDiLeptonDQM::analyze(), HotlineDQM::analyze(), HLTBTagPerformanceAnalyzer::analyze(), SUSY_HLT_Razor::analyze(), MuTriggerAnalyzer::analyze(), DQMExample_Step1::analyze(), MuonRecoOneHLT::analyze(), GeneralHLTOffline::analyze(), SUSY_HLT_SingleLepton::analyze(), HLTrigReport::analyze(), TopSingleLeptonHLTValidation::analyze(), HeavyFlavorValidation::analyze(), TopDiLeptonHLTValidation::analyze(), HcalRaddamMuon::analyze(), HLTInfo::analyze(), HLTMuonMatchAndPlot::analyze(), HLTScalers::analyze(), HLTHiggsSubAnalysis::analyze(), DQMPFCandidateAnalyzer::analyze(), HcalHBHEMuonAnalyzer::analyze(), IsoTrackCalibration::analyze(), HLTExoticaSubAnalysis::analyze(), StudyHLT::analyze(), EmDQMReco::analyze(), HLTriggerJSONMonitoring::analyze(), HcalIsoTrkAnalyzer::analyze(), L1Muon2RecoTreeProducer::analyze(), JetAnalyzer::analyze(), ErsatzMEt::analyze(), HLTObjectMonitorProtonLead::analyze(), HLTObjectMonitor::analyze(), HLTObjectsMonitor::analyze(), METAnalyzer::analyze(), IsolatedTracksCone::analyze(), TrackerDpgAnalysis::analyze(), ZCounting::analyzeElectrons(), ZCounting::analyzeMuons(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), CSCEfficiency::applyTrigger(), heppy::TriggerBitChecker::check(), HltDiff::compare(), HLTBitComputer::compute(), CSCValidation::doHLT(), L1MetFilterRecoTreeProducer::doMetFilters(), ZeeCalibration::duringLoop(), MuScleFit::duringLoop(), HLTBitVariable::eval(), FWHLTTriggerTableView::fillAverageAcceptFractions(), TriggerOutputBranches::fillColumn(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), QcdUeDQM::fillHltBits(), QcdLowPtDQM::fillHltBits(), ZeePlots::fillHLTInfo(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), FWHLTTriggerTableView::fillTable(), CastorDigiMonitor::fillTrigRes(), PdfSystematicsAnalyzer::filter(), SimpleSystematicsAnalyzer::filter(), HLTPathSelector::filter(), WMuNuValidator::filter(), WMuNuSelector::filter(), HltComparator::filter(), PhysDecl::filter(), HLTHighLevel::filter(), AlCaIsoTracksProducerFilter::filter(), AlCaIsolatedBunchSelector::filter(), AlCaIsolatedBunchFilter::filter(), PrescalerFHN::filter(), AlCaLowPUHBHEMuonFilter::filter(), AlCaHEMuonFilter::filter(), AlCaHBHEMuonFilter::filter(), AlCaIsoTracksFilter::filter(), ZeeCandidateFilter::filter(), FWFileEntry::filterEventsWithCustomParser(), HLTTauDQMPath::fired(), HLTJetMETValidation::getHLTResults(), dqmoffline::l1t::getTriggerResults(), esMonitoring.FDJsonServer::handle_accept(), LeptonSkimming::hltFired(), JetMETHLTOfflineSource::isHLTPathAccepted(), triggerExpression::PathReader::operator()(), TrigObjTnPHistColl::PathSelector::operator()(), hltdqm::passTrig(), FWPathsPopup::postEvent(), PrescaleWeightProvider::prescaleWeight(), CandidateTriggerObjectProducer::produce(), pat::PATTriggerEventProducer::produce(), GenFilterEfficiencyProducer::produce(), pat::PATTriggerProducer::produce(), HLTEventSelector::select(), AlCaIsoTracksProducer::select(), L1Analysis::L1AnalysisEvent::Set(), egHLT::OffHelper::setTrigInfo(), GsfElectronDataAnalyzer::trigger(), and DQMAnalyzer::trigger().
|
inline |
Has ith path accepted the event?
Definition at line 66 of file HLTGlobalStatus.h.
References edm::HLTPathStatus::accept(), and at().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
|
inline |
Definition at line 58 of file HLTGlobalStatus.h.
Referenced by accept(), HLTriggerJSONMonitoring::analyze(), edm::TriggerResultsByName::at(), TriggerRatesMonitor::dqmAnalyze(), error(), HSCPTreeBuilder::filter(), index(), edm::TriggerResultsByName::operator[](), reset(), state(), and wasrun().
|
inline |
Definition at line 59 of file HLTGlobalStatus.h.
|
inline |
Has any path encountered an error (exception)
Definition at line 54 of file HLTGlobalStatus.h.
References State().
Referenced by TriggerHelper::acceptHltLogicalExpression(), GenericTriggerEventFlag::acceptHltLogicalExpression(), CaloTowerAnalyzer::analyze(), HLTrigReport::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCEfficiency::applyTrigger(), Page1Parser.Page1Parser::check_for_whole_start_tag(), edm::TriggerResultsByName::error(), HLTPathSelector::filter(), HltComparator::filter(), CandidateTriggerObjectProducer::produce(), pat::PATTriggerEventProducer::produce(), and pat::PATTriggerProducer::produce().
|
inline |
Has ith path encountered an error (exception)?
Definition at line 68 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::error().
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
inline |
Get index (slot position) of module giving the decision of the ith path.
Definition at line 73 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::index().
Referenced by HLTrigReport::analyze(), HLTScalers::analyze(), EmDQM::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), HltDiff::compare(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), edm::TriggerResultsByName::index(), BeautifulSoup.PageElement::insert(), HLTTauDQMPath::lastPassedFilter(), FWPathsPopup::postEvent(), pat::PATTriggerProducer::produce(), and HLTPrescaleProvider::rejectedByHLTPrescaler().
|
inline |
copy assignment implemented with swap()
Definition at line 79 of file HLTGlobalStatus.h.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 60 of file HLTGlobalStatus.h.
|
inline |
Definition at line 61 of file HLTGlobalStatus.h.
|
inline |
Reset status for all paths.
Definition at line 42 of file HLTGlobalStatus.h.
References mps_fire::i, gen::n, and size().
Referenced by edm::EventSelector::maskTriggerResults(), edm::EventSelector::selectionIsValid(), and edm::EventSelector::testSelectionOverlap().
|
inline |
Reset the ith path.
Definition at line 75 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::reset().
|
inline |
Get number of paths stored.
Definition at line 39 of file HLTGlobalStatus.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), ElectronGeneralAnalyzer::analyze(), DQMHcalIsolatedBunchAlCaReco::analyze(), HLTEventAnalyzerAOD::analyze(), HLTEventAnalyzerRAW::analyze(), BeamMonitor::analyze(), EwkDQM::analyze(), dimuonHLTFilterCheck::analyze(), TopDiLeptonDQM::analyze(), MuTriggerAnalyzer::analyze(), GeneralHLTOffline::analyze(), HigPhotonJetHLTOfflineSource::analyze(), HcalRaddamMuon::analyze(), HLTInfo::analyze(), HLTScalers::analyze(), HcalHBHEMuonAnalyzer::analyze(), IsoTrackCalibration::analyze(), StudyHLT::analyze(), HLTriggerJSONMonitoring::analyze(), HcalIsoTrkAnalyzer::analyze(), ErsatzMEt::analyze(), IsolatedTracksCone::analyze(), TrackerDpgAnalysis::analyze(), edm::EventSelector::containsExceptions(), CSCValidation::doHLT(), TriggerRatesMonitor::dqmAnalyze(), ZeeCalibration::duringLoop(), AdHocNTupler::fill(), ZeePlots::fillHLTInfo(), CastorDigiMonitor::fillTrigRes(), HLTPathSelector::filter(), HLTHighLevel::filter(), AlCaIsolatedBunchFilter::filter(), AlCaIsolatedBunchSelector::filter(), AlCaIsoTracksProducerFilter::filter(), PrescalerFHN::filter(), AlCaLowPUHBHEMuonFilter::filter(), AlCaHBHEMuonFilter::filter(), AlCaHEMuonFilter::filter(), AlCaIsoTracksFilter::filter(), ZeeCandidateFilter::filter(), HSCPTreeBuilder::filter(), edm::TriggerResults::find(), HLTJetMETValidation::getHLTResults(), dqmoffline::l1t::getTriggerResults(), edm::service::TriggerNamesService::getTrigPaths(), HLTEventSelector::HLTEventSelector(), LeptonSkimming::hltFired(), HLTHighLevel::init(), PrescalerFHN::init(), ZCounting::initHLT(), HigPhotonJetHLTOfflineSource::isMonitoredTriggerAccepted(), edm::EventSelector::maskTriggerResults(), edm::operator<<(), pat::PackedTriggerPrescales::PackedTriggerPrescales(), hltdqm::passTrig(), FWPathsPopup::postEvent(), CandidateTriggerObjectProducer::produce(), reset(), dqmservices::TriggerSelector::TreeElement::returnStatus(), AlCaIsoTracksProducer::select(), L1Analysis::L1AnalysisEvent::Set(), edm::TriggerResultsByName::size(), State(), GsfElectronDataAnalyzer::trigger(), DQMAnalyzer::trigger(), TriggerOutputBranches::triggerNames(), edm::EventBase::triggerNames_(), edm::TriggerResultsByName::TriggerResultsByName(), and TriggerOutputBranches::updateTriggerNames().
|
inline |
Get status of ith path.
Definition at line 71 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::state().
Referenced by edm::EventSelector::acceptAllBits(), edm::EventSelector::acceptOneBit(), dimuonHLTFilterCheck::analyze(), HLTScalers::analyze(), HltDiff::compare(), edm::EventSelector::maskTriggerResults(), edm::operator<<(), edm::TriggerResultsByName::state(), and State().
|
inlineprivate |
Global state variable calculated on the fly.
Definition at line 88 of file HLTGlobalStatus.h.
References edm::hlt::Exception, flags, mps_fire::i, gen::n, edm::hlt::Pass, edm::hlt::Ready, alignCSCRings::s, size(), and state().
Referenced by accept(), error(), and wasrun().
|
inline |
swap function
Definition at line 77 of file HLTGlobalStatus.h.
References paths_.
Referenced by operator=(), edm::TriggerResults::swap(), edm::swap(), and std::swap().
|
inline |
Was at least one path run?
Definition at line 50 of file HLTGlobalStatus.h.
References State().
Referenced by EventShapeDQM::analyze(), HLTTauDQMTagAndProbePlotter::analyze(), HeavyIonUCCDQM::analyze(), SUSY_HLT_InclusiveHT::analyze(), SUSY_HLT_DoubleMuon_Hadronic::analyze(), SUSY_HLT_PhotonHT::analyze(), SUSY_HLT_PhotonMET::analyze(), SUSY_HLT_DoubleEle_Hadronic::analyze(), SUSY_HLT_DiJet_MET::analyze(), SUSY_HLT_Muon_Hadronic::analyze(), SUSY_HLT_VBF_Mu::analyze(), SUSY_HLT_MuEle_Hadronic::analyze(), SUSY_HLT_alphaT::analyze(), dimuonHLTFilterCheck::analyze(), HotlineDQM::analyze(), SUSY_HLT_Razor::analyze(), DQMExample_Step1::analyze(), SUSY_HLT_SingleLepton::analyze(), HLTrigReport::analyze(), HLTMuonMatchAndPlot::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCEfficiency::applyTrigger(), HLTPathSelector::filter(), HltComparator::filter(), CandidateTriggerObjectProducer::produce(), pat::PATTriggerEventProducer::produce(), GenFilterEfficiencyProducer::produce(), pat::PATTriggerProducer::produce(), and edm::TriggerResultsByName::wasrun().
|
inline |
Was ith path run?
Definition at line 64 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::wasrun().
|
private |
Status of each HLT path.
Definition at line 31 of file HLTGlobalStatus.h.
Referenced by Config.Process::_insertPaths(), Config.Process::dumpConfig(), Config.Process::dumpPython(), Config.Process::pathNames(), and swap().