20 :
DTLayerId(wheel, station, sector, superlayer, layer) {
21 if (wire < minWireId || wire >
maxWireId) {
23 <<
" Invalid parameters: " 24 <<
" Wh:" << wheel <<
" St:" << station <<
" Se:" << sector
25 <<
" Sl:" << superlayer <<
" La:" << layer <<
" Wi:" << wire << std::endl;
36 if (wire < minWireId || wire >
maxWireId) {
38 <<
" Invalid parameters: " 39 <<
" Wi:" << wire << std::endl;
47 if (wire < minWireId || wire >
maxWireId) {
49 <<
" Invalid parameters: " 50 <<
" Wi:" << wire << std::endl;
58 if (wire < minWireId || wire >
maxWireId) {
60 <<
" Invalid parameters: " 61 <<
" Wi:" << wire << std::endl;
69 os <<
" Wh:" <<
id.wheel() <<
" St:" <<
id.station() <<
" Se:" <<
id.sector() <<
" Sl:" <<
id.superlayer()
70 <<
" La:" <<
id.layer() <<
" 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.