Main Page
Namespaces
Classes
Package Documentation
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
}
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition:
LeafCandidate.h:137
l1t::HGCalTriggerCell::~HGCalTriggerCell
~HGCalTriggerCell() override
Definition:
HGCalTriggerCell.cc:8
l1t::HGCalTriggerCell::HGCalTriggerCell
HGCalTriggerCell()
Definition:
HGCalTriggerCell.h:16
l1t::HGCalTriggerCell::setPt
void setPt(double pT)
Definition:
HGCalTriggerCell.cc:10
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition:
LeafCandidate.h:131
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
l1t
delete x;
Definition:
CaloConfig.h:22
EnergyCorrector.pt
pt
Definition:
EnergyCorrector.py:46
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition:
LorentzVector.h:25
HGCalTriggerCell.h
p4
double p4[4]
Definition:
TauolaWrapper.h:92
l1t::L1Candidate
Definition:
L1Candidate.h:16
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition:
LeafCandidate.h:133
reco::LeafCandidate::setP4
void setP4(const LorentzVector &p4) final
set 4-momentum
Definition:
LeafCandidate.h:143
reco::LeafCandidate::mass
double mass() const final
mass
Definition:
LeafCandidate.h:116
Generated for CMSSW Reference Manual by
1.8.11