CMS 3D CMS Logo

HGCalTriggerCell.cc
Go to the documentation of this file.
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 
9 
11  this->setP4(math::PtEtaPhiMLorentzVector(pt, this->eta(), this->phi(), this->mass()));
12 }
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
double mass() const final
mass
double phi() const final
momentum azimuthal angle
void setP4(const LorentzVector &p4) final
set 4-momentum
double eta() const final
momentum pseudorapidity