#include <PixelBarrelName.h>
Public Types | |
enum | Shell { mO = 1, mI = 2, pO =3, pI =4 } |
Public Types inherited from PixelModuleName | |
enum | ModuleType { v1x2, v1x5, v1x8, v2x3, v2x4, v2x5, v2x8 } |
Public Member Functions | |
PXBDetId | getDetId () |
return the DetId More... | |
bool | isHalfModule () const |
full or half module More... | |
int | ladderName () const |
ladder id (index in phi) More... | |
int | layerName () const |
layer id More... | |
int | moduleName () const |
module id (index in z) More... | |
virtual PixelModuleName::ModuleType | moduleType () const |
module Type More... | |
virtual std::string | name () const |
from base class More... | |
virtual bool | operator== (const PixelModuleName &) const |
check equality of modules from datamemebers More... | |
PixelBarrelName (const DetId &) | |
ctor from DetId More... | |
PixelBarrelName (Shell shell=mO, int layer=0, int module=0, int ladder=0) | |
ctor for defined name with dummy parameters More... | |
PixelBarrelName (std::string name) | |
ctor from name string More... | |
int | sectorName () const |
sector id More... | |
Shell | shell () const |
virtual | ~PixelBarrelName () |
Public Member Functions inherited from PixelModuleName | |
virtual bool | isBarrel () const |
true for barrel modules More... | |
PixelModuleName (bool isBarrel) | |
virtual | ~PixelModuleName () |
Private Attributes | |
int | theLadder |
int | theLayer |
int | theModule |
Shell | thePart |
Additional Inherited Members | |
Static Public Member Functions inherited from PixelModuleName | |
static bool | isBarrel (uint32_t rawDetId) |
Module name (as in PixelDatabase) in barrel
Definition at line 14 of file PixelBarrelName.h.
Enumerator | |
---|---|
mO | |
mI | |
pO | |
pI |
Definition at line 17 of file PixelBarrelName.h.
PixelBarrelName::PixelBarrelName | ( | const DetId & | id | ) |
ctor from DetId
Definition at line 12 of file PixelBarrelName.cc.
References abs, PXBDetId::ladder(), PXBDetId::layer(), mI, mO, PXBDetId::module(), pI, pO, theLadder, theLayer, theModule, and thePart.
|
inline |
ctor for defined name with dummy parameters
Definition at line 23 of file PixelBarrelName.h.
PixelBarrelName::PixelBarrelName | ( | std::string | name | ) |
ctor from name string
Definition at line 63 of file PixelBarrelName.cc.
References mI, mO, name(), pI, pO, theLadder, theLayer, theModule, and thePart.
|
inlinevirtual |
Definition at line 31 of file PixelBarrelName.h.
PXBDetId PixelBarrelName::getDetId | ( | void | ) |
return the DetId
Definition at line 228 of file PixelBarrelName.cc.
References ladderName(), layerName(), mO, moduleName(), SurfaceOrientation::outer, pI, pO, shell(), and thePart.
bool PixelBarrelName::isHalfModule | ( | ) | const |
full or half module
Definition at line 189 of file PixelBarrelName.cc.
References theLadder, and theLayer.
Referenced by PixelToLNKAssociateFromAscii::addConnections(), SiPixelHitEfficiencySource::analyze(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::fill(), SiPixelInformationExtractor::findNoisyPixels(), sipixelobjects::FrameConversion::FrameConversion(), PixelBarrelLinkMaker::links(), moduleType(), and name().
|
inline |
ladder id (index in phi)
Definition at line 45 of file PixelBarrelName.h.
References theLadder.
Referenced by SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::fill(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), PixelBarrelLinkMaker::Order::operator()(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
layer id
Definition at line 39 of file PixelBarrelName.h.
References theLayer.
Referenced by SiPixelDetSummary::add(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), PixelBarrelLinkMaker::links(), PixelBarrelLinkMaker::Order::operator()(), QuadrupletSeedMerger::printNtuplet(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
module id (index in z)
Definition at line 42 of file PixelBarrelName.h.
References theModule.
Referenced by SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::fill(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), PixelBarrelLinkMaker::Order::operator()(), and SiPixelFolderOrganizer::setModuleFolder().
|
virtual |
module Type
Implements PixelModuleName.
Definition at line 199 of file PixelBarrelName.cc.
References isHalfModule(), PixelModuleName::v1x8, and PixelModuleName::v2x8.
|
virtual |
from base class
Implements PixelModuleName.
Definition at line 216 of file PixelBarrelName.cc.
References isHalfModule(), sectorName(), theLadder, theLayer, theModule, and thePart.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), BeautifulSoup.Tag::_invert(), SiPixelDetSummary::add(), SiPixelInformationExtractor::findNoisyPixels(), PixelBarrelLinkMaker::Order::operator()(), PixelBarrelName(), sipixelobjects::PixelROC::print(), sipixelobjects::PixelFEDLink::printForMap(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), and Vispa.Views.PropertyView.Property::valueChanged().
|
virtual |
check equality of modules from datamemebers
Implements PixelModuleName.
Definition at line 204 of file PixelBarrelName.cc.
References PixelModuleName::isBarrel(), python.connectstrParser::o, theLadder, theLayer, theModule, and thePart.
int PixelBarrelName::sectorName | ( | ) | const |
sector id
Definition at line 145 of file PixelBarrelName.cc.
References theLadder, and theLayer.
Referenced by name().
|
inline |
Definition at line 36 of file PixelBarrelName.h.
References thePart.
Referenced by SiPixelDigiModule::fill(), sipixelobjects::FrameConversion::FrameConversion(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
private |
Definition at line 64 of file PixelBarrelName.h.
Referenced by isHalfModule(), ladderName(), name(), operator==(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 64 of file PixelBarrelName.h.
Referenced by isHalfModule(), layerName(), name(), operator==(), PixelBarrelName(), and sectorName().
|
private |
Definition at line 64 of file PixelBarrelName.h.
Referenced by moduleName(), name(), operator==(), and PixelBarrelName().
|
private |
Definition at line 63 of file PixelBarrelName.h.
Referenced by getDetId(), name(), operator==(), PixelBarrelName(), and shell().