Enumerations | |
enum | Type { kBowedSurface = 1, kTwoBowedSurfaces, kNoDeformations } |
Functions | |
SurfaceDeformation * | create (const std::vector< double > ¶ms) |
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... | |
std::string | surfaceDeformationTypeName (const Type &type) |
Enumerator | |
---|---|
kBowedSurface | |
kTwoBowedSurfaces | |
kNoDeformations |
Definition at line 17 of file SurfaceDeformationFactory.h.
SurfaceDeformation * SurfaceDeformationFactory::create | ( | const std::vector< double > & | params | ) |
Definition at line 53 of file SurfaceDeformationFactory.cc.
References Exception, BowedSurfaceDeformation::maxParameterSize(), TwoBowedSurfacesDeformation::maxParameterSize(), BowedSurfaceDeformation::minParameterSize(), TwoBowedSurfacesDeformation::minParameterSize(), and CalibrationSummaryClient_cfi::params.
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 40 of file SurfaceDeformationFactory.cc.
References Exception, AlignmentParametersFactory::kBowedSurface, AlignmentParametersFactory::kTwoBowedSurfaces, and CalibrationSummaryClient_cfi::params.
Referenced by AlignableModifier::addDeformation(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), 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 14 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().