#include <MuonBaseNumber.h>
Public Member Functions | |
void | addBase (const int level, const int super, const int base) |
void | addBase (const 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 48 of file MuonBaseNumber.cc.
References pileupDistInMC::num.
Referenced by MuonDDDNumbering::geoHistoryToBaseNumber(), cms::MuonNumbering::geoHistoryToBaseNumber(), MuonG4Numbering::PhysicalVolumeToBaseNumber(), and ~MuonBaseNumber().
void MuonBaseNumber::addBase | ( | const LevelBaseNumber & | num | ) |
Definition at line 6 of file MuonBaseNumber.cc.
References LevelBaseNumber::base(), end, gen::k, LevelBaseNumber::level(), sortedBaseNumber, and LevelBaseNumber::super().
int MuonBaseNumber::getBaseNo | ( | int | level | ) | const |
Definition at line 69 of file MuonBaseNumber.cc.
References end, hcalDigis_cfi::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), cms::DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), MuonSensitiveDetector::setDetUnitId(), and ~MuonBaseNumber().
int MuonBaseNumber::getLevels | ( | ) | const |
Definition at line 53 of file MuonBaseNumber.cc.
References sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), cms::DTNumberingScheme::decode(), MuonDDDNumbering::geoHistoryToBaseNumber(), MuonSensitiveDetector::setDetUnitId(), and ~MuonBaseNumber().
int MuonBaseNumber::getSuperNo | ( | int | level | ) | const |
Definition at line 57 of file MuonBaseNumber.cc.
References end, hcalDigis_cfi::level, and sortedBaseNumber.
Referenced by GEMNumberingScheme::baseNumberToUnitNumber(), ME0NumberingScheme::baseNumberToUnitNumber(), CSCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::baseNumberToUnitNumber(), RPCNumberingScheme::baseNumberToUnitNumber(), DTNumberingScheme::decode(), cms::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().