src
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
14
15
#include "
Geometry/CommonTopologies/interface/SurfaceDeformation.h
"
16
17
// already included in the above:
18
// #include <vector>
19
20
class
BowedSurfaceDeformation
:
public
SurfaceDeformation
{
21
public
:
23
BowedSurfaceDeformation
(
double
sagittaX,
double
sagittaXY,
double
sagittaY)
24
:
theSagittaX
(sagittaX),
theSagittaY
(sagittaY),
theSagittaXY
(sagittaXY) {}
27
BowedSurfaceDeformation
(
const
std::vector<double> &
parameters
);
28
29
BowedSurfaceDeformation
*
clone
()
const override
;
30
32
int
type
()
const override
;
33
40
Local2DVector
positionCorrection
(
const
Local2DPoint
&localPos,
41
const
LocalTrackAngles
&localAngles,
42
double
length,
43
double
width
)
const override
;
44
49
bool
add
(
const
SurfaceDeformation
&
other
)
override
;
50
52
std::vector<double>
parameters
()
const override
;
53
54
// the size
55
static
constexpr
unsigned
int
parSize
= 3;
56
static
constexpr
unsigned
int
parameterSize
() {
return
parSize
; }
57
59
static
constexpr
unsigned
int
minParameterSize
() {
return
parameterSize
(); }
61
static
constexpr
unsigned
int
maxParameterSize
() {
return
parameterSize
(); }
62
63
private
:
64
double
theSagittaX
;
65
double
theSagittaY
;
66
double
theSagittaXY
;
67
// double theRelWidthLowY; // could be used for non-rectangular modules
68
};
69
70
#endif
BowedSurfaceDeformation::theSagittaX
double theSagittaX
Definition:
BowedSurfaceDeformation.h:64
BowedSurfaceDeformation::minParameterSize
static constexpr unsigned int minParameterSize()
minimum size of vector that is accepted by constructor from vector
Definition:
BowedSurfaceDeformation.h:59
BowedSurfaceDeformation::clone
BowedSurfaceDeformation * clone() const override
Definition:
BowedSurfaceDeformation.cc:25
BowedSurfaceDeformation::theSagittaY
double theSagittaY
Definition:
BowedSurfaceDeformation.h:65
SurfaceDeformation::LocalTrackAngles
Topology::LocalTrackAngles LocalTrackAngles
Definition:
SurfaceDeformation.h:22
SurfaceDeformation
Definition:
SurfaceDeformation.h:18
ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr
if constexpr(n > 3)
Definition:
BrokenLine.h:164
BowedSurfaceDeformation::maxParameterSize
static constexpr unsigned int maxParameterSize()
maximum size of vector that is accepted by constructor from vector
Definition:
BowedSurfaceDeformation.h:61
Point2DBase< float, LocalTag >
BowedSurfaceDeformation::parSize
static constexpr unsigned int parSize
Definition:
BowedSurfaceDeformation.h:55
BowedSurfaceDeformation::parameterSize
static constexpr unsigned int parameterSize()
Definition:
BowedSurfaceDeformation.h:56
BowedSurfaceDeformation::type
int type() const override
specific type, i.e. SurfaceDeformationFactory::kBowedSurface
Definition:
BowedSurfaceDeformation.cc:30
trackingPlots.other
other
Definition:
trackingPlots.py:1467
BowedSurfaceDeformation::parameters
std::vector< double > parameters() const override
parameters, i.e. sagittae as given in the constructor
Definition:
BowedSurfaceDeformation.cc:87
BowedSurfaceDeformation
Definition:
BowedSurfaceDeformation.h:20
BowedSurfaceDeformation::add
bool add(const SurfaceDeformation &other) override
Definition:
BowedSurfaceDeformation.cc:71
BowedSurfaceDeformation::positionCorrection
Local2DVector positionCorrection(const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const override
Definition:
BowedSurfaceDeformation.cc:33
ApeEstimator_cff.width
width
Definition:
ApeEstimator_cff.py:24
Vector2DBase
Definition:
Vector2DBase.h:8
BowedSurfaceDeformation::theSagittaXY
double theSagittaXY
Definition:
BowedSurfaceDeformation.h:66
SurfaceDeformation.h
BowedSurfaceDeformation::BowedSurfaceDeformation
BowedSurfaceDeformation(double sagittaX, double sagittaXY, double sagittaY)
constructor from sagittae, i.e. coefficients of Legendre polynomials
Definition:
BowedSurfaceDeformation.h:23
Generated for CMSSW Reference Manual by
1.8.14