Allows conversion between type and name, and vice-versa. More...
#include <AlignableObjectId.h>
Public Member Functions | |
AlignableObjectId () | |
Static Public Member Functions | |
static const char * | idToString (align::StructureType type) |
static void | isPhaseIGeometry () |
sets entries-pointer to names of PhaseI geometry More... | |
static void | isPhaseIIGeometry () |
sets entries-pointer to names of PhaseII geometry More... | |
static void | isRunIGeometry () |
sets entries-pointer to names of RunI geometry More... | |
static align::StructureType | nameToType (const std::string &name) |
Convert name to type. More... | |
static align::StructureType | stringToId (const char *) |
static align::StructureType | stringToId (const std::string &s) |
static std::string | typeToName (align::StructureType type) |
Convert type to name. More... | |
Allows conversion between type and name, and vice-versa.
Definition at line 9 of file AlignableObjectId.h.
|
inline |
Definition at line 13 of file AlignableObjectId.h.
|
static |
Definition at line 272 of file AlignableObjectId.cc.
References Exception, and mps_fire::result.
Referenced by AlignmentMonitorGeneric::book(), TrackerOfflineValidation::bookDirHists(), TrackerOfflineValidation::bookSummaryHists(), AlignableTrackerBuilder::buildAlignableDetUnits(), AlignableCompositeBuilder::buildAll(), AlignableCompositeBuilder::buildLevel(), MomentumDependentPedeLabeler::buildMomentumDependencyMap(), AlignableTrackerBuilder::buildPixelDetector(), TrackerAlignmentLevelBuilder::buildPXBAlignmentLevels(), TrackerAlignmentLevelBuilder::buildPXEAlignmentLevels(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), AlignableTrackerBuilder::buildStripDetector(), TrackerAlignmentLevelBuilder::buildTECAlignmentLevels(), TrackerAlignmentLevelBuilder::buildTIBAlignmentLevels(), TrackerAlignmentLevelBuilder::buildTIDAlignmentLevels(), TrackerAlignmentLevelBuilder::buildTOBAlignmentLevels(), PedeSteererWeakModeConstraints::checkSelectionShiftParameter(), PedeSteererWeakModeConstraints::constructConstraints(), PedeSteererWeakModeConstraints::createAlignablesDataStructure(), MisalignmentScenarioBuilder::decodeMovements_(), AlignableIndexer::get(), MuonAlignmentInputXML::getCSCnode(), MuonAlignmentInputXML::getDTnode(), PedeSteerer::hierarchyConstraint(), PedeSteerer::hierarchyConstraints(), PedeSteererWeakModeConstraints::makeLevelsFilenames(), TrackerOfflineValidation::prepareSummaryHists(), PedeSteerer::presigmas(), PedeSteerer::presigmasFile(), and MuonAlignmentOutputXML::writeComponents().
|
static |
sets entries-pointer to names of PhaseI geometry
Definition at line 248 of file AlignableObjectId.cc.
Referenced by AlignableTrackerBuilder::AlignableTrackerBuilder().
|
static |
sets entries-pointer to names of PhaseII geometry
Definition at line 254 of file AlignableObjectId.cc.
Referenced by AlignableTrackerBuilder::AlignableTrackerBuilder().
|
static |
sets entries-pointer to names of RunI geometry
Definition at line 242 of file AlignableObjectId.cc.
Referenced by AlignableTrackerBuilder::AlignableTrackerBuilder().
|
static |
Convert name to type.
Definition at line 260 of file AlignableObjectId.cc.
|
static |
Definition at line 286 of file AlignableObjectId.cc.
References Exception, mergeVDriftHistosByStation::name, and mps_fire::result.
Referenced by AlignmentMonitorSurvey::AlignmentMonitorSurvey(), HIPAlignmentAlgorithm::HIPAlignmentAlgorithm(), SurveyAlignmentAlgorithm::initialize(), MuonGeometryArrange::MuonGeometryArrange(), MisalignmentScenarioBuilder::propagateParameters_(), SurveyInputTextReader::readFile(), TrackerGeometryCompare::setCommonTrackerSystem(), and TrackerGeometryCompare::TrackerGeometryCompare().
|
inlinestatic |
Definition at line 31 of file AlignableObjectId.h.
References stringToId().
Referenced by stringToId().
|
static |
Convert type to name.
Definition at line 266 of file AlignableObjectId.cc.
Referenced by AlignableTracker::endcapGeomDets(), AlignableTracker::endcapLayers(), AlignableTracker::endcapPetals(), AlignableTracker::endCaps(), AlignableTracker::innerBarrelGeomDets(), AlignableTracker::innerBarrelLayers(), AlignableTracker::innerBarrelRods(), AlignableTracker::innerHalfBarrels(), AlignableTracker::outerBarrelGeomDets(), AlignableTracker::outerBarrelLayers(), AlignableTracker::outerBarrelRods(), AlignableTracker::outerHalfBarrels(), AlignableTracker::pixelEndcapGeomDets(), AlignableTracker::pixelEndcapLayers(), AlignableTracker::pixelEndcapPetals(), AlignableTracker::pixelEndCaps(), AlignableTracker::pixelHalfBarrelGeomDets(), AlignableTracker::pixelHalfBarrelLadders(), AlignableTracker::pixelHalfBarrelLayers(), AlignableTracker::pixelHalfBarrels(), TrackerScenarioBuilder::stripOffModule(), AlignableTracker::TIDGeomDets(), AlignableTracker::TIDLayers(), AlignableTracker::TIDRings(), and AlignableTracker::TIDs().