1 #ifndef DataFormats_TrackerCommon_PixelBarrelName_H
2 #define DataFormats_TrackerCommon_PixelBarrelName_H
int moduleName() const
module id (index in z)
int convertLadderNumber(int oldLadder)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
constexpr std::array< uint8_t, layerIndexSize > layer
PixelModuleName::ModuleType moduleType() const override
module Type
bool isHalfModule() const
full or half module
int sectorName() const
sector id
int ladderName() const
ladder id (index in phi)
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
bool operator==(const PixelModuleName &) const override
check equality of modules from datamemebers
PXBDetId getDetId()
return the DetId