#include <DetPositioner.h>
Public Member Functions | |
virtual | ~DetPositioner () |
Protected Member Functions | |
void | moveGeomDet (GeomDet &det, const GlobalVector &displacement) |
void | rotateGeomDet (GeomDet &det, const Surface::RotationType &rotation) |
void | setAlignmentPositionError (GeomDet &det, const AlignmentPositionError &ape) |
void | setGeomDetPosition (GeomDet &det, const Surface::PositionType &position, const Surface::RotationType &rotation) |
void | setSurfaceDeformation (GeomDetUnit &detUnit, const SurfaceDeformation *deformation) |
Definition at line 12 of file DetPositioner.h.
virtual DetPositioner::~DetPositioner | ( | ) | [inline, virtual] |
Definition at line 15 of file DetPositioner.h.
{}
void DetPositioner::moveGeomDet | ( | GeomDet & | det, |
const GlobalVector & | displacement | ||
) | [inline, protected] |
Definition at line 19 of file DetPositioner.h.
References GeomDet::move().
{ det.move( displacement); }
void DetPositioner::rotateGeomDet | ( | GeomDet & | det, |
const Surface::RotationType & | rotation | ||
) | [inline, protected] |
Relative rotation (with respect to current orientation) Does not move components (if any).
Definition at line 27 of file DetPositioner.h.
References svgfig::rotate().
{ det. rotate( rotation); }
void DetPositioner::setAlignmentPositionError | ( | GeomDet & | det, |
const AlignmentPositionError & | ape | ||
) | [inline, protected] |
create the AlignmentPositionError for this Det if not existing yet, or replace the existing one by the given one. For adding, use the +=,-= methods of the AlignmentPositionError Does not affect the AlignmentPositionError of components (if any).
Definition at line 46 of file DetPositioner.h.
References GeomDet::setAlignmentPositionError().
Referenced by GeometryAligner::applyAlignments().
{ det.setAlignmentPositionError( ape); }
void DetPositioner::setGeomDetPosition | ( | GeomDet & | det, |
const Surface::PositionType & | position, | ||
const Surface::RotationType & | rotation | ||
) | [inline, protected] |
Replaces the current position and rotation with new ones; actually replaces the surface with a new surface. Does not move components (if any).
Definition at line 35 of file DetPositioner.h.
References GeomDet::setPosition().
Referenced by GeometryAligner::applyAlignments().
{ det.setPosition( position, rotation); }
void DetPositioner::setSurfaceDeformation | ( | GeomDetUnit & | detUnit, |
const SurfaceDeformation * | deformation | ||
) | [inline, protected] |
set the SurfaceDeformation for this DetUnit. Does not affect the SurfaceDeformation of components (if any).
Definition at line 54 of file DetPositioner.h.
References GeomDetUnit::setSurfaceDeformation().
Referenced by GeometryAligner::attachSurfaceDeformations().
{ detUnit.setSurfaceDeformation( deformation ); }