CMS 3D CMS Logo

HGCalTriggerSums.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1TCalorimeter_HGCalTriggerSums_h
2 #define DataFormats_L1TCalorimeter_HGCalTriggerSums_h
3 
8 
9 namespace l1t {
10 
13 
14  class HGCalTriggerSums : public L1Candidate {
15  public:
17 
18  HGCalTriggerSums(const LorentzVector& p4, int pt = 0, int eta = 0, int phi = 0, int qual = 0, uint32_t detid = 0);
19 
20  ~HGCalTriggerSums() override;
21 
22  void setDetId(uint32_t detid) { detid_ = DetId(detid); }
24 
25  uint32_t detId() const { return detid_.rawId(); }
26  const GlobalPoint& position() const { return position_; }
27 
28  void setMipPt(double value) { mipPt_ = value; }
29  double mipPt() const { return mipPt_; }
30 
31  private:
34 
35  double mipPt_;
36  };
37 
38 } // namespace l1t
39 
40 #endif
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
const LorentzVector & p4() const final
four-momentum Lorentz vector
BXVector< HGCalTriggerSums > HGCalTriggerSumsBxCollection
void setMipPt(double value)
math::XYZTLorentzVector LorentzVector
Definition: value.py:1
uint32_t detId() const
void setPosition(const GlobalPoint &position)
void setDetId(uint32_t detid)
Definition: DetId.h:17
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
const GlobalPoint & position() const
double phi() const final
momentum azimuthal angle
double eta() const final
momentum pseudorapidity