31 int wire) :
DTLayerId(wheel, station, sector, superlayer, layer) {
32 if (wire < minWireId || wire >
maxWireId) {
34 <<
" Invalid parameters: " 38 <<
" Sl:"<< superlayer
59 if (wire < minWireId || wire >
maxWireId) {
61 <<
" Invalid parameters: " 74 if (wire < minWireId || wire >
maxWireId) {
76 <<
" Invalid parameters: " 88 if (wire < minWireId || wire >
maxWireId) {
90 <<
" Invalid parameters: " 103 os <<
" Wh:"<<
id.wheel()
104 <<
" St:"<<
id.station()
105 <<
" Se:"<<
id.sector()
106 <<
" Sl:"<<
id.superlayer()
107 <<
" La:"<<
id.layer()
108 <<
" Wi:"<<
id.wire()
std::ostream & operator<<(std::ostream &os, const DTWireId &id)
constexpr uint32_t rawId() const
get the raw id
int layer() const
Return the layer number.
static const int wireStartBit_
static const int maxWireId
highest wire id (chambers have 48 to 96 wires)
int wire() const
Return the wire number.
int superlayer() const
Return the superlayer number (deprecated method name)
DTLayerId layerId() const
Return the corresponding LayerId.
static const uint32_t wireMask_
int station() const
Return the station number.
int wheel() const
Return the wheel number.