#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 |
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(), edmPickEvents::event, and edm::RefToBaseVector< T >::push_back().
Referenced by triggerMatchCandidates().
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 edmPickEvents::event, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchCandidates().
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 PDWG_DiPhoton_SD_cff::triggerEvent, and 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 edmPickEvents::event, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchCandidates().
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 edmPickEvents::event, edm::RefToBase< T >::id(), and edm::RefToBase< T >::key().
Referenced by PatTriggerTagAndProbe::analyze(), triggerMatchObject(), and triggerMatchObjects().
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 edmPickEvents::event, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchObject().
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 PDWG_DiPhoton_SD_cff::triggerEvent, and 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 edmPickEvents::event, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchObject().
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 edmPickEvents::event, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchObject().
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 130 of file TriggerHelper.h.
References PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchObjects().