CMS 3D CMS Logo

JetFlavourInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_JetMatching_JetFlavourInfo_H
2 #define DataFormats_JetMatching_JetFlavourInfo_H
3 
4 #include <vector>
7 
8 namespace reco {
19  public:
27  const int hadronFlavour,
28  const int partonFlavour)
35 
37  const GenParticleRefVector& getbHadrons() const { return m_bHadrons; }
39  const GenParticleRefVector& getcHadrons() const { return m_cHadrons; }
41  const GenParticleRefVector& getPartons() const { return m_partons; }
43  const GenParticleRefVector& getLeptons() const { return m_leptons; }
45  const int getHadronFlavour() const { return m_hadronFlavour; }
47  const int getPartonFlavour() const { return m_partonFlavour; }
48 
53 
54  private:
61  };
62 
63 } // namespace reco
64 #endif
reco::JetFlavourInfo::m_leptons
GenParticleRefVector m_leptons
Definition: JetFlavourInfo.h:58
reco::JetFlavourInfo::JetFlavourInfo
JetFlavourInfo(const int hadronFlavour, const int partonFlavour)
Definition: JetFlavourInfo.h:21
jets_cff.hadronFlavour
hadronFlavour
Definition: jets_cff.py:591
HLT_FULL_cff.leptons
leptons
Definition: HLT_FULL_cff.py:26281
reco::JetFlavourInfo::m_partons
GenParticleRefVector m_partons
Definition: JetFlavourInfo.h:57
edm::RefVector< GenParticleCollection >
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
GenParticle.h
reco::JetFlavourInfo::setPartonFlavour
void setPartonFlavour(const int partonFlavour)
Set the parton-based flavour.
Definition: JetFlavourInfo.h:52
reco::JetFlavourInfo::getHadronFlavour
const int getHadronFlavour() const
Return the hadron-based flavour.
Definition: JetFlavourInfo.h:45
GenParticleFwd.h
dqmAnalyzer_cff.partons
partons
Definition: dqmAnalyzer_cff.py:27
reco::JetFlavourInfo::setHadronFlavour
void setHadronFlavour(const int hadronFlavour)
Set the hadron-based flavour.
Definition: JetFlavourInfo.h:50
reco::JetFlavourInfo
Class storing the jet flavour information.
Definition: JetFlavourInfo.h:18
reco::JetFlavourInfo::m_cHadrons
GenParticleRefVector m_cHadrons
Definition: JetFlavourInfo.h:56
reco::JetFlavourInfo::getcHadrons
const GenParticleRefVector & getcHadrons() const
Return a vector of GenParticleRef's to c hadrons clustered inside the jet.
Definition: JetFlavourInfo.h:39
reco::JetFlavourInfo::getbHadrons
const GenParticleRefVector & getbHadrons() const
Return a vector of GenParticleRef's to b hadrons clustered inside the jet.
Definition: JetFlavourInfo.h:37
reco::JetFlavourInfo::m_hadronFlavour
int m_hadronFlavour
Definition: JetFlavourInfo.h:59
reco::JetFlavourInfo::m_bHadrons
GenParticleRefVector m_bHadrons
Definition: JetFlavourInfo.h:55
reco::JetFlavourInfo::getPartons
const GenParticleRefVector & getPartons() const
Return a vector of GenParticleRef's to partons clustered inside the jet.
Definition: JetFlavourInfo.h:41
AK4GenJetFlavourInfos_cfi.cHadrons
cHadrons
Definition: AK4GenJetFlavourInfos_cfi.py:7
jets_cff.partonFlavour
partonFlavour
Definition: jets_cff.py:590
reco::JetFlavourInfo::getPartonFlavour
const int getPartonFlavour() const
Return the parton-based flavour.
Definition: JetFlavourInfo.h:47
reco::JetFlavourInfo::getLeptons
const GenParticleRefVector & getLeptons() const
Return a vector of GenParticleRef's to leptons clustered inside the jet.
Definition: JetFlavourInfo.h:43
reco::JetFlavourInfo::m_partonFlavour
int m_partonFlavour
Definition: JetFlavourInfo.h:60
AK4GenJetFlavourInfos_cfi.bHadrons
bHadrons
Definition: AK4GenJetFlavourInfos_cfi.py:6
reco::JetFlavourInfo::JetFlavourInfo
JetFlavourInfo(void)
Definition: JetFlavourInfo.h:20
reco::JetFlavourInfo::JetFlavourInfo
JetFlavourInfo(const GenParticleRefVector &bHadrons, const GenParticleRefVector &cHadrons, const GenParticleRefVector &partons, const GenParticleRefVector &leptons, const int hadronFlavour, const int partonFlavour)
Definition: JetFlavourInfo.h:23