Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:54

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 }