#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 32 of file TriggerHelper.h.
|
inline |
|
inline |
Destructor.
Definition at line 40 of file TriggerHelper.h.
References AlCaHLTBitMon_QueryRunRegistry::string, PDWG_DiPhoton_SD_cff::triggerEvent, 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 58 of file TriggerHelper.cc.
References edm::RefToBaseVector< T >::end(), event(), and 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 79 of file TriggerHelper.cc.
References event(), PDWG_DiPhoton_SD_cff::triggerEvent, 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 89 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 99 of file TriggerHelper.cc.
References event(), PDWG_DiPhoton_SD_cff::triggerEvent, 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 16 of file TriggerHelper.cc.
References event(), 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 36 of file TriggerHelper.cc.
References event(), PDWG_DiPhoton_SD_cff::triggerEvent, 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 110 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 119 of file TriggerHelper.h.
References event(), PDWG_DiPhoton_SD_cff::triggerEvent, 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 44 of file TriggerHelper.cc.
References event(), PDWG_DiPhoton_SD_cff::triggerEvent, 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 130 of file TriggerHelper.h.
References triggerMatchObjects().