12 using namespace pat::helper;
26 while ( it != itEnd ) {
27 if ( it->first.isNonnull() && it->second.isNonnull() && it->second.isAvailable() ) {
28 if ( it->first.id() == candRef.
id() && it->first.key() == candRef.
key() ) {
49 const std::vector< std::string > matchers( triggerEvent.
triggerMatchers() );
50 for (
size_t iMatch = 0; iMatch < matchers.size(); ++iMatch ) {
51 theContainer[ matchers.at( iMatch ) ] = triggerMatchObject( candRef, matchers.at( iMatch ),
event, triggerEvent );
65 while ( it != itEnd ) {
66 if ( it->first.isNonnull() && it->second.isNonnull() && it->second.isAvailable() ) {
67 if ( it->second == objectRef ) {
89 return triggerMatchCandidates(
TriggerObjectRef( trigCollHandle, iTrig ), matchResult, event, triggerEvent );
std::vector< std::string > triggerMatchers() const
Get a list of all linked trigger matches.
std::map< std::string, TriggerObjectRef > TriggerObjectMatchMap
Container to store match references from different producers (for one PAT object) ...
Helper class that fetches some type of Ref given ProductID and index, using the edm::Event.
edm::Ref< TriggerObjectCollection > TriggerObjectRef
Persistent reference to an item in a TriggerObjectCollection.
const TriggerObjectMatch * triggerObjectMatchResult(const std::string &labelMatcher) const
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
Analysis-level trigger event class.
void push_back(const RefToBase< T > &)