CMS 3D CMS Logo

HGCalTriggerCell.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1TCalorimeter_HGCalTriggerCell_h
2 #define DataFormats_L1TCalorimeter_HGCalTriggerCell_h
3 
4 
9 
10 namespace l1t
11 {
12 
15 
16  class HGCalTriggerCell : 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  ~HGCalTriggerCell() 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 subdetId() const {
39  return detid_.subdetId();
40  }
41  int zside() const {
42  return detid_.zside();
43  }
44  int layer() const {
45  return detid_.layer();
46  }
47 
48  void setMipPt( double value ) { mipPt_ = value; }
49  double mipPt() const { return mipPt_; }
50 
51  private:
52 
55 
56  double mipPt_;
57 
58  };
59 
60 }
61 
62 #endif
double eta() const final
momentum pseudorapidity
BXVector< HGCalTriggerCell > HGCalTriggerCellBxCollection
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
uint32_t detId() const
void setDetId(uint32_t detid)
int zside() const
get the z-side of the cell (1/-1)
Definition: HGCalDetId.h:51
void setMipPt(double value)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:41
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
Definition: value.py:1
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double phi() const final
momentum azimuthal angle
void setPosition(const GlobalPoint &position)
int layer() const
get the layer #
Definition: HGCalDetId.h:48