Main Page
Namespaces
Classes
Package Documentation
src
DataFormats
L1Trigger
src
L1Candidate.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/L1Trigger/interface/L1Candidate.h
"
3
4
l1t::L1Candidate::L1Candidate
():hwPt_(0),hwEta_(0),hwPhi_(0),hwQual_(0),hwIso_(0){}
5
6
7
l1t::L1Candidate::L1Candidate
(
const
LorentzVector
&
p4
,
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
23
l1t::L1Candidate::L1Candidate
(
const
PolarLorentzVector
&
p4
,
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
39
l1t::L1Candidate::~L1Candidate
()
40
{
41
42
}
43
44
bool
l1t::L1Candidate::operator==
(
const
l1t::L1Candidate
& rhs)
const
45
{
46
return
hwPt_
== rhs.
hwPt
()
47
&&
hwEta_
== rhs.
hwEta
()
48
&&
hwPhi_
== rhs.
hwPhi
()
49
&&
hwQual_
== rhs.
hwQual
()
50
&&
hwIso_
== rhs.
hwIso
();
51
}
52
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:137
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
l1t::L1Candidate::hwPhi
int hwPhi() const
Definition:
L1Candidate.h:50
l1t::L1Candidate::operator==
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition:
L1Candidate.cc:44
l1t::L1Candidate::hwQual_
int hwQual_
Definition:
L1Candidate.h:63
l1t::L1Candidate::hwIso
int hwIso() const
Definition:
L1Candidate.h:52
l1t::L1Candidate::~L1Candidate
~L1Candidate() override
Definition:
L1Candidate.cc:39
l1t::L1Candidate
Definition:
L1Candidate.h:16
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:99
l1t::L1Candidate::hwEta
int hwEta() const
Definition:
L1Candidate.h:49
l1t::L1Candidate::hwIso_
int hwIso_
Definition:
L1Candidate.h:64
l1t::L1Candidate::hwQual
int hwQual() const
Definition:
L1Candidate.h:51
l1t::L1Candidate::hwPt
int hwPt() const
Definition:
L1Candidate.h:48
l1t::L1Candidate::hwEta_
int hwEta_
Definition:
L1Candidate.h:61
l1t::L1Candidate::hwPhi_
int hwPhi_
Definition:
L1Candidate.h:62
L1Candidate.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
reco::LeafCandidate::LeafCandidate
LeafCandidate()
Definition:
LeafCandidate.h:33
l1t::L1Candidate::L1Candidate
L1Candidate()
Definition:
L1Candidate.cc:4
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
l1t::L1Candidate::hwPt_
int hwPt_
Definition:
L1Candidate.h:55
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:39
Generated for CMSSW Reference Manual by
1.8.11