CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
reco::JetFlavour Class Reference

#include <JetFlavour.h>

Classes

struct  Leptons
 lepton info struct More...
 

Public Types

typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 

Public Member Functions

const int getFlavour () const
 
const Leptons getLeptons () const
 
const LorentzVector getLorentzVector () const
 
const Point getPartonVertex () const
 
 JetFlavour (void)
 
 JetFlavour (const LorentzVector &lv, const Point &pt, int fl, const Leptons &le)
 
 JetFlavour (const LorentzVector &lv, const Point &pt, int fl)
 

Private Attributes

int m_flavour
 
Leptons m_leptons
 
LorentzVector m_partonMomentum
 
Point m_partonVertex
 

Detailed Description

JetFlavour class is meant to be used when the genEvent is dropped. It can store by value the matching information about flavour and parton kinematics The flavour definition and the corresponding parton information should be configured in the producer. The typedefs are taken from reco::Particle

Definition at line 16 of file JetFlavour.h.

Member Typedef Documentation

◆ LorentzVector

Lorentz vector.

Definition at line 19 of file JetFlavour.h.

◆ Point

point in the space

Definition at line 21 of file JetFlavour.h.

Constructor & Destructor Documentation

◆ JetFlavour() [1/3]

reco::JetFlavour::JetFlavour ( void  )
inline

Definition at line 31 of file JetFlavour.h.

31 {}

◆ JetFlavour() [2/3]

reco::JetFlavour::JetFlavour ( const LorentzVector lv,
const Point pt,
int  fl,
const Leptons le 
)
inline

Definition at line 32 of file JetFlavour.h.

◆ JetFlavour() [3/3]

reco::JetFlavour::JetFlavour ( const LorentzVector lv,
const Point pt,
int  fl 
)
inline

Definition at line 34 of file JetFlavour.h.

Member Function Documentation

◆ getFlavour()

const int reco::JetFlavour::getFlavour ( ) const
inline

Definition at line 39 of file JetFlavour.h.

References m_flavour.

39 { return m_flavour; }

◆ getLeptons()

const Leptons reco::JetFlavour::getLeptons ( ) const
inline

Definition at line 40 of file JetFlavour.h.

References m_leptons.

40 { return m_leptons; }
Leptons m_leptons
Definition: JetFlavour.h:46

◆ getLorentzVector()

const LorentzVector reco::JetFlavour::getLorentzVector ( ) const
inline

Definition at line 37 of file JetFlavour.h.

References m_partonMomentum.

37 { return m_partonMomentum; }
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43

◆ getPartonVertex()

const Point reco::JetFlavour::getPartonVertex ( ) const
inline

Definition at line 38 of file JetFlavour.h.

References m_partonVertex.

38 { return m_partonVertex; }
Point m_partonVertex
Definition: JetFlavour.h:44

Member Data Documentation

◆ m_flavour

int reco::JetFlavour::m_flavour
private

Definition at line 45 of file JetFlavour.h.

Referenced by getFlavour().

◆ m_leptons

Leptons reco::JetFlavour::m_leptons
private

Definition at line 46 of file JetFlavour.h.

Referenced by getLeptons().

◆ m_partonMomentum

LorentzVector reco::JetFlavour::m_partonMomentum
private

Definition at line 43 of file JetFlavour.h.

Referenced by getLorentzVector().

◆ m_partonVertex

Point reco::JetFlavour::m_partonVertex
private

Definition at line 44 of file JetFlavour.h.

Referenced by getPartonVertex().