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 
4 
9 
10 namespace l1t
11 {
12 
15 
16  class HGCalTriggerSums : public L1Candidate
17  {
18 
19  public:
20 
22 
24  int pt=0,
25  int eta=0,
26  int phi=0,
27  int qual=0,
28  uint32_t detid=0);
29 
30  ~HGCalTriggerSums() override;
31 
32  void setDetId(uint32_t detid) {detid_ = HGCalDetId(detid);}
34 
35  uint32_t detId() const {return detid_.rawId();}
36  const GlobalPoint& position() const {return position_;}
37 
38  int zside() const {
39  return detid_.zside();
40  }
41  int layer() const {
42  return detid_.layer();
43  }
44 
45  void setMipPt( double value ) { mipPt_ = value; }
46  double mipPt() const { return mipPt_; }
47 
48  private:
49 
52 
53  double mipPt_;
54 
55  };
56 
57 }
58 
59 #endif
double eta() const final
momentum pseudorapidity
uint32_t detId() const
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
double mipPt() const
const GlobalPoint & position() const
int zside() const
get the z-side of the cell (1/-1)
Definition: HGCalDetId.h:51
BXVector< HGCalTriggerSums > HGCalTriggerSumsBxCollection
void setMipPt(double value)
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
Definition: value.py:1
void setPosition(const GlobalPoint &position)
void setDetId(uint32_t detid)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double phi() const final
momentum azimuthal angle
int layer() const
get the layer #
Definition: HGCalDetId.h:48