Enumerations | |
enum | Type { kBowedSurface = 1, kTwoBowedSurfaces } |
Functions | |
SurfaceDeformation * | create (int type, const std::vector< double > ¶ms) |
Type | surfaceDeformationType (const std::string &typeString) |
convert string to 'Type' - exception if string is not known More... | |
Enumerator | |
---|---|
kBowedSurface | |
kTwoBowedSurfaces |
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 27 of file SurfaceDeformationFactory.cc.
References Exception, AlignmentParametersFactory::kBowedSurface, AlignmentParametersFactory::kTwoBowedSurfaces, BowedSurfaceDeformation::maxParameterSize(), TwoBowedSurfacesDeformation::maxParameterSize(), BowedSurfaceDeformation::minParameterSize(), and TwoBowedSurfacesDeformation::minParameterSize().
Referenced by AlignableModifier::addDeformation(), GeometryAligner::attachSurfaceDeformations(), and TrackerGeometryCompare::createROOTGeometry().
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, and AlignmentParametersFactory::kTwoBowedSurfaces.
Referenced by AlignableModifier::addDeformation().