#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 27 of file HLTGlobalStatus.h.
|
inline |
Constructor - for n paths.
Definition at line 34 of file HLTGlobalStatus.h.
|
inline |
Has at least one path accepted the event?
Definition at line 51 of file HLTGlobalStatus.h.
References State().
Referenced by accept(), edm::TriggerResultsByName::accept(), TriggerHelper::acceptHltLogicalExpression(), GenericTriggerEventFlag::acceptHltLogicalExpression(), CaloTowerAnalyzer::analyze(), HLTInspect::analyze(), QcdPhotonsDQM::analyze(), EwkDQM::analyze(), TopDiLeptonDQM::analyze(), HcalRaddamMuon::analyze(), HLTHiggsSubAnalysis::analyze(), DQMPFCandidateAnalyzer::analyze(), HcalHBHEMuonAnalyzer::analyze(), HLTExoticaSubAnalysis::analyze(), HLTrigReport::analyze(), EmDQMReco::analyze(), L1TMuonDQMOffline::analyze(), METAnalyzer::analyze(), EopElecTreeWriter::analyze(), TrackerDpgAnalysis::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCEfficiency::applyTrigger(), HltDiff::compare(), HLTBitComputer::compute(), L1MetFilterRecoTreeProducer::doMetFilters(), ZeeCalibration::duringLoop(), HLTBitVariable::eval(), FWHLTTriggerTableView::fillAverageAcceptFractions(), TriggerOutputBranches::fillColumn(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), QcdUeDQM::fillHltBits(), QcdLowPtDQM::fillHltBits(), ZeePlots::fillHLTInfo(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), FWHLTTriggerTableView::fillTable(), HLTPathSelector::filter(), PhysDecl::filter(), HltComparator::filter(), HLTHighLevel::filter(), FWFileEntry::filterEventsWithCustomParser(), esMonitoring.FDJsonServer::handle_accept(), LeptonSkimming::hltFired(), JetMETHLTOfflineSource::isHLTPathAccepted(), TrigObjTnPHistColl::PathSelector::operator()(), triggerExpression::Data::passHLT(), hltdqm::passTrig(), CandidateTriggerObjectProducer::produce(), TriggerMatchProducer< object >::produce(), pat::PATTriggerEventProducer::produce(), GenFilterEfficiencyProducer::produce(), pat::PATTriggerProducer::produce(), TriggerTools::readEvent(), HLTEventSelector::select(), and egHLT::OffHelper::setTrigInfo().
|
inline |
Has ith path accepted the event?
Definition at line 65 of file HLTGlobalStatus.h.
References edm::HLTPathStatus::accept(), at(), and mps_fire::i.
Referenced by esMonitoring.FDJsonServer::handle_accept().
|
inline |
Definition at line 57 of file HLTGlobalStatus.h.
References mps_fire::i, and paths_.
Referenced by accept(), edm::EventSelector::acceptAllBits(), edm::EventSelector::acceptOneBit(), edm::TriggerResultsByName::at(), error(), index(), edm::TriggerResultsByName::operator[](), reset(), state(), and wasrun().
|
inline |
Definition at line 58 of file HLTGlobalStatus.h.
References mps_fire::i, and paths_.
|
inline |
Has any path encountered an error (exception)
Definition at line 53 of file HLTGlobalStatus.h.
References State().
Referenced by TriggerHelper::acceptHltLogicalExpression(), GenericTriggerEventFlag::acceptHltLogicalExpression(), CaloTowerAnalyzer::analyze(), HLTrigReport::analyze(), EopElecTreeWriter::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCEfficiency::applyTrigger(), Page1Parser.Page1Parser::check_for_whole_start_tag(), edm::TriggerResultsByName::error(), HLTPathSelector::filter(), HltComparator::filter(), CandidateTriggerObjectProducer::produce(), TriggerMatchProducer< object >::produce(), pat::PATTriggerEventProducer::produce(), and pat::PATTriggerProducer::produce().
|
inline |
Has ith path encountered an error (exception)?
Definition at line 67 of file HLTGlobalStatus.h.
References at(), edm::HLTPathStatus::error(), and mps_fire::i.
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 72 of file HLTGlobalStatus.h.
References at(), mps_fire::i, and edm::HLTPathStatus::index().
Referenced by HLTrigReport::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), HltDiff::compare(), edm::TriggerResultsByName::index(), and pat::PATTriggerProducer::produce().
|
inline |
copy assignment implemented with swap()
Definition at line 78 of file HLTGlobalStatus.h.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 59 of file HLTGlobalStatus.h.
References mps_fire::i, and paths_.
|
inline |
Definition at line 60 of file HLTGlobalStatus.h.
References mps_fire::i, and paths_.
|
inline |
Reset status for all paths.
Definition at line 40 of file HLTGlobalStatus.h.
References mps_fire::i, dqmiodumpmetadata::n, paths_, and size().
Referenced by edm::EventSelector::selectionIsValid().
|
inline |
Reset the ith path.
Definition at line 74 of file HLTGlobalStatus.h.
References at(), mps_fire::i, and edm::HLTPathStatus::reset().
|
inline |
Get number of paths stored.
Definition at line 37 of file HLTGlobalStatus.h.
References paths_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HLTEventAnalyzerRAW::analyze(), HLTEventAnalyzerAOD::analyze(), EwkDQM::analyze(), TopDiLeptonDQM::analyze(), HcalRaddamMuon::analyze(), HcalHBHEMuonAnalyzer::analyze(), TrackerDpgAnalysis::analyze(), edm::EventSelector::containsExceptions(), ZeeCalibration::duringLoop(), ZeePlots::fillHLTInfo(), HLTPathSelector::filter(), HLTHighLevel::filter(), edm::TriggerResults::find(), LeptonSkimming::hltFired(), edm::EventSelector::maskTriggerResults(), hltdqm::passTrig(), CandidateTriggerObjectProducer::produce(), reset(), dqmservices::TriggerSelector::TreeElement::returnStatus(), edm::TriggerResultsByName::size(), State(), edm::TriggerResultsByName::TriggerResultsByName(), and TriggerOutputBranches::updateTriggerNames().
|
inline |
Get status of ith path.
Definition at line 70 of file HLTGlobalStatus.h.
References at(), mps_fire::i, and edm::HLTPathStatus::state().
Referenced by HltDiff::compare(), edm::EventSelector::maskTriggerResults(), edm::TriggerResultsByName::state(), and State().
|
inlineprivate |
Global state variable calculated on the fly.
Definition at line 86 of file HLTGlobalStatus.h.
References edm::hlt::Exception, HLT_2023v12_cff::flags, mps_fire::i, dqmiodumpmetadata::n, edm::hlt::Pass, edm::hlt::Ready, alignCSCRings::s, size(), and state().
Referenced by accept(), error(), and wasrun().
|
inline |
swap function
Definition at line 76 of file HLTGlobalStatus.h.
References trackingPlots::other, and paths_.
Referenced by operator=(), edm::TriggerResults::swap(), edm::swap(), and std::swap().
|
inline |
Was at least one path run?
Definition at line 49 of file HLTGlobalStatus.h.
References State().
Referenced by HLTrigReport::analyze(), EopElecTreeWriter::analyze(), HLTEventAnalyzerAOD::analyzeTrigger(), HLTEventAnalyzerRAW::analyzeTrigger(), CSCEfficiency::applyTrigger(), HLTPathSelector::filter(), HltComparator::filter(), CandidateTriggerObjectProducer::produce(), TriggerMatchProducer< object >::produce(), pat::PATTriggerEventProducer::produce(), GenFilterEfficiencyProducer::produce(), pat::PATTriggerProducer::produce(), and edm::TriggerResultsByName::wasrun().
|
inline |
Was ith path run?
Definition at line 63 of file HLTGlobalStatus.h.
References at(), mps_fire::i, and edm::HLTPathStatus::wasrun().
|
private |
Status of each HLT path.
Definition at line 30 of file HLTGlobalStatus.h.
Referenced by Config.Process::_insertPaths(), at(), Config.Process::dumpConfig(), Config.Process::dumpPython(), operator[](), Config.Process::pathNames(), reset(), size(), Config.Process::splitPython(), and swap().