1 #ifndef Alignment_CommonAlignment_AlignableDetUnit_H
2 #define Alignment_CommonAlignment_AlignableDetUnit_H
65 void dump()
const override;
void dump() const override
Printout information about GeomDet.
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
Cache< SurfaceDeformation * > surfaceDeformationsCache_
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
StructureType alignableObjectId() const override
Return the alignable type identifier.
void setSurfaceDeformation(const SurfaceDeformation *deformation, bool) final
Set surface deformation parameters (2nd argument without effect)
SurfaceDeformation * theCachedSurfaceDeformation
static const Alignables emptyComponents_
void update(const GeomDetUnit *geomDetUnit)
const RotationType & rotation() const
Return change of orientation since the creation of the object.
~AlignableDetUnit() override
Destructor.
AlignableDetUnit(const GeomDetUnit *geomDetUnit)
Constructor from GeomDetUnit - must not be NULL pointer!
void cacheTransformation() override
cache the current position, rotation and other parameters (e.g. surface deformations) ...
void addComponent(Alignable *) final
No components here => exception!
void setAlignmentPositionError(const AlignmentPositionError &ape, bool) final
Set the AlignmentPositionError (no components => second argument ignored)
const Alignables & components() const override
Returns a null vector (no components here)
void addAlignmentPositionError(const AlignmentPositionError &ape, bool) final
void recursiveComponents(Alignables &result) const override
Do nothing (no components here, so no subcomponents either...)
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
int surfaceDeformationIdPairs(std::vector< std::pair< int, SurfaceDeformation * > > &) const override
Return surface deformations.
align::RotationType RotationType
void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool) final
void addAlignmentPositionErrorFromLocalRotation(const RotationType &rot, bool) final
AlignmentPositionError * theAlignmentPositionError
void addSurfaceDeformation(const SurfaceDeformation *deformation, bool) final
Add surface deformation parameters to the existing ones (2nd argument without effect) ...
void move(const GlobalVector &displacement) override
Move with respect to the global reference frame.
void rotateInGlobalFrame(const RotationType &rotation) override
Rotation with respect to the global reference frame.
Alignments * alignments() const override
Return vector of alignment data.
SurfaceDeformation * theSurfaceDeformation
align::Alignables Alignables
cond::RealTimeType< cond::runnumber >::type RunNumber
void restoreCachedTransformation() override
restore the previously cached transformation