57 topo_->side(i1) == topo_->side(i2) &&
58 topo_->layer(i1) == topo_->layer(i2)) {
126 uint32_t module)
const {
129 uint32_t rawid=
id.rawId();
141 uint32_t module)
const {
143 uint32_t rawid=
id.rawId();
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
bool operator()(uint32_t i1, uint32_t i2) const
MTDTopology(const int &topologyMode, const BTLValues &btl, const ETLValues &etl)
unsigned int btlTray(const DetId &id) const
const MTDTopology * topo_
std::string print(DetId detid) const
unsigned int module(const DetId &id) const
unsigned int sideStartBit_
unsigned int layer(const DetId &id) const
unsigned int sideStartBit_
unsigned int btlSide(const DetId &id) const
int getMTDTopologyMode() const
unsigned int etlDisc(const DetId &id) const
unsigned int moduleStartBit_
unsigned int btlModule(const DetId &id) const
std::pair< DetId, SameLayerComparator > etlDetIdDiskComparator(uint32_t side, uint32_t layer) const
unsigned int layerStartBit_
static const uint32_t kMTDsubdOffset
bool hasField(const DetId &id, DetIdFields idx) const
unsigned int btlLayer(const DetId &id) const
DetId btlDetId(uint32_t side, uint32_t layer, uint32_t tray, uint32_t module) const
unsigned int moduleStartBit_
SameLayerComparator(const MTDTopology *topo)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
unsigned int side(const DetId &id) const
unsigned int tray(const DetId &id) const
unsigned int etlSide(const DetId &id) const
unsigned int trayStartBit_
bool operator()(DetId i1, DetId i2) const
unsigned int ringStartBit_
unsigned int getField(const DetId &id, DetIdFields idx) const
unsigned int layerStartBit_
unsigned int ring(const DetId &id) const
unsigned int etlModule(const DetId &id) const
DetId etlDetId(uint32_t side, uint32_t layer, uint32_t ring, uint32_t module) const
int getMTDLayerNumber(const DetId &id) const
std::pair< DetId, SameLayerComparator > btlDetIdLayerComparator(uint32_t side, uint32_t layer) const
unsigned int etlRing(const DetId &id) const
unsigned int etlLayer(const DetId &id) const
const int mtdTopologyMode_
constexpr Detector det() const
get the detector field from this detid