CMS 3D CMS Logo

HGCalConcentratorData.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1TCalorimeter_HGCalConcentratorData_h
2 #define DataFormats_L1TCalorimeter_HGCalConcentratorData_h
3 
6 
7 namespace l1t {
8 
11 
13  public:
14  HGCalConcentratorData(const uint32_t data = 0, uint32_t index = 0, uint32_t detid = 0);
15 
17 
18  void setDetId(uint32_t detid) { detid_ = DetId(detid); }
19 
20  uint32_t detId() const { return detid_.rawId(); }
21 
22  void setIndex(uint32_t value) { index_ = value; }
23  uint32_t index() const { return index_; }
24 
25  void setData(uint32_t value) { data_ = value; }
26  uint32_t data() const { return data_; }
27 
28  private:
29  uint32_t data_{0};
30  uint32_t index_{0};
32  };
33 
34 } // namespace l1t
35 
36 #endif
delete x;
Definition: CaloConfig.h:22
BXVector< HGCalConcentratorData > HGCalConcentratorDataBxCollection
HGCalConcentratorData(const uint32_t data=0, uint32_t index=0, uint32_t detid=0)
Definition: value.py:1
Definition: DetId.h:17
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57