#include <ParametersToParametersDerivatives.h>
Public Member Functions | |
bool | isOK () const |
Indicate whether able to provide the derivatives. More... | |
double | operator() (unsigned int indParMother, unsigned int indParComp) const |
ParametersToParametersDerivatives (const Alignable &component, const Alignable &mother) | |
Private Types | |
typedef ROOT::Math::SMatrix < double, 6, 9, ROOT::Math::MatRepStd < double, 6, 9 > > | AlgebraicMatrix69 |
Private Member Functions | |
AlgebraicMatrix69 | dBowed_dRigid (const AlgebraicMatrix66 &f2f, double halfWidth, double halfLength) const |
bool | init (const Alignable &component, int typeComponent, const Alignable &mother, int typeMother) |
init by choosing the correct detailed init method depending on parameter types More... | |
bool | init2BowedRigid (const Alignable &component, const Alignable &mother) |
init for component with TwoBowedSurfaces and mother with RigidBody parameters More... | |
bool | initBowedRigid (const Alignable &component, const Alignable &mother) |
init for component with BowedSurface and mother with RigidBody parameters More... | |
bool | initRigidRigid (const Alignable &component, const Alignable &mother) |
init for component and mother both with RigidBody parameters More... | |
Private Attributes | |
TMatrixD | derivatives_ |
can we provide the desired? More... | |
bool | isOK_ |
data members More... | |
Class for calculating derivatives for hierarchies between different kind of alignment parameters (note that not all combinations might be supported!), needed e.g. to formulate constraints to remove the additional degrees of freedom introduced if larger structure and their components are aligned simultaneously.
(last update by
)
Definition at line 21 of file ParametersToParametersDerivatives.h.
|
private |
Definition at line 47 of file ParametersToParametersDerivatives.h.
ParametersToParametersDerivatives::ParametersToParametersDerivatives | ( | const Alignable & | component, |
const Alignable & | mother | ||
) |
Definition at line 24 of file ParametersToParametersDerivatives.cc.
References Alignable::alignmentParameters(), init, and AlignmentParameters::type().
|
private |
Definition at line 146 of file ParametersToParametersDerivatives.cc.
Referenced by init2BowedRigid(), and initBowedRigid().
|
private |
init by choosing the correct detailed init method depending on parameter types
Definition at line 34 of file ParametersToParametersDerivatives.cc.
References init2BowedRigid(), initBowedRigid(), initRigidRigid(), AlignmentParametersFactory::kBowedSurface, AlignmentParametersFactory::kRigidBody, AlignmentParametersFactory::kRigidBody4D, AlignmentParametersFactory::kTwoBowedSurfaces, AlignmentParametersFactory::parametersType(), and AlignmentParametersFactory::parametersTypeName().
|
private |
init for component with TwoBowedSurfaces and mother with RigidBody parameters
Definition at line 92 of file ParametersToParametersDerivatives.cc.
References Alignable::alignmentParameters(), dBowed_dRigid(), derivatives_, Alignable::globalPosition(), Alignable::globalRotation(), AlignableSurface::length(), Alignable::surface(), AlignableSurface::toGlobal(), AlignableSurface::width(), and TwoBowedSurfacesAlignmentParameters::ySplit().
Referenced by init().
|
private |
init for component with BowedSurface and mother with RigidBody parameters
Definition at line 74 of file ParametersToParametersDerivatives.cc.
References dBowed_dRigid(), derivatives_, FrameToFrameDerivative::frameToFrameDerivative(), AlignableSurface::length(), m, Alignable::surface(), and AlignableSurface::width().
Referenced by init().
|
private |
init for component and mother both with RigidBody parameters
Definition at line 59 of file ParametersToParametersDerivatives.cc.
References derivatives_, FrameToFrameDerivative::frameToFrameDerivative(), and m.
Referenced by init().
|
inline |
Indicate whether able to provide the derivatives.
Definition at line 27 of file ParametersToParametersDerivatives.h.
References isOK_.
Referenced by AlignmentParameterStore::hierarchyConstraints().
double ParametersToParametersDerivatives::operator() | ( | unsigned int | indParMother, |
unsigned int | indParComp | ||
) | const |
Return the derivative DeltaParam(object)/DeltaParam(composedobject), indices start with 0. But check isOK() first!
Definition at line 183 of file ParametersToParametersDerivatives.cc.
References derivatives_.
|
private |
can we provide the desired?
Definition at line 53 of file ParametersToParametersDerivatives.h.
Referenced by init2BowedRigid(), initBowedRigid(), initRigidRigid(), and operator()().
|
private |
data members
Definition at line 52 of file ParametersToParametersDerivatives.h.
Referenced by isOK().