CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::JetFlavourInfo Class Reference

Class storing the jet flavour information. More...

#include <DataFormats/JetMatching/interface/JetFlavourInfo.h>

Public Member Functions

const GenParticleRefVectorgetbHadrons () const
 Return a vector of GenParticleRef's to b hadrons clustered inside the jet. More...
 
const GenParticleRefVectorgetcHadrons () const
 Return a vector of GenParticleRef's to c hadrons clustered inside the jet. More...
 
const int getHadronFlavour () const
 Return the hadron-based flavour. More...
 
const GenParticleRefVectorgetLeptons () const
 Return a vector of GenParticleRef's to leptons clustered inside the jet. More...
 
const int getPartonFlavour () const
 Return the parton-based flavour. More...
 
const GenParticleRefVectorgetPartons () const
 Return a vector of GenParticleRef's to partons clustered inside the jet. More...
 
 JetFlavourInfo (void)
 
 JetFlavourInfo (const int hadronFlavour, const int partonFlavour)
 
 JetFlavourInfo (const GenParticleRefVector &bHadrons, const GenParticleRefVector &cHadrons, const GenParticleRefVector &partons, const GenParticleRefVector &leptons, const int hadronFlavour, const int partonFlavour)
 
void setHadronFlavour (const int hadronFlavour)
 Set the hadron-based flavour. More...
 
void setPartonFlavour (const int partonFlavour)
 Set the parton-based flavour. More...
 

Private Attributes

GenParticleRefVector m_bHadrons
 
GenParticleRefVector m_cHadrons
 
int m_hadronFlavour
 
GenParticleRefVector m_leptons
 
int m_partonFlavour
 
GenParticleRefVector m_partons
 

Detailed Description

Class storing the jet flavour information.

JetFlavourInfo class stores the jet flavour information based on hadrons and partons clustered inside the jet. It also provides vectors of EDM references to clustered hadrons and partons. The hadron- and parton-based flavours are defined in the JetFlavourClustering producer.

Definition at line 18 of file JetFlavourInfo.h.

Constructor & Destructor Documentation

◆ JetFlavourInfo() [1/3]

reco::JetFlavourInfo::JetFlavourInfo ( void  )
inline

Definition at line 20 of file JetFlavourInfo.h.

◆ JetFlavourInfo() [2/3]

reco::JetFlavourInfo::JetFlavourInfo ( const int  hadronFlavour,
const int  partonFlavour 
)
inline

◆ JetFlavourInfo() [3/3]

reco::JetFlavourInfo::JetFlavourInfo ( const GenParticleRefVector bHadrons,
const GenParticleRefVector cHadrons,
const GenParticleRefVector partons,
const GenParticleRefVector leptons,
const int  hadronFlavour,
const int  partonFlavour 
)
inline

Member Function Documentation

◆ getbHadrons()

const GenParticleRefVector& reco::JetFlavourInfo::getbHadrons ( ) const
inline

Return a vector of GenParticleRef's to b hadrons clustered inside the jet.

Definition at line 37 of file JetFlavourInfo.h.

References m_bHadrons.

Referenced by GenHFHadronMatcher::findHadronJets().

37 { return m_bHadrons; }
GenParticleRefVector m_bHadrons

◆ getcHadrons()

const GenParticleRefVector& reco::JetFlavourInfo::getcHadrons ( ) const
inline

Return a vector of GenParticleRef's to c hadrons clustered inside the jet.

Definition at line 39 of file JetFlavourInfo.h.

References m_cHadrons.

Referenced by GenHFHadronMatcher::findHadronJets().

39 { return m_cHadrons; }
GenParticleRefVector m_cHadrons

◆ getHadronFlavour()

const int reco::JetFlavourInfo::getHadronFlavour ( ) const
inline

Return the hadron-based flavour.

Definition at line 45 of file JetFlavourInfo.h.

References m_hadronFlavour.

45 { return m_hadronFlavour; }

◆ getLeptons()

const GenParticleRefVector& reco::JetFlavourInfo::getLeptons ( ) const
inline

Return a vector of GenParticleRef's to leptons clustered inside the jet.

Definition at line 43 of file JetFlavourInfo.h.

References m_leptons.

43 { return m_leptons; }
GenParticleRefVector m_leptons

◆ getPartonFlavour()

const int reco::JetFlavourInfo::getPartonFlavour ( ) const
inline

Return the parton-based flavour.

Definition at line 47 of file JetFlavourInfo.h.

References m_partonFlavour.

47 { return m_partonFlavour; }

◆ getPartons()

const GenParticleRefVector& reco::JetFlavourInfo::getPartons ( ) const
inline

Return a vector of GenParticleRef's to partons clustered inside the jet.

Definition at line 41 of file JetFlavourInfo.h.

References m_partons.

41 { return m_partons; }
GenParticleRefVector m_partons

◆ setHadronFlavour()

void reco::JetFlavourInfo::setHadronFlavour ( const int  hadronFlavour)
inline

Set the hadron-based flavour.

Definition at line 50 of file JetFlavourInfo.h.

References custom_jme_cff::hadronFlavour, and m_hadronFlavour.

◆ setPartonFlavour()

void reco::JetFlavourInfo::setPartonFlavour ( const int  partonFlavour)
inline

Set the parton-based flavour.

Definition at line 52 of file JetFlavourInfo.h.

References m_partonFlavour, and custom_jme_cff::partonFlavour.

Member Data Documentation

◆ m_bHadrons

GenParticleRefVector reco::JetFlavourInfo::m_bHadrons
private

Definition at line 55 of file JetFlavourInfo.h.

Referenced by getbHadrons().

◆ m_cHadrons

GenParticleRefVector reco::JetFlavourInfo::m_cHadrons
private

Definition at line 56 of file JetFlavourInfo.h.

Referenced by getcHadrons().

◆ m_hadronFlavour

int reco::JetFlavourInfo::m_hadronFlavour
private

Definition at line 59 of file JetFlavourInfo.h.

Referenced by getHadronFlavour(), and setHadronFlavour().

◆ m_leptons

GenParticleRefVector reco::JetFlavourInfo::m_leptons
private

Definition at line 58 of file JetFlavourInfo.h.

Referenced by getLeptons().

◆ m_partonFlavour

int reco::JetFlavourInfo::m_partonFlavour
private

Definition at line 60 of file JetFlavourInfo.h.

Referenced by getPartonFlavour(), and setPartonFlavour().

◆ m_partons

GenParticleRefVector reco::JetFlavourInfo::m_partons
private

Definition at line 57 of file JetFlavourInfo.h.

Referenced by getPartons().