Geometry
CommonTopologies
interface
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
enum
Type
{
18
// rigid body has no deformations! kRigidBody = 0,
19
kBowedSurface
= 1,
// BowedSurfaceDeformation
20
kTwoBowedSurfaces
,
// TwoBowedSurfacesDeformation
21
kNoDeformations
// To please compilers
22
};
23
25
Type
surfaceDeformationType
(
const
std::string
&typeString);
26
std::string
surfaceDeformationTypeName
(
const
Type
&
type
);
27
33
SurfaceDeformation
*
create
(
int
type
,
const
std::vector<double> &
params
);
34
SurfaceDeformation
*
create
(
const
std::vector<double> &
params
);
35
36
}
// namespace SurfaceDeformationFactory
37
38
#endif
SurfaceDeformationFactory
Definition:
SurfaceDeformationFactory.h:16
CalibrationSummaryClient_cfi.params
params
Definition:
CalibrationSummaryClient_cfi.py:14
SurfaceDeformationFactory::kTwoBowedSurfaces
Definition:
SurfaceDeformationFactory.h:20
SurfaceDeformation
Definition:
SurfaceDeformation.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SurfaceDeformationFactory::Type
Type
Definition:
SurfaceDeformationFactory.h:17
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:37
SurfaceDeformationFactory::kBowedSurface
Definition:
SurfaceDeformationFactory.h:19
SurfaceDeformationFactory::surfaceDeformationTypeName
std::string surfaceDeformationTypeName(const Type &type)
Definition:
SurfaceDeformationFactory.cc:26
SurfaceDeformationFactory::surfaceDeformationType
Type surfaceDeformationType(const std::string &typeString)
convert string to 'Type' - exception if string is not known
Definition:
SurfaceDeformationFactory.cc:14
SurfaceDeformationFactory::kNoDeformations
Definition:
SurfaceDeformationFactory.h:21
SurfaceDeformationFactory::create
SurfaceDeformation * create(int type, const std::vector< double > ¶ms)
Definition:
SurfaceDeformationFactory.cc:40
Generated for CMSSW Reference Manual by
1.8.16