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