#include <PixelEndcapNameUpgrade.h>
Public Types | |
enum | HalfCylinder { 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 | |
int | bladeName () const |
blade id More... | |
int | diskName () const |
disk id More... | |
PXFDetId | getDetId () |
return DetId More... | |
HalfCylinder | halfCylinder () const |
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... | |
int | pannelName () const |
pannel id More... | |
PixelEndcapNameUpgrade (const DetId &) | |
ctor from DetId More... | |
PixelEndcapNameUpgrade (HalfCylinder part=mO, int disk=0, int blade=0, int pannel=0, int plaq=0) | |
ctor for defined name More... | |
PixelEndcapNameUpgrade (std::string name) | |
ctor from name string More... | |
int | plaquetteName () const |
plaquetteId (in pannel) More... | |
~PixelEndcapNameUpgrade () override | |
Public Member Functions inherited from PixelModuleName | |
virtual bool | isBarrel () const |
true for barrel modules More... | |
PixelModuleName (bool isBarrel) | |
virtual | ~PixelModuleName () |
Private Attributes | |
int | theBlade |
int | theDisk |
int | thePannel |
HalfCylinder | thePart |
int | thePlaquette |
Additional Inherited Members | |
Static Public Member Functions inherited from PixelModuleName | |
static bool | isBarrel (uint32_t rawDetId) |
Endcap Module name (as in PixelDatabase) for endcaps
Definition at line 16 of file PixelEndcapNameUpgrade.h.
PixelEndcapNameUpgrade::PixelEndcapNameUpgrade | ( | const DetId & | id | ) |
ctor from DetId
Definition at line 11 of file PixelEndcapNameUpgrade.cc.
References PXFDetId::blade(), PXFDetId::disk(), mI, mO, PXFDetId::module(), SurfaceOrientation::outer, PXFDetId::panel(), pI, pO, PXFDetId::side(), theBlade, theDisk, thePannel, thePart, and thePlaquette.
|
inline |
ctor for defined name
Definition at line 24 of file PixelEndcapNameUpgrade.h.
PixelEndcapNameUpgrade::PixelEndcapNameUpgrade | ( | std::string | name | ) |
ctor from name string
Definition at line 58 of file PixelEndcapNameUpgrade.cc.
References mI, mO, name(), pI, pO, theBlade, theDisk, thePannel, thePart, and thePlaquette.
|
inlineoverride |
Definition at line 30 of file PixelEndcapNameUpgrade.h.
|
inline |
blade id
Definition at line 41 of file PixelEndcapNameUpgrade.h.
References theBlade.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
disk id
Definition at line 38 of file PixelEndcapNameUpgrade.h.
References theDisk.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
PXFDetId PixelEndcapNameUpgrade::getDetId | ( | void | ) |
return DetId
Definition at line 216 of file PixelEndcapNameUpgrade.cc.
References bladeName(), diskName(), halfCylinder(), mI, mO, callgraph::module, SurfaceOrientation::outer, pannelName(), pI, plaquetteName(), pO, and theBlade.
|
inline |
Definition at line 35 of file PixelEndcapNameUpgrade.h.
References thePart.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), and SiPixelFolderOrganizer::setModuleFolder().
|
overridevirtual |
module Type
Implements PixelModuleName.
Definition at line 162 of file PixelEndcapNameUpgrade.cc.
References pannelName(), plaquetteName(), and PixelModuleName::v2x8.
|
overridevirtual |
from base class
Implements PixelModuleName.
Definition at line 185 of file PixelEndcapNameUpgrade.cc.
References theBlade, theDisk, thePannel, thePart, and thePlaquette.
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), zMuMuValidation.ZMuMuValidation::getRepMap(), VIDSelectorBase.VIDSelectorBase::initialize(), and PixelEndcapNameUpgrade().
|
overridevirtual |
check equality of modules from datamemebers
Implements PixelModuleName.
Definition at line 176 of file PixelEndcapNameUpgrade.cc.
References PixelModuleName::isBarrel(), class-composition::o, theBlade, theDisk, thePannel, thePart, and thePlaquette.
|
inline |
pannel id
Definition at line 44 of file PixelEndcapNameUpgrade.h.
References thePannel.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), moduleType(), and SiPixelFolderOrganizer::setModuleFolder().
|
inline |
plaquetteId (in pannel)
Definition at line 47 of file PixelEndcapNameUpgrade.h.
References thePlaquette.
Referenced by getDetId(), SiPixelFolderOrganizer::getModuleFolder(), moduleType(), and SiPixelFolderOrganizer::setModuleFolder().
|
private |
Definition at line 60 of file PixelEndcapNameUpgrade.h.
Referenced by bladeName(), getDetId(), name(), operator==(), and PixelEndcapNameUpgrade().
|
private |
Definition at line 60 of file PixelEndcapNameUpgrade.h.
Referenced by diskName(), name(), operator==(), and PixelEndcapNameUpgrade().
|
private |
Definition at line 60 of file PixelEndcapNameUpgrade.h.
Referenced by name(), operator==(), pannelName(), and PixelEndcapNameUpgrade().
|
private |
Definition at line 59 of file PixelEndcapNameUpgrade.h.
Referenced by halfCylinder(), name(), operator==(), and PixelEndcapNameUpgrade().
|
private |
Definition at line 60 of file PixelEndcapNameUpgrade.h.
Referenced by name(), operator==(), PixelEndcapNameUpgrade(), and plaquetteName().