#include <DTNumberingScheme.h>
Public Member Functions | |
int | baseNumberToUnitNumber (const MuonBaseNumber &num) const override |
DTNumberingScheme (const MuonGeometryConstants &muonConstants) | |
int | getDetId (const MuonBaseNumber &num) const |
~DTNumberingScheme () override | |
Public Member Functions inherited from MuonNumberingScheme | |
MuonNumberingScheme () | |
virtual | ~MuonNumberingScheme () |
Private Member Functions | |
void | decode (const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int §or_id, int &station_id, int &wheel_id) const |
void | initMe (const MuonGeometryConstants &muonConstants) |
Private Attributes | |
int | theLayerLevel |
int | theRegionLevel |
int | theStationLevel |
int | theSuperLayerLevel |
int | theWheelLevel |
int | theWireLevel |
Friends | |
class | DTGeometryBuilderFromDDD |
class | DTGeometryParserFromDDD |
implementation of MuonNumberingScheme for muon barrel, converts the MuonBaseNumber to a unit id
Original
Definition at line 20 of file DTNumberingScheme.h.
DTNumberingScheme::DTNumberingScheme | ( | const MuonGeometryConstants & | muonConstants | ) |
Definition at line 19 of file DTNumberingScheme.cc.
References initMe().
|
inlineoverride |
Definition at line 23 of file DTNumberingScheme.h.
|
overridevirtual |
Reimplemented from MuonNumberingScheme.
Definition at line 37 of file DTNumberingScheme.cc.
References MuonBaseNumber::getBaseNo(), getDetId(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), testEve_cfg::level, and theStationLevel.
Referenced by DTGeometryBuilderFromDD4hep::buildChamber(), cms::DTGeometryBuilder::buildChamber(), DTGeometryBuilderFromDD4hep::buildLayer(), cms::DTGeometryBuilder::buildLayer(), DTGeometryBuilderFromDD4hep::buildSuperLayer(), cms::DTGeometryBuilder::buildSuperLayer(), DTGeometryParsFromDD::insertChamber(), DTGeometryParsFromDD::insertLayer(), and DTGeometryParsFromDD::insertSuperLayer().
|
private |
Definition at line 113 of file DTNumberingScheme.cc.
References MuonBaseNumber::getBaseNo(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), testEve_cfg::level, theLayerLevel, theStationLevel, theSuperLayerLevel, theWheelLevel, and theWireLevel.
Referenced by getDetId().
int DTNumberingScheme::getDetId | ( | const MuonBaseNumber & | num | ) | const |
Definition at line 74 of file DTNumberingScheme.cc.
References decode(), and gpuClustering::id.
Referenced by baseNumberToUnitNumber(), DTGeometryBuilderFromDDD::buildChamber(), DTGeometryParserFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), DTGeometryParsFromDD::insertLayer(), and DTGeometryParsFromDD::insertSuperLayer().
|
private |
Definition at line 21 of file DTNumberingScheme.cc.
References MuonGeometryConstants::getValue(), theLayerLevel, theRegionLevel, theStationLevel, theSuperLayerLevel, theWheelLevel, and theWireLevel.
Referenced by DTNumberingScheme().
|
friend |
Same as BaseNumberToUnitNumber but w/o check: used by MuBarDetBuilder class to build the geometry from DDD
Definition at line 49 of file DTNumberingScheme.h.
|
friend |
Definition at line 50 of file DTNumberingScheme.h.
|
private |
Definition at line 44 of file DTNumberingScheme.h.
|
private |
Definition at line 40 of file DTNumberingScheme.h.
Referenced by initMe().
|
private |
Definition at line 42 of file DTNumberingScheme.h.
Referenced by baseNumberToUnitNumber(), decode(), and initMe().
|
private |
Definition at line 43 of file DTNumberingScheme.h.
|
private |
Definition at line 41 of file DTNumberingScheme.h.
|
private |
Definition at line 45 of file DTNumberingScheme.h.