DataFormats
L1THGCal
src
HGCalTriggerCell.cc
Go to the documentation of this file.
1
#include "
DataFormats/L1THGCal/interface/HGCalTriggerCell.h
"
2
3
using namespace
l1t
;
4
5
HGCalTriggerCell::HGCalTriggerCell
(
const
LorentzVector
&
p4
,
int
pt
,
int
eta
,
int
phi,
int
qual, uint32_t detid)
6
:
L1Candidate
(
p4
,
pt
,
eta
, phi, qual), detid_(detid), position_(), mipPt_(0) {}
7
8
HGCalTriggerCell::~HGCalTriggerCell
() {}
9
10
void
HGCalTriggerCell::setPt
(
double
pt
) {
11
this->
setP4
(
math::PtEtaPhiMLorentzVector
(
pt
, this->
eta
(), this->
phi
(), this->
mass
()));
12
}
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:146
l1t::HGCalTriggerCell::setPt
void setPt(double pT)
Definition:
HGCalTriggerCell.cc:10
l1t::L1Candidate
Definition:
L1Candidate.h:15
PVValHelper::eta
Definition:
PVValidationHelpers.h:69
reco::LeafCandidate::mass
double mass() const final
mass
Definition:
LeafCandidate.h:131
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:152
l1t
delete x;
Definition:
CaloConfig.h:22
p4
double p4[4]
Definition:
TauolaWrapper.h:92
reco::LeafCandidate::setP4
void setP4(const LorentzVector &p4) final
set 4-momentum
Definition:
LeafCandidate.h:158
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:148
HGCalTriggerCell.h
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition:
LorentzVector.h:25
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
l1t::HGCalTriggerCell::~HGCalTriggerCell
~HGCalTriggerCell() override
Definition:
HGCalTriggerCell.cc:8
l1t::HGCalTriggerCell::HGCalTriggerCell
HGCalTriggerCell()
Definition:
HGCalTriggerCell.h:16
Generated for CMSSW Reference Manual by
1.8.16