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