CMS 3D CMS Logo

AlignmentParametersFactory.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentParametrization_AlignmentParametersFactory_h
2 #define Alignment_CommonAlignmentParametrization_AlignmentParametersFactory_h
3 
12 
13 #include <string>
14 #include <vector>
15 
16 class Alignable;
18 
22  kRigidBody = 0, // RigidBodyAlignmentParameters
23  kSurvey, // SurveyParameters GF: do not belong here, so remove in the long
24  // term...
25  kRigidBody4D, // RigidBodyAlignmentParameters4D
26  kBeamSpot, // BeamSpotAlignmentParameters
27  kBowedSurface, // BowedSurfaceAlignmentParameters
28  kTwoBowedSurfaces // TwoBowedSurfacesAlignmentParameters
29  };
30 
32  ParametersType parametersType(const std::string &typeString);
35  ParametersType parametersType(int typeInt);
39 
42  AlignmentParameters *createParameters(Alignable *ali, ParametersType parType, const std::vector<bool> &sel);
43 } // namespace AlignmentParametersFactory
44 
45 #endif
std::string parametersTypeName(ParametersType parType)
ParametersType
enums for all available AlignmentParameters
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