|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef L1CALORXCOOLCHANNELID_H
6 #define L1CALORXCOOLCHANNELID_H
22 unsigned int crate()
const {
return (
unsigned int)
m_id/1024; };
23 unsigned int module()
const {
return (
unsigned int)
m_id%1024/64; };
27 unsigned int id()
const {
return m_id; };
unsigned int outputPair() const
~L1CaloRxCoolChannelId()=default
unsigned int m_outputPair
void setId(unsigned int crate, unsigned int module, unsigned int inputConn, unsigned int inputPair)
Set the CoolChannelId value from its component fields.
unsigned int inputConn() const
unsigned int outputConn() const
unsigned int inputPair() const
bool operator==(const L1CaloRxCoolChannelId &id) const
void outputAttributes(unsigned int conn, unsigned int pair)
unsigned int crate() const
bool operator<(const L1CaloRxCoolChannelId &id) const
unsigned int module() const
L1CaloRxCoolChannelId()
Create a L1CaloRxCoolChannelId from the integer ID field.
L1CaloRxCoolChannelId & operator=(const L1CaloRxCoolChannelId &id)=default
friend std::ostream & operator<<(std::ostream &output, const L1CaloRxCoolChannelId &r)
unsigned int m_outputConn