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
friend std::ostream & operator<<(std::ostream &output, const L1CaloRxCoolChannelId &r)
bool operator<(const L1CaloRxCoolChannelId &id) const
void outputAttributes(unsigned int conn, unsigned int pair)
bool operator==(const L1CaloRxCoolChannelId &id) const
unsigned int module() const
~L1CaloRxCoolChannelId()=default
L1CaloRxCoolChannelId & operator=(const L1CaloRxCoolChannelId &id)=default
unsigned int inputConn() const
unsigned int m_outputConn
unsigned int inputPair() const
unsigned int outputConn() const
void setId(unsigned int crate, unsigned int module, unsigned int inputConn, unsigned int inputPair)
Set the CoolChannelId value from its component fields.
unsigned int crate() const
L1CaloRxCoolChannelId()
Create a L1CaloRxCoolChannelId from the integer ID field.
unsigned int m_outputPair