CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <vector>
14 #include <string>
15 
16 class Alignable;
18 
19 namespace AlignmentParametersFactory {
22  kRigidBody = 0, // RigidBodyAlignmentParameters
23  kSurvey, // SurveyParameters GF: do not belong here, so remove in the long term...
24  kRigidBody4D, // RigidBodyAlignmentParameters4D
25  kBeamSpot, // BeamSpotAlignmentParameters
26  kBowedSurface, // BowedSurfaceAlignmentParameters
27  kTwoBowedSurfaces // TwoBowedSurfacesAlignmentParameters
28  };
29 
31  ParametersType parametersType(const std::string &typeString);
33  ParametersType parametersType(int typeInt);
36 
40  const std::vector<bool> &sel);
41 }
42 
43 #endif
std::string parametersTypeName(ParametersType parType)
convert ParametersType to string understood by parametersType(string &amp;typeString) ...
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