CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1Candidate.cc
Go to the documentation of this file.
1 
3 
4 l1t::L1Candidate::L1Candidate() : hwPt_(0), hwEta_(0), hwPhi_(0), hwQual_(0), hwIso_(0) {}
5 
6 l1t::L1Candidate::L1Candidate(const LorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
7  : LeafCandidate((char)0, p4), hwPt_(pt), hwEta_(eta), hwPhi_(phi), hwQual_(qual), hwIso_(iso) {}
8 
9 l1t::L1Candidate::L1Candidate(const PolarLorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
10  : LeafCandidate((char)0, p4), hwPt_(pt), hwEta_(eta), hwPhi_(phi), hwQual_(qual), hwIso_(iso) {}
11 
13 
15  return hwPt_ == rhs.hwPt() && hwEta_ == rhs.hwEta() && hwPhi_ == rhs.hwPhi() && hwQual_ == rhs.hwQual() &&
16  hwIso_ == rhs.hwIso();
17 }
int hwPhi() const
Definition: L1Candidate.h:37
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition: L1Candidate.cc:14
int hwIso() const
Definition: L1Candidate.h:39
~L1Candidate() override
Definition: L1Candidate.cc:12
int hwEta() const
Definition: L1Candidate.h:36
int hwQual() const
Definition: L1Candidate.h:38
int hwPt() const
Definition: L1Candidate.h:35
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38