CMS 3D CMS Logo

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 
8  int pt,
9  int eta,
10  int phi,
11  int qual,
12  int iso )
13  : LeafCandidate( ( char ) 0, p4 ),
14  hwPt_(pt),
15  hwEta_(eta),
16  hwPhi_(phi),
17  hwQual_(qual),
18  hwIso_(iso)
19 {
20 
21 }
22 
24  int pt,
25  int eta,
26  int phi,
27  int qual,
28  int iso )
29  : LeafCandidate( ( char ) 0, p4 ),
30  hwPt_(pt),
31  hwEta_(eta),
32  hwPhi_(phi),
33  hwQual_(qual),
34  hwIso_(iso)
35 {
36 
37 }
38 
40 {
41 
42 }
43 
45 {
46  return hwPt_ == rhs.hwPt()
47  && hwEta_ == rhs.hwEta()
48  && hwPhi_ == rhs.hwPhi()
49  && hwQual_ == rhs.hwQual()
50  && hwIso_ == rhs.hwIso();
51 }
52 
double eta() const final
momentum pseudorapidity
double pt() const final
transverse momentum
int hwPhi() const
Definition: L1Candidate.h:50
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition: L1Candidate.cc:44
int hwIso() const
Definition: L1Candidate.h:52
~L1Candidate() override
Definition: L1Candidate.cc:39
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
int hwEta() const
Definition: L1Candidate.h:49
int hwQual() const
Definition: L1Candidate.h:51
int hwPt() const
Definition: L1Candidate.h:48
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double phi() const final
momentum azimuthal angle
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39