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 
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
virtual double pt() const final
transverse momentum
BXVector< HGCalTriggerCell > HGCalTriggerCellBxCollection
virtual double eta() const final
momentum pseudorapidity
delete x;
Definition: CaloConfig.h:22
double mipPt() const
const GlobalPoint & position() const
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
virtual double phi() const final
momentum azimuthal angle
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)
Definition: value.py:1
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void setPosition(const GlobalPoint &position)
int layer() const
get the layer #
Definition: HGCalDetId.h:48