#include <BowedSurfaceDeformation.h>
Public Member Functions | |
virtual bool | add (const SurfaceDeformation &other) |
BowedSurfaceDeformation (double sagittaX, double sagittaXY, double sagittaY) | |
constructor from sagittae, i.e. coefficients of Legendre polynomials More... | |
BowedSurfaceDeformation (const std::vector< double > ¶meters) | |
virtual BowedSurfaceDeformation * | clone () const |
virtual std::vector< double > | parameters () const |
parameters, i.e. sagittae as given in the constructor More... | |
virtual Local2DVector | positionCorrection (const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const |
virtual int | type () const |
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... | |
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.
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().
|
virtual |
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(), theSagittaX, theSagittaXY, theSagittaY, SurfaceDeformation::type(), and type().
Referenced by counter.Counter::register().
|
virtual |
Implements SurfaceDeformation.
Definition at line 26 of file BowedSurfaceDeformation.cc.
References BowedSurfaceDeformation(), theSagittaX, theSagittaXY, and theSagittaY.
|
inlinestatic |
maximum size of vector that is accepted by constructor from vector
Definition at line 57 of file BowedSurfaceDeformation.h.
Referenced by SurfaceDeformationFactory::create().
|
inlinestatic |
minimum size of vector that is accepted by constructor from vector
Definition at line 55 of file BowedSurfaceDeformation.h.
Referenced by BowedSurfaceDeformation(), and SurfaceDeformationFactory::create().
|
virtual |
parameters, i.e. sagittae as given in the constructor
Implements SurfaceDeformation.
Definition at line 89 of file BowedSurfaceDeformation.cc.
References query::result, theSagittaX, theSagittaXY, and theSagittaY.
|
virtual |
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().
|
virtual |
specific type, i.e. SurfaceDeformationFactory::kBowedSurface
Implements SurfaceDeformation.
Definition at line 32 of file BowedSurfaceDeformation.cc.
References SurfaceDeformationFactory::kBowedSurface.
Referenced by cuy.ValElement::__init__(), and add().
|
private |
Definition at line 60 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().
|
private |
Definition at line 62 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().
|
private |
Definition at line 61 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().