1 #ifndef DataFormats_PatCandidates_TriggerObject_h
2 #define DataFormats_PatCandidates_TriggerObject_h
161 bool type(
int triggerObjectType)
const {
167 bool id(
int triggerObjectType)
const {
value_type const * get() const
const l1extra::L1EmParticleRef origL1EmRef() const
std::string collection_
Data Members.
bool isNonnull() const
Checks for non-null.
edm::RefProd< TriggerObjectCollection > TriggerObjectRefProd
Persistent reference to a TriggerObjectCollection product.
bool id(trigger::TriggerObjectType triggerObjectType) const
std::map< std::string, TriggerObjectMatchRefProd > TriggerObjectMatchContainer
Container to store references to matches from different producers in the trigger event.
void setCollection(const edm::InputTag &collName)
bool type(int triggerObjectType) const
const L1GctEmCand * origL1GctEmCand() const
void addTriggerObjectType(int triggerObjectType)
bool type(trigger::TriggerObjectType triggerObjectType) const
Calls 'hasTriggerObjectType(...)'.
Level-1 Trigger jet candidate.
edm::RefProd< TriggerObjectMatch > TriggerObjectMatchRefProd
Persistent reference to a TriggerObjectMatch product.
Persistable copy of missing Et measured at Level-1.
edm::RefVectorIterator< TriggerObjectCollection > TriggerObjectRefVectorIterator
Const iterator over vector of persistent references to items in the same TriggerObjectCollection.
bool hasTriggerObjectType(int triggerObjectType) const
bool hasFilterId(int triggerObjectType) const
~TriggerObject() override
Destructor.
Analysis-level trigger object class.
Level-1 Trigger EM candidate at output of GCT.
edm::RefVector< TriggerObjectCollection > TriggerObjectRefVector
Vector of persistent references to items in the same TriggerObjectCollection.
const l1extra::L1JetParticleRef origL1JetRef() const
const l1extra::L1MuonParticleRef origL1MuonRef() const
std::vector< trigger::TriggerObjectType > triggerObjectTypes_
Single trigger physics object (e.g., an isolated muon)
void setCollection(const std::string &collName)
Methods.
std::vector< int > filterIds() const
Persistable copy of total Et measured at Level-1.
const std::string & collection() const
Get the label of the collection the trigger object originates from.
bool id(int triggerObjectType) const
virtual bool hasCollection(const edm::InputTag &collName) const
const L1GctJetCand * origL1GctJetCand() const
const L1MuGMTExtendedCand * origL1GmtMuonCand() const
Persistable copy of total Ht measured at Level-1.
edm::Ref< TriggerObjectCollection > TriggerObjectRef
Persistent reference to an item in a TriggerObjectCollection.
bool hasTriggerObjectType(trigger::TriggerObjectType triggerObjectType) const
Checks, if a certain trigger object type identifier is assigned.
const reco::Candidate * origObjCand() const
const L1GctHtMiss * origL1GctHtMiss() const
edm::Association< TriggerObjectCollection > TriggerObjectMatch
Association of TriggerObjects to store matches to Candidates.
Persistable copy of missing Et measured at Level-1.
void addFilterId(int triggerObjectType)
virtual bool hasCollection(const std::string &collName) const
Checks, if a certain label of original collection is assigned.
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
reco::CandidateBaseRef refToOrig_
TriggerObject()
Constructors and Destructor.
const reco::CandidateBaseRef & origObjRef() const
Special methods for 'l1extra' particles.
const L1GctEtHad * origL1GctEtHad() const
void addTriggerObjectType(trigger::TriggerObjectType triggerObjectType)
Add a new trigger object type identifier.
std::vector< int > triggerObjectTypes() const
Get all trigger object type identifiers.
bool hasFilterId(trigger::TriggerObjectType triggerObjectType) const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
void addFilterId(trigger::TriggerObjectType triggerObjectType)
virtual bool coll(const std::string &collName) const
Calls 'hasCollection(...)'.
const L1GctEtMiss * origL1GctEtMiss() const
std::vector< TriggerObject > TriggerObjectCollection
Collection of TriggerObject.
const l1extra::L1EtMissParticleRef origL1EtMissRef() const
const L1GctEtTotal * origL1GctEtTotal() const
std::map< std::string, TriggerObjectRef > TriggerObjectMatchMap
Container to store match references from different producers (for one PAT object) ...