#include <Geometry/CommonDetUnit/interface/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) |
Relative rotation (with respect to current orientation) Does not move components (if any). | |
void | setAlignmentPositionError (GeomDet &det, const AlignmentPositionError &ape) |
create the AlignmentPositionError for this Det if not existing yet, or replace the existing one by the given one. | |
void | setGeomDetPosition (GeomDet &det, const Surface::PositionType &position, const Surface::RotationType &rotation) |
Replaces the current position and rotation with new ones; actually replaces the surface with a new surface. |
Definition at line 12 of file DetPositioner.h.
virtual DetPositioner::~DetPositioner | ( | ) | [inline, virtual] |
void DetPositioner::moveGeomDet | ( | GeomDet & | det, | |
const GlobalVector & | displacement | |||
) | [inline, protected] |
Definition at line 19 of file DetPositioner.h.
References GeomDet::move().
00019 { 00020 det.move( displacement); 00021 }
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.
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().
00047 { 00048 det.setAlignmentPositionError( ape); 00049 }
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().
00037 { 00038 det.setPosition( position, rotation); 00039 }