CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 (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

Lorentz vector.

Definition at line 19 of file JetFlavour.h.

point in the space

Definition at line 21 of file JetFlavour.h.

Constructor & Destructor Documentation

reco::JetFlavour::JetFlavour ( void  )
inline

Definition at line 31 of file JetFlavour.h.

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

Definition at line 32 of file JetFlavour.h.

33  : m_partonMomentum(lv), m_partonVertex(pt), m_flavour(fl), m_leptons(le) {}
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43
Point m_partonVertex
Definition: JetFlavour.h:44
Leptons m_leptons
Definition: JetFlavour.h:46
reco::JetFlavour::JetFlavour ( const LorentzVector lv,
const Point pt,
int  fl 
)
inline

Definition at line 34 of file JetFlavour.h.

35  : m_partonMomentum(lv), m_partonVertex(pt), m_flavour(fl) {}
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43
Point m_partonVertex
Definition: JetFlavour.h:44

Member Function Documentation

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

Definition at line 39 of file JetFlavour.h.

References m_flavour.

39 { return m_flavour; }
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
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
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

int reco::JetFlavour::m_flavour
private

Definition at line 45 of file JetFlavour.h.

Referenced by getFlavour().

Leptons reco::JetFlavour::m_leptons
private

Definition at line 46 of file JetFlavour.h.

Referenced by getLeptons().

LorentzVector reco::JetFlavour::m_partonMomentum
private

Definition at line 43 of file JetFlavour.h.

Referenced by getLorentzVector().

Point reco::JetFlavour::m_partonVertex
private

Definition at line 44 of file JetFlavour.h.

Referenced by getPartonVertex().