CMS 3D CMS Logo

JetFlavour.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_JetMatching_JetFlavour_H
2 #define SimDataFormats_JetMatching_JetFlavour_H
3 
4 #include <vector>
7 
8 namespace reco {
16  class JetFlavour {
17  public:
23  struct Leptons {
24  int electron;
25  int muon;
26  int tau;
27 
28  Leptons() : electron(0), muon(0), tau(0) {}
29  };
30 
31  JetFlavour(void) {}
32  JetFlavour(const LorentzVector& lv, const Point& pt, int fl, const Leptons& le)
34  JetFlavour(const LorentzVector& lv, const Point& pt, int fl)
36 
38  const Point getPartonVertex() const { return m_partonVertex; }
39  const int getFlavour() const { return m_flavour; }
40  const Leptons getLeptons() const { return m_leptons; }
41 
42  private:
44  Point m_partonVertex; // is it needed?
45  int m_flavour;
47  };
48 
49 } // namespace reco
50 #endif
muon
Definition: MuonCocktails.h:17
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
reco::JetFlavour::JetFlavour
JetFlavour(const LorentzVector &lv, const Point &pt, int fl, const Leptons &le)
Definition: JetFlavour.h:32
reco::JetFlavour::getLeptons
const Leptons getLeptons() const
Definition: JetFlavour.h:40
reco::JetFlavour::JetFlavour
JetFlavour(void)
Definition: JetFlavour.h:31
reco::JetFlavour::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: JetFlavour.h:19
reco::JetFlavour::Leptons::electron
int electron
Definition: JetFlavour.h:24
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::JetFlavour::Leptons::Leptons
Leptons()
Definition: JetFlavour.h:28
reco::JetFlavour::getLorentzVector
const LorentzVector getLorentzVector() const
Definition: JetFlavour.h:37
reco::JetFlavour::Leptons
lepton info struct
Definition: JetFlavour.h:23
reco::JetFlavour::Leptons::muon
int muon
Definition: JetFlavour.h:25
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
reco::JetFlavour::Point
math::XYZPoint Point
point in the space
Definition: JetFlavour.h:21
LorentzVector.h
reco::JetFlavour::m_flavour
int m_flavour
Definition: JetFlavour.h:45
reco::JetFlavour
Definition: JetFlavour.h:16
reco::JetFlavour::m_partonVertex
Point m_partonVertex
Definition: JetFlavour.h:44
reco::JetFlavour::Leptons::tau
int tau
Definition: JetFlavour.h:26
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
Point3D.h
reco::JetFlavour::m_partonMomentum
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43
reco::JetFlavour::m_leptons
Leptons m_leptons
Definition: JetFlavour.h:46
reco::JetFlavour::getPartonVertex
const Point getPartonVertex() const
Definition: JetFlavour.h:38
reco::JetFlavour::getFlavour
const int getFlavour() const
Definition: JetFlavour.h:39
reco::JetFlavour::JetFlavour
JetFlavour(const LorentzVector &lv, const Point &pt, int fl)
Definition: JetFlavour.h:34