#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 21 of file MuonBaseNumber.h.
|
protected |
Definition at line 36 of file MuonBaseNumber.h.
|
inline |
Definition at line 24 of file MuonBaseNumber.h.
|
inline |
Definition at line 25 of file MuonBaseNumber.h.
References addBase(), runEdmFileComparison::base, getBaseNo(), getLevels(), getSuperNo(), and hcalDigis_cfi::level.
void MuonBaseNumber::addBase | ( | const int | level, |
const int | super, | ||
const int | base | ||
) |
Definition at line 53 of file MuonBaseNumber.cc.
References pileupDistInMC::num.
Referenced by MuonDDDNumbering::geoHistoryToBaseNumber(), MuonG4Numbering::PhysicalVolumeToBaseNumber(), and ~MuonBaseNumber().
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, hcalDigis_cfi::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), MuonSensitiveDetector::setDetUnitId(), and ~MuonBaseNumber().
int MuonBaseNumber::getLevels | ( | ) | const |
Definition at line 58 of file MuonBaseNumber.cc.
References sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), MuonSensitiveDetector::setDetUnitId(), and ~MuonBaseNumber().
int MuonBaseNumber::getSuperNo | ( | int | level | ) | const |
Definition at line 62 of file MuonBaseNumber.cc.
References end, hcalDigis_cfi::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), MuonSensitiveDetector::setDetUnitId(), MuonRPCFrameRotation::transformPoint(), and ~MuonBaseNumber().
|
protected |
Definition at line 37 of file MuonBaseNumber.h.
Referenced by addBase(), getBaseNo(), getLevels(), and getSuperNo().