CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TkPhiCandidate.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkPhiCandidate_h
2 #define DataFormatsL1TCorrelator_TkPhiCandidate_h
3 
4 // -*- C++ -*-
5 //
6 // Package: DataFormats/L1TCorrelator
7 // Class: TkPhiCandidate
8 //
9 
12 
15 
16 namespace l1t {
17 
18  class TkPhiCandidate : public L1Candidate {
19  public:
20  static constexpr double kmass = 0.493; // GeV
21  static constexpr double phi_polemass = 1.019445; // GeV
22 
24  using L1TTTrackCollection = std::vector<L1TTTrackType>;
25 
28  const edm::Ptr<L1TTTrackType>& trkPtr1,
29  const edm::Ptr<L1TTTrackType>& trkPtr2);
30 
31  ~TkPhiCandidate() override {}
32 
33  // ---------- const member functions ---------------------
34  const edm::Ptr<L1TTTrackType>& trkPtr(size_t i) const { return trkPtrList_.at(i); }
35 
36  // ---------- member functions ---------------------------
37 
38  // deltaR between track pair
39  double dRTrkPair() const;
40 
41  // difference from nominal mass
42  double dmass() const;
43 
44  // position difference between track pair
45  double dxyTrkPair() const;
46  double dzTrkPair() const;
47 
48  double vx() const override;
49  double vy() const override;
50  double vz() const override;
51 
52  private:
53  std::vector<edm::Ptr<L1TTTrackType>> trkPtrList_;
54  };
55 } // namespace l1t
56 #endif
double dxyTrkPair() const
double dzTrkPair() const
const LorentzVector & p4() const final
four-momentum Lorentz vector
double vy() const override
y coordinate of vertex position
double vz() const override
z coordinate of vertex position
~TkPhiCandidate() override
std::vector< edm::Ptr< L1TTTrackType > > trkPtrList_
static constexpr double phi_polemass
std::vector< L1TTTrackType > L1TTTrackCollection
double vx() const override
x coordinate of vertex position
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
double dRTrkPair() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
const edm::Ptr< L1TTTrackType > & trkPtr(size_t i) const
double dmass() const
static constexpr double kmass