Enumerations | |
enum | ParametersType { kRigidBody = 0, kSurvey, kRigidBody4D, kBeamSpot, kBowedSurface, kTwoBowedSurfaces } |
enums for all available AlignmentParameters More... | |
Functions | |
AlignmentParameters * | createParameters (Alignable *ali, ParametersType parType, const std::vector< bool > &sel) |
ParametersType | parametersType (const std::string &typeString) |
convert string to ParametersType - exception if not known More... | |
ParametersType | parametersType (int typeInt) |
std::string | parametersTypeName (ParametersType parType) |
Factory interface to create AlignmentParameters for the known types, defined by the enum AlignmentParametersFactory::ParametersType.
(last update by
)
(last update by
)
enums for all available AlignmentParameters
Enumerator | |
---|---|
kRigidBody | |
kSurvey | |
kRigidBody4D | |
kBeamSpot | |
kBowedSurface | |
kTwoBowedSurfaces |
Definition at line 21 of file AlignmentParametersFactory.h.
AlignmentParameters * AlignmentParametersFactory::createParameters | ( | Alignable * | ali, |
ParametersType | parType, | ||
const std::vector< bool > & | sel | ||
) |
create AlignmentParameters of type 'parType' for Alignable 'ali' with selection 'sel' for active parameters
Definition at line 83 of file AlignmentParametersFactory.cc.
References Exception, kBeamSpot, kBowedSurface, kRigidBody, kRigidBody4D, kSurvey, kTwoBowedSurfaces, RigidBodyAlignmentParameters::N_PARAM, BeamSpotAlignmentParameters::N_PARAM, BowedSurfaceAlignmentParameters::N_PARAM, and TwoBowedSurfacesAlignmentParameters::N_PARAM.
Referenced by AlignmentParameterBuilder::add(), and AlignmentParametersIORoot::readOne().
ParametersType AlignmentParametersFactory::parametersType | ( | const std::string & | typeString | ) |
convert string to ParametersType - exception if not known
Definition at line 22 of file AlignmentParametersFactory.cc.
References Exception, kBeamSpot, kBowedSurface, kRigidBody, kRigidBody4D, kSurvey, and kTwoBowedSurfaces.
Referenced by AlignmentParameterBuilder::addAllSelections(), ParametersToParametersDerivatives::init(), and AlignmentParametersIORoot::readOne().
ParametersType AlignmentParametersFactory::parametersType | ( | int | typeInt | ) |
convert int to ParametersType (if same value) - exception if no corresponding type
Definition at line 42 of file AlignmentParametersFactory.cc.
References Exception, kBeamSpot, kBowedSurface, kRigidBody, kRigidBody4D, kSurvey, and kTwoBowedSurfaces.
std::string AlignmentParametersFactory::parametersTypeName | ( | ParametersType | parType | ) |
convert ParametersType to string understood by parametersType(string &typeString)
Definition at line 63 of file AlignmentParametersFactory.cc.
References kBeamSpot, kBowedSurface, kRigidBody, kRigidBody4D, kSurvey, and kTwoBowedSurfaces.
Referenced by AlignmentParameterBuilder::addSelections(), and ParametersToParametersDerivatives::init().