1 #ifndef DataFormats_TrackerCommon_PixelBarrelName_H 2 #define DataFormats_TrackerCommon_PixelBarrelName_H
int convertLadderNumber(int oldLadder)
int moduleName() const
module id (index in z)
constexpr std::array< uint8_t, layerIndexSize > layer
std::ostream & operator<<(std::ostream &out, const PixelBarrelName::Shell &t)
PixelModuleName::ModuleType moduleType() const override
module Type
bool isHalfModule() const
full or half module
std::string name() const override
from base class
int layerName() const
layer id
PixelBarrelName(Shell shell=mO, int layer=0, int module=0, int ladder=0, bool phase=false)
ctor for defined name with dummy parameters
~PixelBarrelName() override
PixelBarrelName(const DetId &, const TrackerTopology *tt, bool phase=false)
ctor from DetId
int ladderName() const
ladder id (index in phi)
bool operator==(const PixelModuleName &) const override
check equality of modules from datamemebers
PXBDetId getDetId()
return the DetId
int sectorName() const
sector id