CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::HGCalConcentratorData Class Reference

#include <HGCalConcentratorData.h>

Public Member Functions

uint32_t data () const
 
uint32_t detId () const
 
 HGCalConcentratorData (const uint32_t data=0, uint32_t index=0, uint32_t detid=0)
 
uint32_t index () const
 
void setData (uint32_t value)
 
void setDetId (uint32_t detid)
 
void setIndex (uint32_t value)
 
 ~HGCalConcentratorData ()
 

Private Attributes

uint32_t data_ {0}
 
DetId detid_
 
uint32_t index_ {0}
 

Detailed Description

Definition at line 12 of file HGCalConcentratorData.h.

Constructor & Destructor Documentation

◆ HGCalConcentratorData()

HGCalConcentratorData::HGCalConcentratorData ( const uint32_t  data = 0,
uint32_t  index = 0,
uint32_t  detid = 0 
)

Definition at line 5 of file HGCalConcentratorData.cc.

6  : data_(data), index_(index), detid_(DetId(detid)) {}

◆ ~HGCalConcentratorData()

HGCalConcentratorData::~HGCalConcentratorData ( )

Definition at line 8 of file HGCalConcentratorData.cc.

8 {}

Member Function Documentation

◆ data()

uint32_t l1t::HGCalConcentratorData::data ( ) const
inline

Definition at line 26 of file HGCalConcentratorData.h.

26 { return data_; }

References data_.

◆ detId()

uint32_t l1t::HGCalConcentratorData::detId ( ) const
inline

Definition at line 20 of file HGCalConcentratorData.h.

20 { return detid_.rawId(); }

References detid_, and DetId::rawId().

◆ index()

uint32_t l1t::HGCalConcentratorData::index ( ) const
inline

Definition at line 23 of file HGCalConcentratorData.h.

23 { return index_; }

References index_.

Referenced by BeautifulSoup.PageElement::insert().

◆ setData()

void l1t::HGCalConcentratorData::setData ( uint32_t  value)
inline

Definition at line 25 of file HGCalConcentratorData.h.

25 { data_ = value; }

References data_, and relativeConstraints::value.

◆ setDetId()

void l1t::HGCalConcentratorData::setDetId ( uint32_t  detid)
inline

Definition at line 18 of file HGCalConcentratorData.h.

18 { detid_ = DetId(detid); }

References detid_.

◆ setIndex()

void l1t::HGCalConcentratorData::setIndex ( uint32_t  value)
inline

Definition at line 22 of file HGCalConcentratorData.h.

22 { index_ = value; }

References index_, and relativeConstraints::value.

Member Data Documentation

◆ data_

uint32_t l1t::HGCalConcentratorData::data_ {0}
private

Definition at line 29 of file HGCalConcentratorData.h.

Referenced by data(), and setData().

◆ detid_

DetId l1t::HGCalConcentratorData::detid_
private

Definition at line 31 of file HGCalConcentratorData.h.

Referenced by detId(), and setDetId().

◆ index_

uint32_t l1t::HGCalConcentratorData::index_ {0}
private

Definition at line 30 of file HGCalConcentratorData.h.

Referenced by index(), and setIndex().

DetId
Definition: DetId.h:17
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
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
relativeConstraints.value
value
Definition: relativeConstraints.py:53
l1t::HGCalConcentratorData::detid_
DetId detid_
Definition: HGCalConcentratorData.h:31