#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... | |
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 |
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.
(last update by
)
Definition at line 23 of file BowedSurfaceDeformation.h.
|
inline |
constructor from sagittae, i.e. coefficients of Legendre polynomials
Definition at line 27 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()
(last update by
)
Definition at line 16 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 78 of file BowedSurfaceDeformation.cc.
References SurfaceDeformation::parameters(), theSagittaX, theSagittaXY, theSagittaY, SurfaceDeformation::type(), and type().
|
virtual |
Implements SurfaceDeformation.
Definition at line 29 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 60 of file BowedSurfaceDeformation.h.
Referenced by SurfaceDeformationFactory::create().
|
inlinestatic |
minimum size of vector that is accepted by constructor from vector
Definition at line 58 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 95 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 42 of file BowedSurfaceDeformation.cc.
References Topology::LocalTrackAngles::dxdz(), Topology::LocalTrackAngles::dydz(), theSagittaX, theSagittaXY, theSagittaY, PV2DBase< T, PVType, FrameType >::x(), ExpressReco_HICollisions_FallBack::x, PV2DBase< T, PVType, FrameType >::y(), and ExpressReco_HICollisions_FallBack::y.
|
virtual |
specific type, i.e. SurfaceDeformationFactory::kBowedSurface
Implements SurfaceDeformation.
Definition at line 35 of file BowedSurfaceDeformation.cc.
References SurfaceDeformationFactory::kBowedSurface.
Referenced by add().
|
private |
Definition at line 63 of file BowedSurfaceDeformation.h.
Referenced by add(), clone(), parameters(), and positionCorrection().
|
private |
Definition at line 64 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().