#include <BowedSurfaceDeformation.h>
Public Member Functions | |
bool | add (const SurfaceDeformation &other) override |
BowedSurfaceDeformation (double sagittaX, double sagittaXY, double sagittaY) | |
constructor from sagittae, i.e. coefficients of Legendre polynomials More... | |
BowedSurfaceDeformation (const std::vector< double > ¶meters) | |
BowedSurfaceDeformation * | clone () const override |
std::vector< double > | parameters () const override |
parameters, i.e. sagittae as given in the constructor More... | |
Local2DVector | positionCorrection (const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const override |
int | type () const override |
specific type, i.e. SurfaceDeformationFactory::kBowedSurface More... | |
Public Member Functions inherited from SurfaceDeformation | |
virtual | ~SurfaceDeformation () |
Static Public Member Functions | |
static unsigned int | maxParameterSize () |
maximum size of vector that is accepted by constructor from vector More... | |
static unsigned int | minParameterSize () |
minimum size of vector that is accepted by constructor from vector More... | |
static unsigned int | parameterSize () |
Static Public Attributes | |
static unsigned int | parSize = 3 |
Private Attributes | |
double | theSagittaX |
double | theSagittaXY |
double | theSagittaY |
Additional Inherited Members | |
Public Types inherited from SurfaceDeformation | |
typedef Topology::Local2DPoint | Local2DPoint |
typedef Vector2DBase< double, LocalTag > | Local2DVector |
typedef Topology::LocalTrackAngles | LocalTrackAngles |
typedef Topology::MathVector2D | MathVector2D |
typedef Topology::Vector2D | Vector2D |
BowedSurfaceAlignmentParameters
Class to apply corrections to local positions resulting from a non-planar surface. The bows are parametrised using Legendre polynomials up to second order, excluding 0th and 1st order that are already treated by local w shift and rotations around local u and v axes.
Definition at line 20 of file BowedSurfaceDeformation.h.
|
inline |
constructor from sagittae, i.e. coefficients of Legendre polynomials
Definition at line 24 of file BowedSurfaceDeformation.h.
References add(), clone(), trackingPlots::other, parameters(), positionCorrection(), type(), and ApeEstimator_cff::width.
Referenced by clone().
BowedSurfaceDeformation::BowedSurfaceDeformation | ( | const std::vector< double > & | pars | ) |
constructor from vector of sagittae, parameters.size() must be between minParameterSize() and maxParameterSize()
Definition at line 13 of file BowedSurfaceDeformation.cc.
References minParameterSize().
|
overridevirtual |
update information with parameters of 'other', false in case the type or some parameters do not match and thus the information cannot be used (then no changes are done), true if merge was successful
Implements SurfaceDeformation.
Definition at line 72 of file BowedSurfaceDeformation.cc.
References SurfaceDeformation::parameters(), parameterSize(), theSagittaX, theSagittaXY, theSagittaY, SurfaceDeformation::type(), and type().
Referenced by BowedSurfaceDeformation(), and counter.Counter::register().
|
overridevirtual |
Implements SurfaceDeformation.
Definition at line 26 of file BowedSurfaceDeformation.cc.
References BowedSurfaceDeformation(), theSagittaX, theSagittaXY, and theSagittaY.
Referenced by BowedSurfaceDeformation().
|
inlinestatic |
maximum size of vector that is accepted by constructor from vector
Definition at line 61 of file BowedSurfaceDeformation.h.
References parameterSize().
Referenced by SurfaceDeformationFactory::create().
|
inlinestatic |
minimum size of vector that is accepted by constructor from vector
Definition at line 59 of file BowedSurfaceDeformation.h.
References parameterSize().
Referenced by BowedSurfaceDeformation(), and SurfaceDeformationFactory::create().
|
overridevirtual |
parameters, i.e. sagittae as given in the constructor
Implements SurfaceDeformation.
Definition at line 89 of file BowedSurfaceDeformation.cc.
References parameterSize(), mps_fire::result, theSagittaX, theSagittaXY, and theSagittaY.
Referenced by BowedSurfaceDeformation().
|
inlinestatic |
Definition at line 56 of file BowedSurfaceDeformation.h.
References parSize.
Referenced by add(), maxParameterSize(), minParameterSize(), and parameters().
|
overridevirtual |
correction to add to local position depending on
Implements SurfaceDeformation.
Definition at line 39 of file BowedSurfaceDeformation.cc.
References theSagittaX, theSagittaXY, theSagittaY, PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
Referenced by BowedSurfaceDeformation().
|
overridevirtual |
specific type, i.e. SurfaceDeformationFactory::kBowedSurface
Implements SurfaceDeformation.
Definition at line 32 of file BowedSurfaceDeformation.cc.
References SurfaceDeformationFactory::kBowedSurface.
Referenced by add(), and BowedSurfaceDeformation().
|
static |
Definition at line 55 of file BowedSurfaceDeformation.h.
Referenced by parameterSize().
|
private |
Definition at line 64 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().
|
private |
Definition at line 66 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().
|
private |
Definition at line 65 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().