Description: [one line class summary]
Usage: <usage>
Definition at line 28 of file FWHLTTriggerTableView.h.
void FWHLTTriggerTableView::fillAverageAcceptFractions |
( |
| ) |
|
|
private |
Definition at line 64 of file FWHLTTriggerTableView.cc.
References edm::HLTGlobalStatus::accept(), fwlite::Event::atEnd(), cuy::denominator, fwLog, fwlite::Handle< T >::getByLabel(), mps_fire::i, edm::EventBase::id(), fwlog::kError, m_averageAccept, m_event, edm::TriggerNames::size(), fwlite::Event::size(), fwlite::Event::to(), fwlite::Event::toBegin(), edm::TriggerNames::triggerName(), and fwlite::Event::triggerNames().
Referenced by fillTable().
80 fwLog(
fwlog::kError) <<
" exception caught while trying to get trigger info"<<std::endl;
84 for(
unsigned int i=0;
i<triggerNames->size(); ++
i) {
85 if ( hTriggerResults->
accept(
i) ) {
Event const & toBegin() override
Go to the very first Event.
bool accept() const
Has at least one path accepted the event?
Long64_t size() const
Returns number of events in the file.
void getByLabel(const P &iP, const char *iModuleLabel, const char *iProductInstanceLabel=0, const char *iProcessLabel=0)
bool atEnd() const override
bool to(Long64_t iIndex)
Go to the event at index iIndex.
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
acceptmap_t m_averageAccept
Implements FWTriggerTableView.
Definition at line 38 of file FWHLTTriggerTableView.cc.
References edm::HLTGlobalStatus::accept(), FWTriggerTableViewTableManager::dataChanged(), event(), fillAverageAcceptFractions(), ALCARECOTkAlBeamHalo_cff::filter, fwLog, fwlite::Handle< T >::getByLabel(), mps_fire::i, fwlog::kWarning, m_averageAccept, FWTriggerTableView::m_columns, m_event, FWTriggerTableView::m_process, FWTriggerTableView::m_regex, FWTriggerTableView::m_tableManager, edm::TriggerNames::size(), edm::TriggerNames::triggerName(), edm::TriggerNames::triggerNames(), and FWGenericParameter< T >::value().
Referenced by ~FWHLTTriggerTableView().
48 triggerNames = &
event->triggerNames(*hTriggerResults);
55 for(
unsigned int i=0;
i<triggerNames->size(); ++
i) {
56 if ( !boost::regex_search(triggerNames->triggerName(
i),
filter) )
continue;
57 m_columns.at(0).values.push_back(triggerNames->triggerName(
i));
std::vector< Column > m_columns
FWStringParameter m_regex
bool accept() const
Has at least one path accepted the event?
void getByLabel(const P &iP, const char *iModuleLabel, const char *iProductInstanceLabel=0, const char *iProcessLabel=0)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void fillAverageAcceptFractions()
FWStringParameter m_process
FWTriggerTableViewTableManager * m_tableManager
acceptmap_t m_averageAccept