![]() |
![]() |
#include <TwoBowedSurfacesDeformation.h>
Public Member Functions | |
virtual bool | add (const SurfaceDeformation &other) |
virtual TwoBowedSurfacesDeformation * | clone () const |
virtual std::vector< double > | parameters () const |
parameters - see constructor for meaning More... | |
virtual Local2DVector | positionCorrection (const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const |
TwoBowedSurfacesDeformation (const std::vector< double > ¶meters) | |
virtual int | type () const |
specific type, i.e. SurfaceDeformationFactory::kTwoBowedSurfaces 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 | |
std::vector< double > | theParameters |
Additional Inherited Members | |
![]() | |
typedef Topology::Local2DPoint | Local2DPoint |
typedef Vector2DBase< double, LocalTag > | Local2DVector |
typedef Topology::LocalTrackAngles | LocalTrackAngles |
TwoBowedSurfacesAlignmentParameters
Class to apply corrections to local positions resulting from two surfaces chained in local y. Possible 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. In addition store relative shifts and rotations of the two surfaces.
(last update by
)
Definition at line 25 of file TwoBowedSurfacesDeformation.h.
TwoBowedSurfacesDeformation::TwoBowedSurfacesDeformation | ( | const std::vector< double > & | pars | ) |
Constructor from vector of parameters, its size() must be between minParameterSize() and maxParameterSize(). The parameters are (in that order)
(last update by
)
Definition at line 16 of file TwoBowedSurfacesDeformation.cc.
References minParameterSize(), and theParameters.
Referenced by clone().
|
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 98 of file TwoBowedSurfacesDeformation.cc.
References i, LogDebug, SurfaceDeformation::parameters(), theParameters, SurfaceDeformation::type(), and type().
|
virtual |
Implements SurfaceDeformation.
Definition at line 28 of file TwoBowedSurfacesDeformation.cc.
References theParameters, and TwoBowedSurfacesDeformation().
|
inlinestatic |
maximum size of vector that is accepted by constructor from vector
Definition at line 73 of file TwoBowedSurfacesDeformation.h.
Referenced by SurfaceDeformationFactory::create().
|
inlinestatic |
minimum size of vector that is accepted by constructor from vector
Definition at line 71 of file TwoBowedSurfacesDeformation.h.
Referenced by SurfaceDeformationFactory::create(), and TwoBowedSurfacesDeformation().
|
virtual |
parameters - see constructor for meaning
Implements SurfaceDeformation.
Definition at line 121 of file TwoBowedSurfacesDeformation.cc.
References theParameters.
Referenced by positionCorrection().
|
virtual |
correction to add to local position depending on
Implements SurfaceDeformation.
Definition at line 41 of file TwoBowedSurfacesDeformation.cc.
References Topology::LocalTrackAngles::dxdz(), Topology::LocalTrackAngles::dydz(), parameters(), tablePrinter::width, 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::kTwoBowedSurfaces
Implements SurfaceDeformation.
Definition at line 34 of file TwoBowedSurfacesDeformation.cc.
References SurfaceDeformationFactory::kTwoBowedSurfaces.
Referenced by add().
|
private |
Definition at line 77 of file TwoBowedSurfacesDeformation.h.
Referenced by add(), clone(), parameters(), and TwoBowedSurfacesDeformation().