#include <DTNumberingScheme.h>
Public Member Functions | |
virtual int | baseNumberToUnitNumber (const MuonBaseNumber num) |
DTNumberingScheme (const DDCompactView &cpv) | |
DTNumberingScheme (const MuonDDDConstants &muonConstants) | |
int | getDetId (const MuonBaseNumber num) const |
~DTNumberingScheme () | |
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 MuonDDDConstants &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
Definition at line 22 of file DTNumberingScheme.h.
DTNumberingScheme::DTNumberingScheme | ( | const DDCompactView & | cpv | ) |
Definition at line 13 of file DTNumberingScheme.cc.
References initMe().
DTNumberingScheme::DTNumberingScheme | ( | const MuonDDDConstants & | muonConstants | ) |
Definition at line 9 of file DTNumberingScheme.cc.
References initMe().
|
inline |
Definition at line 27 of file DTNumberingScheme.h.
|
virtual |
Reimplemented from MuonNumberingScheme.
Definition at line 37 of file DTNumberingScheme.cc.
References gather_cfg::cout, MuonBaseNumber::getBaseNo(), getDetId(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), testEve_cfg::level, and theWireLevel.
|
private |
Definition at line 125 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 79 of file DTNumberingScheme.cc.
References gather_cfg::cout, and decode().
Referenced by baseNumberToUnitNumber(), DTGeometryBuilderFromDDD::buildChamber(), DTGeometryParserFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), DTGeometryParsFromDD::insertChamber(), DTGeometryParsFromDD::insertLayer(), and DTGeometryParsFromDD::insertSuperLayer().
|
private |
Definition at line 18 of file DTNumberingScheme.cc.
References gather_cfg::cout, MuonDDDConstants::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 55 of file DTNumberingScheme.h.
|
friend |
Definition at line 56 of file DTNumberingScheme.h.
|
private |
Definition at line 50 of file DTNumberingScheme.h.
|
private |
Definition at line 46 of file DTNumberingScheme.h.
Referenced by initMe().
|
private |
Definition at line 48 of file DTNumberingScheme.h.
|
private |
Definition at line 49 of file DTNumberingScheme.h.
|
private |
Definition at line 47 of file DTNumberingScheme.h.
|
private |
Definition at line 51 of file DTNumberingScheme.h.
Referenced by baseNumberToUnitNumber(), decode(), and initMe().