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
l1t::HGCalConcentratorData::setData
void setData(uint32_t value)
Definition: HGCalConcentratorData.h:25
BXVector.h
l1t::HGCalConcentratorDataBxCollection
BXVector< HGCalConcentratorData > HGCalConcentratorDataBxCollection
Definition: HGCalConcentratorData.h:9
l1t::HGCalConcentratorData::detId
uint32_t detId() const
Definition: HGCalConcentratorData.h:20
l1t::HGCalConcentratorData::setIndex
void setIndex(uint32_t value)
Definition: HGCalConcentratorData.h:22
BXVector
Definition: BXVector.h:15
DetId
Definition: DetId.h:17
l1t::HGCalConcentratorData::HGCalConcentratorData
HGCalConcentratorData(const uint32_t data=0, uint32_t index=0, uint32_t detid=0)
Definition: HGCalConcentratorData.cc:5
l1t::HGCalConcentratorData::data
uint32_t data() const
Definition: HGCalConcentratorData.h:26
l1t::HGCalConcentratorData::index_
uint32_t index_
Definition: HGCalConcentratorData.h:30
l1t::HGCalConcentratorData::index
uint32_t index() const
Definition: HGCalConcentratorData.h:23
l1t::HGCalConcentratorData::data_
uint32_t data_
Definition: HGCalConcentratorData.h:29
l1t
delete x;
Definition: CaloConfig.h:22
l1t::HGCalConcentratorData::setDetId
void setDetId(uint32_t detid)
Definition: HGCalConcentratorData.h:18
value
Definition: value.py:1
l1t::HGCalConcentratorData
Definition: HGCalConcentratorData.h:12
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
DetId.h
relativeConstraints.value
value
Definition: relativeConstraints.py:53
l1t::HGCalConcentratorData::detid_
DetId detid_
Definition: HGCalConcentratorData.h:31
l1t::HGCalConcentratorData::~HGCalConcentratorData
~HGCalConcentratorData()
Definition: HGCalConcentratorData.cc:8