#include <TriggerHelper.h>
Public Member Functions | |
reco::CandidateBaseRefVector | triggerMatchCandidates (const pat::TriggerObjectRef &objectRef, const TriggerObjectMatch *matchResult, const edm::Event &event, const TriggerEvent &triggerEvent) const |
reco::CandidateBaseRefVector | triggerMatchCandidates (const pat::TriggerObjectRef &objectRef, const std::string &labelMatcher, const edm::Event &event, const TriggerEvent &triggerEvent) const |
... by matcher module label More... | |
reco::CandidateBaseRefVector | triggerMatchCandidates (const edm::Handle< TriggerObjectCollection > &trigCollHandle, const size_t iTrig, const TriggerObjectMatch *matchResult, const edm::Event &event, const TriggerEvent &triggerEvent) const |
reco::CandidateBaseRefVector | triggerMatchCandidates (const edm::Handle< TriggerObjectCollection > &trigCollHandle, const size_t iTrig, const std::string &labelMatcher, const edm::Event &event, const TriggerEvent &triggerEvent) const |
... by matcher module label More... | |
TriggerMatchHelper () | |
Constructors and Destructor. More... | |
TriggerObjectRef | triggerMatchObject (const reco::CandidateBaseRef &candRef, const TriggerObjectMatch *matchResult, const edm::Event &event, const TriggerEvent &triggerEvent) const |
Methods. More... | |
TriggerObjectRef | triggerMatchObject (const reco::CandidateBaseRef &candRef, const std::string &labelMatcher, const edm::Event &event, const TriggerEvent &triggerEvent) const |
... by matcher module label More... | |
template<class C > | |
TriggerObjectRef | triggerMatchObject (const edm::Handle< C > &candCollHandle, const size_t iCand, const TriggerObjectMatch *matchResult, const edm::Event &event, const TriggerEvent &triggerEvent) const |
template<class C > | |
TriggerObjectRef | triggerMatchObject (const edm::Handle< C > &candCollHandle, const size_t iCand, const std::string &labelMatcher, const edm::Event &event, const TriggerEvent &triggerEvent) const |
... by matcher module label More... | |
TriggerObjectMatchMap | triggerMatchObjects (const reco::CandidateBaseRef &candRef, const edm::Event &event, const TriggerEvent &triggerEvent) const |
Get a table of references to all trigger objects matched to a certain physics object given by a reference. More... | |
template<class C > | |
TriggerObjectMatchMap | triggerMatchObjects (const edm::Handle< C > &candCollHandle, const size_t iCand, const edm::Event &event, const TriggerEvent &triggerEvent) const |
Get a table of references to all trigger objects matched to a certain physics object given by a collection and index. More... | |
~TriggerMatchHelper () | |
Destructor. More... | |
Definition at line 35 of file TriggerHelper.h.
|
inline |
|
inline |
Destructor.
Definition at line 45 of file TriggerHelper.h.
References AlCaHLTBitMon_QueryRunRegistry::string, triggerMatchCandidates(), triggerMatchObject(), and triggerMatchObjects().
reco::CandidateBaseRefVector TriggerMatchHelper::triggerMatchCandidates | ( | const pat::TriggerObjectRef & | objectRef, |
const TriggerObjectMatch * | matchResult, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Get a vector of references to the phyics objects matched to a certain trigger object given by a reference for a certain matcher module ... by resulting association
Definition at line 59 of file TriggerHelper.cc.
References edm::RefToBaseVector< T >::push_back().
Referenced by triggerMatchCandidates(), and ~TriggerMatchHelper().
reco::CandidateBaseRefVector TriggerMatchHelper::triggerMatchCandidates | ( | const pat::TriggerObjectRef & | objectRef, |
const std::string & | labelMatcher, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
... by matcher module label
Definition at line 77 of file TriggerHelper.cc.
References event(), triggerMatchCandidates(), and pat::TriggerEvent::triggerObjectMatchResult().
reco::CandidateBaseRefVector TriggerMatchHelper::triggerMatchCandidates | ( | const edm::Handle< TriggerObjectCollection > & | trigCollHandle, |
const size_t | iTrig, | ||
const TriggerObjectMatch * | matchResult, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Get a vector of references to the phyics objects matched to a certain trigger object given by a collection and index for a certain matcher module ... by resulting association
Definition at line 86 of file TriggerHelper.cc.
References triggerMatchCandidates().
reco::CandidateBaseRefVector TriggerMatchHelper::triggerMatchCandidates | ( | const edm::Handle< TriggerObjectCollection > & | trigCollHandle, |
const size_t | iTrig, | ||
const std::string & | labelMatcher, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
... by matcher module label
Definition at line 92 of file TriggerHelper.cc.
References event(), triggerMatchCandidates(), and pat::TriggerEvent::triggerObjectMatchResult().
TriggerObjectRef TriggerMatchHelper::triggerMatchObject | ( | const reco::CandidateBaseRef & | candRef, |
const TriggerObjectMatch * | matchResult, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Methods.
Get a reference to the trigger objects matched to a certain physics object given by a reference for a certain matcher module ... by resulting association
Definition at line 21 of file TriggerHelper.cc.
References edm::RefToBase< T >::id(), and edm::RefToBase< T >::key().
Referenced by PatTriggerTagAndProbe::analyze(), triggerMatchObject(), triggerMatchObjects(), and ~TriggerMatchHelper().
TriggerObjectRef TriggerMatchHelper::triggerMatchObject | ( | const reco::CandidateBaseRef & | candRef, |
const std::string & | labelMatcher, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
... by matcher module label
Definition at line 38 of file TriggerHelper.cc.
References event(), triggerMatchObject(), and pat::TriggerEvent::triggerObjectMatchResult().
TriggerObjectRef pat::helper::TriggerMatchHelper::triggerMatchObject | ( | const edm::Handle< C > & | candCollHandle, |
const size_t | iCand, | ||
const TriggerObjectMatch * | matchResult, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Get a reference to the trigger objects matched to a certain physics object given by a collection and index for a certain matcher module ... by resulting association
Definition at line 79 of file TriggerHelper.h.
References triggerMatchObject().
TriggerObjectRef pat::helper::TriggerMatchHelper::triggerMatchObject | ( | const edm::Handle< C > & | candCollHandle, |
const size_t | iCand, | ||
const std::string & | labelMatcher, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
... by matcher module label
Definition at line 84 of file TriggerHelper.h.
References event(), triggerMatchObject(), and pat::TriggerEvent::triggerObjectMatchResult().
TriggerObjectMatchMap TriggerMatchHelper::triggerMatchObjects | ( | const reco::CandidateBaseRef & | candRef, |
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Get a table of references to all trigger objects matched to a certain physics object given by a reference.
Definition at line 45 of file TriggerHelper.cc.
References event(), pat::TriggerEvent::triggerMatchers(), and triggerMatchObject().
Referenced by triggerMatchObjects(), and ~TriggerMatchHelper().
TriggerObjectMatchMap pat::helper::TriggerMatchHelper::triggerMatchObjects | ( | const edm::Handle< C > & | candCollHandle, |
const size_t | iCand, | ||
const edm::Event & | event, | ||
const TriggerEvent & | triggerEvent | ||
) | const |
Get a table of references to all trigger objects matched to a certain physics object given by a collection and index.
Definition at line 90 of file TriggerHelper.h.
References triggerMatchObjects().