#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 |
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().
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(), 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.
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(), 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(), and triggerMatchObject().
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(), 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(), and pat::TriggerEvent::triggerMatchers().
Referenced by triggerMatchObjects().
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().