CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SurfaceDeformationFactory.h
Go to the documentation of this file.
1 #ifndef Geometry_CommonTopologies_SurfaceDeformationFactory_H
2 #define Geometry_CommonTopologies_SurfaceDeformationFactory_H
3 
13 
14 #include <vector>
15 #include <string>
16 
17 class SurfaceDeformation;
18 
19 namespace SurfaceDeformationFactory
20 {
21  enum Type {
22  // rigid body has no deformations! kRigidBody = 0,
23  kBowedSurface = 1, // BowedSurfaceDeformation
24  kTwoBowedSurfaces // TwoBowedSurfacesDeformation
25  };
26 
28  Type surfaceDeformationType(const std::string &typeString);
29 
30 
36  SurfaceDeformation* create(int type, const std::vector<double> &params);
37 
38 }
39 
40 #endif
type
Definition: HCALResponse.h:22
Type surfaceDeformationType(const std::string &typeString)
convert string to &#39;Type&#39; - exception if string is not known
SurfaceDeformation * create(int type, const std::vector< double > &params)