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 (const LorentzVector &lv, const Point &pt, int fl)
 
 JetFlavour (const LorentzVector &lv, const Point &pt, int fl, const Leptons &le)
 
 JetFlavour (void)
 

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.

39 { return m_flavour; }

References m_flavour.

◆ getLeptons()

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

Definition at line 40 of file JetFlavour.h.

40 { return m_leptons; }

References m_leptons.

◆ getLorentzVector()

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

Definition at line 37 of file JetFlavour.h.

37 { return m_partonMomentum; }

References m_partonMomentum.

◆ getPartonVertex()

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

Definition at line 38 of file JetFlavour.h.

38 { return m_partonVertex; }

References m_partonVertex.

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().

DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
reco::JetFlavour::m_flavour
int m_flavour
Definition: JetFlavour.h:45
reco::JetFlavour::m_partonVertex
Point m_partonVertex
Definition: JetFlavour.h:44
reco::JetFlavour::m_partonMomentum
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43
reco::JetFlavour::m_leptons
Leptons m_leptons
Definition: JetFlavour.h:46