#include <MuonBaseNumber.h>
Public Member Functions | |
void | addBase (const int level, const int super, const int base) |
void | addBase (LevelBaseNumber) |
int | getBaseNo (int level) const |
int | getLevels () const |
int | getSuperNo (int level) const |
MuonBaseNumber () | |
~MuonBaseNumber () | |
Protected Types | |
typedef std::vector < LevelBaseNumber > | basenumber_type |
Protected Attributes | |
basenumber_type | sortedBaseNumber |
the muon base number collects all significant copy numbers to uniquely identify a detector unit; the information is kept in a vector of all relevant LevelBaseNumber's needed to identify the detector unit; a packed version of the MuonBaseNumber may replace the current numbering scheme in future
Definition at line 23 of file MuonBaseNumber.h.
|
protected |
Definition at line 38 of file MuonBaseNumber.h.
|
inline |
Definition at line 26 of file MuonBaseNumber.h.
|
inline |
Definition at line 27 of file MuonBaseNumber.h.
void MuonBaseNumber::addBase | ( | const int | level, |
const int | super, | ||
const int | base | ||
) |
Definition at line 53 of file MuonBaseNumber.cc.
Referenced by MuonDDDNumbering::geoHistoryToBaseNumber(), and MuonG4Numbering::PhysicalVolumeToBaseNumber().
void MuonBaseNumber::addBase | ( | LevelBaseNumber | num | ) |
Definition at line 7 of file MuonBaseNumber.cc.
References LevelBaseNumber::base(), gather_cfg::cout, end, LevelBaseNumber::level(), sortedBaseNumber, and LevelBaseNumber::super().
int MuonBaseNumber::getBaseNo | ( | int | level | ) | const |
Definition at line 74 of file MuonBaseNumber.cc.
References end, testEve_cfg::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), and MuonGemFrameRotation::transformPoint().
int MuonBaseNumber::getLevels | ( | ) | const |
Definition at line 58 of file MuonBaseNumber.cc.
References sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), and MuonDDDNumbering::geoHistoryToBaseNumber().
int MuonBaseNumber::getSuperNo | ( | int | level | ) | const |
Definition at line 62 of file MuonBaseNumber.cc.
References end, testEve_cfg::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), and MuonRpcFrameRotation::transformPoint().
|
protected |
Definition at line 39 of file MuonBaseNumber.h.
Referenced by addBase(), getBaseNo(), getLevels(), and getSuperNo().