|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef L1CALOCOOLCHANNELID_H
6 #define L1CALOCOOLCHANNELID_H
19 unsigned int submodule,
20 unsigned int channel,
bool logical =
true);
25 unsigned int crate()
const {
return (
m_id & 0xff000000) >> 24; }
28 unsigned int module(
bool logical=
true)
const;
32 unsigned int id()
const {
return m_id; }
49 unsigned int submodule,
bool operator<(const L1CaloCoolChannelId &id) const
unsigned int physicalToLogicalModule(L1CaloModuleType mType, unsigned int module) const
unsigned int logicalToPhysicalModule(L1CaloModuleType mType, unsigned int module) const
unsigned int crate() const
L1CaloCoolChannelId & operator=(const L1CaloCoolChannelId &id)
bool operator==(const L1CaloCoolChannelId &id) const
L1CaloCoolChannelId()
Create a L1CaloCoolChannelId from the integer ID field.
L1CaloModuleType moduleType() const
Return module type of this channel ID.
unsigned int channel() const
void setId(unsigned int crate, L1CaloModuleType mType, unsigned int module, unsigned int submodule, unsigned int channel)
Set the CoolChannelId value from its component fields.
friend std::ostream & operator<<(std::ostream &output, const L1CaloCoolChannelId &r)
~L1CaloCoolChannelId()=default
unsigned int subModule() const
unsigned int module(bool logical=true) const