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
void setPartonFlavour(const int partonFlavour)
Set the parton-based flavour.
const GenParticleRefVector & getbHadrons() const
Return a vector of GenParticleRef&#39;s to b hadrons clustered inside the jet.
GenParticleRefVector m_cHadrons
const int getHadronFlavour() const
Return the hadron-based flavour.
void setHadronFlavour(const int hadronFlavour)
Set the hadron-based flavour.
GenParticleRefVector m_bHadrons
Class storing the jet flavour information.
const int getPartonFlavour() const
Return the parton-based flavour.
const GenParticleRefVector & getLeptons() const
Return a vector of GenParticleRef&#39;s to leptons clustered inside the jet.
JetFlavourInfo(const GenParticleRefVector &bHadrons, const GenParticleRefVector &cHadrons, const GenParticleRefVector &partons, const GenParticleRefVector &leptons, const int hadronFlavour, const int partonFlavour)
JetFlavourInfo(const int hadronFlavour, const int partonFlavour)
GenParticleRefVector m_leptons
fixed size matrix
GenParticleRefVector m_partons
const GenParticleRefVector & getcHadrons() const
Return a vector of GenParticleRef&#39;s to c hadrons clustered inside the jet.
const GenParticleRefVector & getPartons() const
Return a vector of GenParticleRef&#39;s to partons clustered inside the jet.