DataFormats
L1Trigger
src
EtSum.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1Trigger/interface/EtSum.h
"
2
3
l1t::EtSum::EtSum
(
const
LorentzVector
&
p4
,
EtSumType
type
,
int
pt
,
int
eta
,
int
phi
,
int
qual)
4
:
L1Candidate
(
p4
,
pt
,
eta
,
phi
, qual, 0), type_(
type
) {}
5
6
l1t::EtSum::EtSum
(
const
PolarLorentzVector
&
p4
,
EtSumType
type
,
int
pt
,
int
eta
,
int
phi,
int
qual)
7
:
L1Candidate
(
p4
,
pt
,
eta
, phi, qual, 0), type_(
type
) {}
8
9
l1t::EtSum::~EtSum
() {}
10
11
void
l1t::EtSum::setType
(
EtSumType
type
) { type_ =
type
; }
12
13
l1t::EtSum::EtSumType
l1t::EtSum::getType
()
const
{
return
type_; }
14
15
bool
l1t::EtSum::operator==
(
const
l1t::EtSum
& rhs)
const
{
16
return
l1t::L1Candidate::operator==
(static_cast<const l1t::L1Candidate&>(rhs)) && type_ == rhs.
getType
();
17
}
l1t::EtSum::setType
void setType(EtSumType type)
Definition:
EtSum.cc:11
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:38
l1t::L1Candidate::operator==
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition:
L1Candidate.cc:14
l1t::EtSum::operator==
virtual bool operator==(const l1t::EtSum &rhs) const
Definition:
EtSum.cc:15
l1t::L1Candidate
Definition:
L1Candidate.h:15
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
l1t::EtSum::EtSum
EtSum()
Definition:
EtSum.h:52
PVValHelper::phi
Definition:
PVValidationHelpers.h:69
l1t::EtSum::getType
EtSumType getType() const
Definition:
EtSum.cc:13
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
l1t::EtSum
Definition:
EtSum.h:20
p4
double p4[4]
Definition:
TauolaWrapper.h:92
l1t::EtSum::~EtSum
~EtSum() override
Definition:
EtSum.cc:9
l1t::EtSum::EtSumType
EtSumType
Definition:
EtSum.h:22
EtSum.h
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
Generated for CMSSW Reference Manual by
1.8.16