#include <DTNumberingScheme.h>
Public Member Functions | |
int | baseNumberToUnitNumber (const MuonBaseNumber &num) override |
DTNumberingScheme (const DDCompactView &cpv) | |
DTNumberingScheme (const MuonDDDConstants &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 MuonDDDConstants &muonConstants) |
Private Attributes | |
int | theLayerLevel |
int | theRegionLevel |
int | theStationLevel |
int | theSuperLayerLevel |
int | theWheelLevel |
int | theWireLevel |
Friends | |
class | DTGeometryBuilderFromDDD |
class | DTGeometryParserFromDDD |
Description: DTNumberingScheme converts the MuonBaseNumber to a unit id for Muon Barrel
Implementation: DTNumberingScheme decode and getDetId are ported from an original DTNumberingScheme class
implementation of MuonNumberingScheme for muon barrel, converts the MuonBaseNumber to a unit id
Definition at line 20 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().
|
inlineoverride |
Definition at line 25 of file DTNumberingScheme.h.
References baseNumberToUnitNumber(), decode(), getDetId(), initMe(), and pileupDistInMC::num.
|
overridevirtual |
Reimplemented from MuonNumberingScheme.
Definition at line 39 of file DTNumberingScheme.cc.
References MuonBaseNumber::getBaseNo(), getDetId(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), hcalDigis_cfi::level, and theWireLevel.
Referenced by ~DTNumberingScheme().
|
private |
Definition at line 127 of file DTNumberingScheme.cc.
References MuonBaseNumber::getBaseNo(), MuonBaseNumber::getLevels(), MuonBaseNumber::getSuperNo(), hcalDigis_cfi::level, theLayerLevel, theStationLevel, theSuperLayerLevel, theWheelLevel, and theWireLevel.
Referenced by getDetId(), and ~DTNumberingScheme().
int DTNumberingScheme::getDetId | ( | const MuonBaseNumber & | num | ) | const |
Definition at line 81 of file DTNumberingScheme.cc.
References decode(), and triggerObjects_cff::id.
Referenced by baseNumberToUnitNumber(), DTGeometryBuilderFromDDD::buildChamber(), DTGeometryParserFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), DTGeometryParsFromDD::insertChamber(), DTGeometryParsFromDD::insertLayer(), DTGeometryParsFromDD::insertSuperLayer(), and ~DTNumberingScheme().
|
private |
Definition at line 18 of file DTNumberingScheme.cc.
References MuonDDDConstants::getValue(), theLayerLevel, theRegionLevel, theStationLevel, theSuperLayerLevel, theWheelLevel, and theWireLevel.
Referenced by DTNumberingScheme(), and ~DTNumberingScheme().
|
friend |
Same as BaseNumberToUnitNumber but w/o check: used by MuBarDetBuilder class to build the geometry from DDD
Definition at line 53 of file DTNumberingScheme.h.
|
friend |
Definition at line 54 of file DTNumberingScheme.h.
|
private |
Definition at line 48 of file DTNumberingScheme.h.
|
private |
Definition at line 44 of file DTNumberingScheme.h.
Referenced by initMe().
|
private |
Definition at line 46 of file DTNumberingScheme.h.
|
private |
Definition at line 47 of file DTNumberingScheme.h.
|
private |
Definition at line 45 of file DTNumberingScheme.h.
|
private |
Definition at line 49 of file DTNumberingScheme.h.
Referenced by baseNumberToUnitNumber(), decode(), and initMe().