#include <PixelBarrelNameUpgrade.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... | |
PixelModuleName::ModuleType | moduleType () const override |
module Type More... | |
std::string | name () const override |
from base class More... | |
bool | operator== (const PixelModuleName &) const override |
check equality of modules from datamemebers More... | |
PixelBarrelNameUpgrade (const DetId &) | |
ctor from DetId More... | |
PixelBarrelNameUpgrade (Shell shell=mO, int layer=0, int module=0, int ladder=0) | |
ctor for defined name with dummy parameters More... | |
PixelBarrelNameUpgrade (std::string name) | |
ctor from name string More... | |
int | sectorName () const |
sector id More... | |
Shell | shell () const |
~PixelBarrelNameUpgrade () override | |
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 PixelBarrelNameUpgrade.h.
PixelBarrelNameUpgrade::PixelBarrelNameUpgrade | ( | const DetId & | id | ) |
ctor from DetId
Definition at line 11 of file PixelBarrelNameUpgrade.cc.
References funct::abs(), PXBDetId::ladder(), PXBDetId::layer(), mI, mO, PXBDetId::module(), pI, pO, theLadder, theLayer, theModule, and thePart.
PixelBarrelNameUpgrade::PixelBarrelNameUpgrade | ( | std::string | name | ) |
ctor from name string
Definition at line 78 of file PixelBarrelNameUpgrade.cc.
References gather_cfg::cout, mI, mO, name(), pI, pO, theLadder, theLayer, theModule, and thePart.
|
inlineoverride |
Definition at line 28 of file PixelBarrelNameUpgrade.h.
PXBDetId PixelBarrelNameUpgrade::getDetId | ( | void | ) |
return the DetId
Definition at line 398 of file PixelBarrelNameUpgrade.cc.
References PVValHelper::ladder, ladderName(), phase1PixelTopology::layer, layerName(), mO, callgraph::module, moduleName(), SurfaceOrientation::outer, pI, pO, and thePart.
bool PixelBarrelNameUpgrade::isHalfModule | ( | ) | const |
full or half module
Definition at line 353 of file PixelBarrelNameUpgrade.cc.
Referenced by moduleType().
|
inline |
ladder id (index in phi)
Definition at line 42 of file PixelBarrelNameUpgrade.h.
References theLadder.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
layer id
Definition at line 36 of file PixelBarrelNameUpgrade.h.
References theLayer.
Referenced by SiPixelTrackResidualSource::analyze(), PixelLumiDQM::analyze(), getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
module id (index in z)
Definition at line 39 of file PixelBarrelNameUpgrade.h.
References theModule.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
overridevirtual |
module Type
Implements PixelModuleName.
Definition at line 362 of file PixelBarrelNameUpgrade.cc.
References isHalfModule(), PixelModuleName::v1x8, and PixelModuleName::v2x8.
|
overridevirtual |
from base class
Implements PixelModuleName.
Definition at line 375 of file PixelBarrelNameUpgrade.cc.
References sectorName(), theLadder, theLayer, theModule, and thePart.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and PixelBarrelNameUpgrade().
|
overridevirtual |
check equality of modules from datamemebers
Implements PixelModuleName.
Definition at line 366 of file PixelBarrelNameUpgrade.cc.
References EcalTangentSkim_cfg::o, trackingPlots::other, theLadder, theLayer, theModule, and thePart.
int PixelBarrelNameUpgrade::sectorName | ( | ) | const |
sector id
Definition at line 164 of file PixelBarrelNameUpgrade.cc.
References theLadder, and theLayer.
Referenced by name().
|
inline |
Definition at line 33 of file PixelBarrelNameUpgrade.h.
References thePart.
Referenced by SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
private |
Definition at line 61 of file PixelBarrelNameUpgrade.h.
Referenced by ladderName(), name(), operator==(), PixelBarrelNameUpgrade(), and sectorName().
|
private |
Definition at line 61 of file PixelBarrelNameUpgrade.h.
Referenced by layerName(), name(), operator==(), PixelBarrelNameUpgrade(), and sectorName().
|
private |
Definition at line 61 of file PixelBarrelNameUpgrade.h.
Referenced by moduleName(), name(), operator==(), and PixelBarrelNameUpgrade().
|
private |
Definition at line 60 of file PixelBarrelNameUpgrade.h.
Referenced by getDetId(), name(), operator==(), PixelBarrelNameUpgrade(), and shell().