CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
reco::JetTagInfo Class Reference

#include <JetTagInfo.h>

Inheritance diagram for reco::JetTagInfo:
reco::BaseTagInfo reco::CATopJetTagInfo reco::TemplatedSoftLeptonTagInfo< REF >

Public Member Functions

virtual JetTagInfoclone (void) const
 clone More...
 
virtual edm::RefToBase< Jetjet (void) const
 returns a polymorphic reference to the tagged jet More...
 
 JetTagInfo (void)
 
template<typename T >
 JetTagInfo (const edm::Ref< T > &jetRef)
 
 JetTagInfo (const edm::RefToBase< Jet > &jetRef)
 
template<typename T >
void setJetRef (const edm::Ref< T > &jetRef)
 
void setJetRef (const edm::RefToBase< Jet > &jetRef)
 
virtual ~JetTagInfo (void)
 
- Public Member Functions inherited from reco::BaseTagInfo
 BaseTagInfo (void)
 
virtual bool hasTracks (void) const
 check if the algorithm is using the tracks or not More...
 
virtual TaggingVariableList taggingVariables (void) const
 returns a description of the extended informations in a TaggingVariableList More...
 
virtual TrackRefVector tracks (void) const
 returns a list of tracks associated to the jet More...
 
virtual ~BaseTagInfo (void)
 

Protected Attributes

edm::RefToBase< Jetm_jet
 

Detailed Description

Definition at line 9 of file JetTagInfo.h.

Constructor & Destructor Documentation

reco::JetTagInfo::JetTagInfo ( void  )
inline

Definition at line 11 of file JetTagInfo.h.

Referenced by clone().

11 : m_jet() { }
edm::RefToBase< Jet > m_jet
Definition: JetTagInfo.h:30
template<typename T >
reco::JetTagInfo::JetTagInfo ( const edm::Ref< T > &  jetRef)
inline

Definition at line 14 of file JetTagInfo.h.

14 : m_jet(jetRef) { }
edm::RefToBase< Jet > m_jet
Definition: JetTagInfo.h:30
reco::JetTagInfo::JetTagInfo ( const edm::RefToBase< Jet > &  jetRef)
inline

Definition at line 16 of file JetTagInfo.h.

16 : m_jet(jetRef) { }
edm::RefToBase< Jet > m_jet
Definition: JetTagInfo.h:30
virtual reco::JetTagInfo::~JetTagInfo ( void  )
inlinevirtual

Definition at line 18 of file JetTagInfo.h.

18 { }

Member Function Documentation

virtual JetTagInfo* reco::JetTagInfo::clone ( void  ) const
inlinevirtual

clone

Reimplemented from reco::BaseTagInfo.

Reimplemented in reco::TemplatedSoftLeptonTagInfo< REF >, and reco::CATopJetTagInfo.

Definition at line 20 of file JetTagInfo.h.

References JetTagInfo().

20 { return new JetTagInfo(*this); }
virtual edm::RefToBase<Jet> reco::JetTagInfo::jet ( void  ) const
inlinevirtual

returns a polymorphic reference to the tagged jet

Reimplemented from reco::BaseTagInfo.

Definition at line 22 of file JetTagInfo.h.

References m_jet.

Referenced by MuonTaggerNoIP::discriminator(), reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables(), and IPProducerHelpers::FromJetAndCands::tracks().

22 { return m_jet; }
edm::RefToBase< Jet > m_jet
Definition: JetTagInfo.h:30
template<typename T >
void reco::JetTagInfo::setJetRef ( const edm::Ref< T > &  jetRef)
inline
void reco::JetTagInfo::setJetRef ( const edm::RefToBase< Jet > &  jetRef)
inline

Definition at line 27 of file JetTagInfo.h.

References m_jet.

27 { m_jet = edm::RefToBase<Jet>( jetRef ); }
edm::RefToBase< Jet > m_jet
Definition: JetTagInfo.h:30

Member Data Documentation

edm::RefToBase<Jet> reco::JetTagInfo::m_jet
protected

Definition at line 30 of file JetTagInfo.h.

Referenced by jet(), and setJetRef().