Enumerations | |
enum | Type { kBowedSurface = 1, kTwoBowedSurfaces, kNoDeformations } |
Functions | |
SurfaceDeformation * | create (int type, const std::vector< double > ¶ms) |
SurfaceDeformation * | create (const std::vector< double > ¶ms) |
Type | surfaceDeformationType (const std::string &typeString) |
convert string to 'Type' - exception if string is not known More... | |
std::string | surfaceDeformationTypeName (const Type &type) |
Enumerator | |
---|---|
kBowedSurface | |
kTwoBowedSurfaces | |
kNoDeformations |
Definition at line 18 of file SurfaceDeformationFactory.h.
SurfaceDeformation * SurfaceDeformationFactory::create | ( | int | type, |
const std::vector< double > & | params | ||
) |
Create an instance of the concrete implementations of the 'SurfaceDeformation' interface First argument 'type' must match one of the enums defined above and the size of 'params' must match the expectation of the concrete type (exception otherwise).
Definition at line 41 of file SurfaceDeformationFactory.cc.
References Exception, AlignmentParametersFactory::kBowedSurface, and AlignmentParametersFactory::kTwoBowedSurfaces.
Referenced by AlignableModifier::addDeformation(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), GeometryAligner::attachSurfaceDeformations(), and TrackerGeometryCompare::createROOTGeometry().
SurfaceDeformation * SurfaceDeformationFactory::create | ( | const std::vector< double > & | params | ) |
Definition at line 56 of file SurfaceDeformationFactory.cc.
References Exception, BowedSurfaceDeformation::maxParameterSize(), TwoBowedSurfacesDeformation::maxParameterSize(), BowedSurfaceDeformation::minParameterSize(), and TwoBowedSurfacesDeformation::minParameterSize().
SurfaceDeformationFactory::Type SurfaceDeformationFactory::surfaceDeformationType | ( | const std::string & | typeString | ) |
convert string to 'Type' - exception if string is not known
Definition at line 15 of file SurfaceDeformationFactory.cc.
References Exception, AlignmentParametersFactory::kBowedSurface, kNoDeformations, and AlignmentParametersFactory::kTwoBowedSurfaces.
Referenced by AlignableModifier::addDeformation().
std::string SurfaceDeformationFactory::surfaceDeformationTypeName | ( | const Type & | type | ) |
Definition at line 26 of file SurfaceDeformationFactory.cc.
References Exception, AlignmentParametersFactory::kBowedSurface, AlignmentParametersFactory::kTwoBowedSurfaces, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by AlignmentParameterStore::applyAlignableAbsolutePositions(), and AlignmentParameterStore::applyAlignableRelativePositions().