CMS 3D CMS Logo

JetFlavour.h
Go to the documentation of this file.
1 #ifndef DataFormats_JetMatching_JetFlavour_H
2 #define DataFormats_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
const Point getPartonVertex() const
Definition: JetFlavour.h:38
JetFlavour(const LorentzVector &lv, const Point &pt, int fl, const Leptons &le)
Definition: JetFlavour.h:32
const Leptons getLeptons() const
Definition: JetFlavour.h:40
LorentzVector m_partonMomentum
Definition: JetFlavour.h:43
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: JetFlavour.h:19
const LorentzVector getLorentzVector() const
Definition: JetFlavour.h:37
JetFlavour(const LorentzVector &lv, const Point &pt, int fl)
Definition: JetFlavour.h:34
lepton info struct
Definition: JetFlavour.h:23
Point m_partonVertex
Definition: JetFlavour.h:44
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
Leptons m_leptons
Definition: JetFlavour.h:46
math::XYZPoint Point
point in the space
Definition: JetFlavour.h:21
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
const int getFlavour() const
Definition: JetFlavour.h:39