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
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
12
l1t::L1Candidate::~L1Candidate
() {}
13
14
bool
l1t::L1Candidate::operator==
(
const
l1t::L1Candidate
& rhs)
const
{
15
return
hwPt_ == rhs.
hwPt
() && hwEta_ == rhs.
hwEta
() && hwPhi_ == rhs.
hwPhi
() && hwQual_ == rhs.
hwQual
() &&
16
hwIso_ == rhs.
hwIso
();
17
}
l1t::L1Candidate::hwPhi
int hwPhi() const
Definition:
L1Candidate.h:37
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:38
l1t::L1Candidate::hwQual
int hwQual() const
Definition:
L1Candidate.h:38
l1t::L1Candidate::operator==
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition:
L1Candidate.cc:14
l1t::L1Candidate::hwEta
int hwEta() const
Definition:
L1Candidate.h:36
l1t::L1Candidate
Definition:
L1Candidate.h:15
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
l1t::L1Candidate::L1Candidate
L1Candidate()
Definition:
L1Candidate.cc:4
l1t::L1Candidate::~L1Candidate
~L1Candidate() override
Definition:
L1Candidate.cc:12
p4
double p4[4]
Definition:
TauolaWrapper.h:92
L1Candidate.h
l1t::L1Candidate::hwPt
int hwPt() const
Definition:
L1Candidate.h:35
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
l1t::L1Candidate::hwIso
int hwIso() const
Definition:
L1Candidate.h:39
Generated for CMSSW Reference Manual by
1.8.16