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 <SimDataFormats/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 19 of file JetFlavourInfo.h.

Constructor & Destructor Documentation

reco::JetFlavourInfo::JetFlavourInfo ( void  )
inline

Definition at line 22 of file JetFlavourInfo.h.

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

Definition at line 25 of file JetFlavourInfo.h.

25  :
26  m_hadronFlavour(hadronFlavour),
27  m_partonFlavour(partonFlavour) { }
reco::JetFlavourInfo::JetFlavourInfo ( const GenParticleRefVector bHadrons,
const GenParticleRefVector cHadrons,
const GenParticleRefVector partons,
const GenParticleRefVector leptons,
const int  hadronFlavour,
const int  partonFlavour 
)
inline

Definition at line 28 of file JetFlavourInfo.h.

35  :
36  m_bHadrons(bHadrons),
37  m_cHadrons(cHadrons),
38  m_partons(partons),
39  m_leptons(leptons),
40  m_hadronFlavour(hadronFlavour),
41  m_partonFlavour(partonFlavour) { }
GenParticleRefVector m_cHadrons
GenParticleRefVector m_bHadrons
GenParticleRefVector m_leptons
GenParticleRefVector m_partons

Member Function Documentation

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

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

Definition at line 44 of file JetFlavourInfo.h.

References m_bHadrons.

Referenced by GenHFHadronMatcher::findHadronJets().

44 { return m_bHadrons; }
GenParticleRefVector m_bHadrons
const GenParticleRefVector& reco::JetFlavourInfo::getcHadrons ( ) const
inline

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

Definition at line 46 of file JetFlavourInfo.h.

References m_cHadrons.

Referenced by GenHFHadronMatcher::findHadronJets().

46 { return m_cHadrons; }
GenParticleRefVector m_cHadrons
const int reco::JetFlavourInfo::getHadronFlavour ( ) const
inline

Return the hadron-based flavour.

Definition at line 52 of file JetFlavourInfo.h.

References m_hadronFlavour.

52 { return m_hadronFlavour; }
const GenParticleRefVector& reco::JetFlavourInfo::getLeptons ( ) const
inline

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

Definition at line 50 of file JetFlavourInfo.h.

References m_leptons.

50 { return m_leptons; }
GenParticleRefVector m_leptons
const int reco::JetFlavourInfo::getPartonFlavour ( ) const
inline

Return the parton-based flavour.

Definition at line 54 of file JetFlavourInfo.h.

References m_partonFlavour.

54 { return m_partonFlavour; }
const GenParticleRefVector& reco::JetFlavourInfo::getPartons ( ) const
inline

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

Definition at line 48 of file JetFlavourInfo.h.

References m_partons.

48 { return m_partons; }
GenParticleRefVector m_partons
void reco::JetFlavourInfo::setHadronFlavour ( const int  hadronFlavour)
inline

Set the hadron-based flavour.

Definition at line 57 of file JetFlavourInfo.h.

References m_hadronFlavour.

57 { m_hadronFlavour = hadronFlavour; }
void reco::JetFlavourInfo::setPartonFlavour ( const int  partonFlavour)
inline

Set the parton-based flavour.

Definition at line 59 of file JetFlavourInfo.h.

References m_partonFlavour.

59 { m_partonFlavour = partonFlavour; }

Member Data Documentation

GenParticleRefVector reco::JetFlavourInfo::m_bHadrons
private

Definition at line 62 of file JetFlavourInfo.h.

Referenced by getbHadrons().

GenParticleRefVector reco::JetFlavourInfo::m_cHadrons
private

Definition at line 63 of file JetFlavourInfo.h.

Referenced by getcHadrons().

int reco::JetFlavourInfo::m_hadronFlavour
private

Definition at line 66 of file JetFlavourInfo.h.

Referenced by getHadronFlavour(), and setHadronFlavour().

GenParticleRefVector reco::JetFlavourInfo::m_leptons
private

Definition at line 65 of file JetFlavourInfo.h.

Referenced by getLeptons().

int reco::JetFlavourInfo::m_partonFlavour
private

Definition at line 67 of file JetFlavourInfo.h.

Referenced by getPartonFlavour(), and setPartonFlavour().

GenParticleRefVector reco::JetFlavourInfo::m_partons
private

Definition at line 64 of file JetFlavourInfo.h.

Referenced by getPartons().