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 
10 
11 #include <vector>
12 #include <string>
13 
14 class SurfaceDeformation;
15 
16 namespace SurfaceDeformationFactory
17 {
18  enum Type {
19  // rigid body has no deformations! kRigidBody = 0,
20  kBowedSurface = 1, // BowedSurfaceDeformation
21  kTwoBowedSurfaces // TwoBowedSurfacesDeformation
22  };
23 
25  Type surfaceDeformationType(const std::string &typeString);
26 
27 
33  SurfaceDeformation* create(int type, const std::vector<double> &params);
34 
35 }
36 
37 #endif
type
Definition: HCALResponse.h:21
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)