Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Geometry
CommonTopologies
interface
BowedSurfaceDeformation.h
Go to the documentation of this file.
1
#ifndef Geometry_CommonTopologies_BowedSurfaceDeformation_H
2
#define Geometry_CommonTopologies_BowedSurfaceDeformation_H
3
17
18
#include "
Geometry/CommonTopologies/interface/SurfaceDeformation.h
"
19
20
// already included in the above:
21
// #include <vector>
22
23
class
BowedSurfaceDeformation
:
public
SurfaceDeformation
24
{
25
public
:
27
BowedSurfaceDeformation
(
double
sagittaX,
double
sagittaXY,
double
sagittaY) :
28
theSagittaX
(sagittaX),
theSagittaY
(sagittaY),
theSagittaXY
(sagittaXY) { }
31
BowedSurfaceDeformation
(
const
std::vector<double> &
parameters
);
32
33
virtual
BowedSurfaceDeformation
*
clone
()
const
;
34
36
virtual
int
type
()
const
;
37
44
virtual
Local2DVector
positionCorrection
(
const
Local2DPoint
&localPos,
45
const
LocalTrackAngles
&localAngles,
46
double
length,
double
width
)
const
;
47
52
virtual
bool
add
(
const
SurfaceDeformation
&other);
53
55
virtual
std::vector<double>
parameters
()
const
;
56
58
static
unsigned
int
minParameterSize
() {
return
3;}
60
static
unsigned
int
maxParameterSize
() {
return
3;}
61
62
private
:
63
double
theSagittaX
;
64
double
theSagittaY
;
65
double
theSagittaXY
;
66
// double theRelWidthLowY; // could be used for non-rectangular modules
67
};
68
69
#endif
BowedSurfaceDeformation::theSagittaX
double theSagittaX
Definition:
BowedSurfaceDeformation.h:63
BowedSurfaceDeformation::theSagittaY
double theSagittaY
Definition:
BowedSurfaceDeformation.h:64
tablePrinter.width
int width
Definition:
tablePrinter.py:59
SurfaceDeformation::LocalTrackAngles
Topology::LocalTrackAngles LocalTrackAngles
Definition:
SurfaceDeformation.h:23
SurfaceDeformation
Definition:
SurfaceDeformation.h:18
Point2DBase< float, LocalTag >
BowedSurfaceDeformation::clone
virtual BowedSurfaceDeformation * clone() const
Definition:
BowedSurfaceDeformation.cc:29
BowedSurfaceDeformation::minParameterSize
static unsigned int minParameterSize()
minimum size of vector that is accepted by constructor from vector
Definition:
BowedSurfaceDeformation.h:58
BowedSurfaceDeformation::type
virtual int type() const
specific type, i.e. SurfaceDeformationFactory::kBowedSurface
Definition:
BowedSurfaceDeformation.cc:35
BowedSurfaceDeformation::maxParameterSize
static unsigned int maxParameterSize()
maximum size of vector that is accepted by constructor from vector
Definition:
BowedSurfaceDeformation.h:60
BowedSurfaceDeformation
Definition:
BowedSurfaceDeformation.h:23
BowedSurfaceDeformation::parameters
virtual std::vector< double > parameters() const
parameters, i.e. sagittae as given in the constructor
Definition:
BowedSurfaceDeformation.cc:92
Vector2DBase
Definition:
Vector2DBase.h:9
BowedSurfaceDeformation::theSagittaXY
double theSagittaXY
Definition:
BowedSurfaceDeformation.h:65
BowedSurfaceDeformation::positionCorrection
virtual Local2DVector positionCorrection(const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const
Definition:
BowedSurfaceDeformation.cc:42
BowedSurfaceDeformation::add
virtual bool add(const SurfaceDeformation &other)
Definition:
BowedSurfaceDeformation.cc:75
SurfaceDeformation.h
BowedSurfaceDeformation::BowedSurfaceDeformation
BowedSurfaceDeformation(double sagittaX, double sagittaXY, double sagittaY)
constructor from sagittae, i.e. coefficients of Legendre polynomials
Definition:
BowedSurfaceDeformation.h:27
Generated for CMSSW Reference Manual by
1.8.5