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