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 
8 
9 namespace l1t
10 {
11 
14 
15  class HGCalTriggerCell : public L1Candidate
16  {
17 
18  public:
19 
21 
23  int pt=0,
24  int eta=0,
25  int phi=0,
26  int qual=0,
27  uint32_t detid=0);
28 
30 
31  void setDetId(uint32_t detid) {detid_ = detid;}
33 
34  uint32_t detId() const {return detid_;}
35  const GlobalPoint& position() const {return position_;}
36 
37  private:
38  uint32_t detid_;
40 
41  };
42 
43 }
44 
45 #endif
virtual double pt() const final
transverse momentum
BXVector< HGCalTriggerCell > HGCalTriggerCellBxCollection
virtual double eta() const final
momentum pseudorapidity
delete x;
Definition: CaloConfig.h:22
const GlobalPoint & position() const
virtual double phi() const final
momentum azimuthal angle
uint32_t detId() const
void setDetId(uint32_t detid)
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)