File indexing completed on 2024-04-06 12:04:33
0001 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0002
0003 using namespace l1t;
0004
0005 HGCalTriggerCell::HGCalTriggerCell(const LorentzVector& p4, int pt, int eta, int phi, int qual, uint32_t detid)
0006 : L1Candidate(p4, pt, eta, phi, qual), detid_(detid), position_(), mipPt_(0) {}
0007
0008 HGCalTriggerCell::~HGCalTriggerCell() {}
0009
0010 void HGCalTriggerCell::setPt(double pt) {
0011 this->setP4(math::PtEtaPhiMLorentzVector(pt, this->eta(), this->phi(), this->mass()));
0012 }