CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Private Attributes

reco::JetFlavour Class Reference

#include <JetFlavour.h>

List of all members.

Classes

struct  Leptons
 lepton info struct More...

Public Types

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

Public Member Functions

const int getFlavour () const
const Leptons getLeptons () const
const LorentzVector getLorentzVector () const
const Point getPartonVertex () const
 JetFlavour (LorentzVector lv, const Point &pt, int fl, const Leptons &le)
 JetFlavour (LorentzVector lv, Point pt, int fl)
 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 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.

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

Definition at line 34 of file JetFlavour.h.

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

Definition at line 36 of file JetFlavour.h.


Member Function Documentation

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

Definition at line 41 of file JetFlavour.h.

References m_flavour.

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

Definition at line 42 of file JetFlavour.h.

References m_leptons.

{return m_leptons;       }
const LorentzVector reco::JetFlavour::getLorentzVector ( ) const [inline]

Definition at line 39 of file JetFlavour.h.

References m_partonMomentum.

{return m_partonMomentum;}
const Point reco::JetFlavour::getPartonVertex ( ) const [inline]

Definition at line 40 of file JetFlavour.h.

References m_partonVertex.

{return m_partonVertex;  }

Member Data Documentation

Definition at line 47 of file JetFlavour.h.

Referenced by getFlavour().

Definition at line 48 of file JetFlavour.h.

Referenced by getLeptons().

Definition at line 45 of file JetFlavour.h.

Referenced by getLorentzVector().

Definition at line 46 of file JetFlavour.h.

Referenced by getPartonVertex().