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:152
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:146
PVValHelper::eta
Definition:
PVValidationHelpers.h:69
l1t
delete x;
Definition:
CaloConfig.h:22
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
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:15
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:148
reco::LeafCandidate::setP4
void setP4(const LorentzVector &p4) final
set 4-momentum
Definition:
LeafCandidate.h:158
reco::LeafCandidate::mass
double mass() const final
mass
Definition:
LeafCandidate.h:131
Generated for CMSSW Reference Manual by
1.8.11