Main Page
Namespaces
Classes
Package Documentation
Geometry
CommonTopologies
interface
TwoBowedSurfacesDeformation.h
Go to the documentation of this file.
1
#ifndef GeometryCommonTopologiesTwoBowedSurfacesDeformation_H
2
#define GeometryCommonTopologiesTwoBowedSurfacesDeformation_H
3
14
15
#include "
Geometry/CommonTopologies/interface/SurfaceDeformation.h
"
16
17
#include <array>
18
19
class
TwoBowedSurfacesDeformation
:
public
SurfaceDeformation
{
20
public
:
37
TwoBowedSurfacesDeformation
(
const
std::vector<double> &
parameters
);
38
39
TwoBowedSurfacesDeformation
*
clone
()
const override
;
40
42
int
type
()
const override
;
43
50
Local2DVector
positionCorrection
(
const
Local2DPoint
&localPos,
51
const
LocalTrackAngles
&localAngles,
52
double
length,
53
double
width
)
const override
;
54
59
bool
add
(
const
SurfaceDeformation
&
other
)
override
;
60
62
std::vector<double>
parameters
()
const override
;
63
64
// the size
65
static
constexpr
unsigned
int
parSize
= 13;
66
static
constexpr
unsigned
int
parameterSize
() {
return
parSize
; }
67
69
static
constexpr
unsigned
int
minParameterSize
() {
return
parameterSize
(); }
71
static
constexpr
unsigned
int
maxParameterSize
() {
return
parameterSize
(); }
72
73
// location of ySplit
74
static
constexpr
unsigned
int
k_ySplit
() {
return
parameterSize
() - 1; }
75
76
private
:
77
double
theParameters
[
parSize
];
78
};
79
80
#endif
TwoBowedSurfacesDeformation::parSize
static unsigned int parSize
Definition:
TwoBowedSurfacesDeformation.h:65
SurfaceDeformation
Definition:
SurfaceDeformation.h:18
Point2DBase< double, LocalTag >
TwoBowedSurfacesDeformation::clone
TwoBowedSurfacesDeformation * clone() const override
Definition:
TwoBowedSurfacesDeformation.cc:26
TwoBowedSurfacesDeformation::theParameters
double theParameters[parSize]
Definition:
TwoBowedSurfacesDeformation.h:77
TwoBowedSurfacesDeformation::type
int type() const override
specific type, i.e. SurfaceDeformationFactory::kTwoBowedSurfaces
Definition:
TwoBowedSurfacesDeformation.cc:31
trackingPlots.other
other
Definition:
trackingPlots.py:1455
TwoBowedSurfacesDeformation::positionCorrection
Local2DVector positionCorrection(const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const override
Definition:
TwoBowedSurfacesDeformation.cc:34
TwoBowedSurfacesDeformation::TwoBowedSurfacesDeformation
TwoBowedSurfacesDeformation(const std::vector< double > ¶meters)
Definition:
TwoBowedSurfacesDeformation.cc:13
TwoBowedSurfacesDeformation
Definition:
TwoBowedSurfacesDeformation.h:19
TwoBowedSurfacesDeformation::minParameterSize
static unsigned int minParameterSize()
minimum size of vector that is accepted by constructor from vector
Definition:
TwoBowedSurfacesDeformation.h:69
TwoBowedSurfacesDeformation::maxParameterSize
static unsigned int maxParameterSize()
maximum size of vector that is accepted by constructor from vector
Definition:
TwoBowedSurfacesDeformation.h:71
ApeEstimator_cff.width
width
Definition:
ApeEstimator_cff.py:24
Vector2DBase
Definition:
Vector2DBase.h:8
TwoBowedSurfacesDeformation::k_ySplit
static unsigned int k_ySplit()
Definition:
TwoBowedSurfacesDeformation.h:74
TwoBowedSurfacesDeformation::add
bool add(const SurfaceDeformation &other) override
Definition:
TwoBowedSurfacesDeformation.cc:98
TwoBowedSurfacesDeformation::parameterSize
static unsigned int parameterSize()
Definition:
TwoBowedSurfacesDeformation.h:66
parameters
parameters
Definition:
BeamSpot_PayloadInspector.cc:14
SurfaceDeformation.h
Topology::LocalTrackAngles
Definition:
Topology.h:46
TwoBowedSurfacesDeformation::parameters
std::vector< double > parameters() const override
parameters - see constructor for meaning
Definition:
TwoBowedSurfacesDeformation.cc:125
constexpr
#define constexpr
Definition:
GCC11Compatibility.h:35
Generated for CMSSW Reference Manual by
1.8.11