CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 (LorentzVector lv, const Point &pt, int fl, const Leptons &le)
 
 JetFlavour (LorentzVector lv, 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 17 of file JetFlavour.h.

Member Typedef Documentation

Lorentz vector.

Definition at line 21 of file JetFlavour.h.

point in the space

Definition at line 23 of file JetFlavour.h.

Constructor & Destructor Documentation

reco::JetFlavour::JetFlavour ( void  )
inline

Definition at line 33 of file JetFlavour.h.

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

Definition at line 34 of file JetFlavour.h.

LorentzVector m_partonMomentum
Definition: JetFlavour.h:45
Point m_partonVertex
Definition: JetFlavour.h:46
Leptons m_leptons
Definition: JetFlavour.h:48
reco::JetFlavour::JetFlavour ( LorentzVector  lv,
Point  pt,
int  fl 
)
inline

Definition at line 36 of file JetFlavour.h.

37  : m_partonMomentum(lv), m_partonVertex(pt), m_flavour(fl) {}
LorentzVector m_partonMomentum
Definition: JetFlavour.h:45
Point m_partonVertex
Definition: JetFlavour.h:46

Member Function Documentation

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

Definition at line 41 of file JetFlavour.h.

References m_flavour.

41 {return m_flavour; }
const Leptons reco::JetFlavour::getLeptons ( ) const
inline

Definition at line 42 of file JetFlavour.h.

References m_leptons.

42 {return m_leptons; }
Leptons m_leptons
Definition: JetFlavour.h:48
const LorentzVector reco::JetFlavour::getLorentzVector ( ) const
inline

Definition at line 39 of file JetFlavour.h.

References m_partonMomentum.

39 {return m_partonMomentum;}
LorentzVector m_partonMomentum
Definition: JetFlavour.h:45
const Point reco::JetFlavour::getPartonVertex ( ) const
inline

Definition at line 40 of file JetFlavour.h.

References m_partonVertex.

40 {return m_partonVertex; }
Point m_partonVertex
Definition: JetFlavour.h:46

Member Data Documentation

int reco::JetFlavour::m_flavour
private

Definition at line 47 of file JetFlavour.h.

Referenced by getFlavour().

Leptons reco::JetFlavour::m_leptons
private

Definition at line 48 of file JetFlavour.h.

Referenced by getLeptons().

LorentzVector reco::JetFlavour::m_partonMomentum
private

Definition at line 45 of file JetFlavour.h.

Referenced by getLorentzVector().

Point reco::JetFlavour::m_partonVertex
private

Definition at line 46 of file JetFlavour.h.

Referenced by getPartonVertex().