CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
)

◆ ~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.

References data_.

26 { return data_; }

◆ detId()

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

Definition at line 20 of file HGCalConcentratorData.h.

References detid_, and DetId::rawId().

20 { return detid_.rawId(); }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57

◆ index()

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

Definition at line 23 of file HGCalConcentratorData.h.

References index_.

23 { return index_; }

◆ setData()

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

◆ setDetId()

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

Definition at line 18 of file HGCalConcentratorData.h.

References detid_.

18 { detid_ = DetId(detid); }
Definition: DetId.h:17

◆ setIndex()

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

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().