#include <AlignableSurface.h>
Public Member Functions | |
AlignableSurface (const Plane &surface) | |
Constructor to set surface from geometry. More... | |
AlignableSurface (const align::PositionType &=PositionType(), const align::RotationType &=RotationType()) | |
Constructor to set position and rotation; width and length default to 0. More... | |
align::Scalar | length () const |
void | setLength (align::Scalar length) |
void | setWidth (align::Scalar width) |
align::GlobalPoints | toGlobal (const align::LocalPoints &) const |
Return in global coord given a set of local points. More... | |
align::RotationType | toGlobal (const align::RotationType &) const |
Return in global frame a rotation given in local frame. More... | |
align::EulerAngles | toGlobal (const align::EulerAngles &) const |
Return in global coord given Euler angles in local coord. More... | |
align::RotationType | toLocal (const align::RotationType &) const |
Return in local frame a rotation given in global frame. More... | |
align::EulerAngles | toLocal (const align::EulerAngles &) const |
Return in local coord given Euler angles in global coord. More... | |
align::Scalar | width () const |
Public Member Functions inherited from GloballyPositioned< align::Scalar > | |
align::Scalar | eta () const |
GloballyPositioned () | |
GloballyPositioned (const PositionType &pos, const RotationType &rot) | |
void | move (const GlobalVector &displacement) |
align::Scalar | phi () const |
const PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Private Attributes | |
align::Scalar | theLength |
align::Scalar | theWidth |
Additional Inherited Members | |
Public Types inherited from GloballyPositioned< align::Scalar > | |
typedef Point3DBase < align::Scalar, GlobalTag > | GlobalPoint |
typedef Vector3DBase < align::Scalar, GlobalTag > | GlobalVector |
typedef Point3DBase < align::Scalar, LocalTag > | LocalPoint |
typedef Vector3DBase < align::Scalar, LocalTag > | LocalVector |
typedef Point3DBase < align::Scalar, GlobalTag > | PositionType |
typedef TkRotation< align::Scalar > | RotationType |
typedef align::Scalar | Scalar |
Static Public Member Functions inherited from GloballyPositioned< align::Scalar > | |
static align::Scalar | iniEta () |
static align::Scalar | iniPhi () |
A class to hold a surface with width and length for alignment purposes.
Definition at line 20 of file AlignableSurface.h.
AlignableSurface::AlignableSurface | ( | const Plane & | surface | ) |
Constructor to set surface from geometry.
AlignableSurface::AlignableSurface | ( | const align::PositionType & | = PositionType() , |
const align::RotationType & | = RotationType() |
||
) |
Constructor to set position and rotation; width and length default to 0.
|
inline |
Definition at line 38 of file AlignableSurface.h.
References theLength.
Referenced by TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), TwoBowedSurfacesAlignmentParameters::apply(), Vispa.Views.LineDecayView.DecayLine::arrowBoundingRect(), BowedSurfaceAlignmentParameters::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), PedeSteererWeakModeConstraints::getDoubleSensorPosition(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::initBowedRigid(), Vispa.Views.LineDecayView.DecayLine::labelBoundingRect(), Vispa.Views.LineDecayView.DecayLine::paint(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), BowedSurfaceAlignmentParameters::rotation(), CreateSurveyRcds::setGeometry(), setLength(), and SurveyDet::SurveyDet().
|
inline |
Definition at line 42 of file AlignableSurface.h.
References length(), and theLength.
Referenced by TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), and AlignmentProducer::addSurveyInfo_().
|
inline |
Definition at line 40 of file AlignableSurface.h.
References theWidth, and width().
Referenced by TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), and AlignmentProducer::addSurveyInfo_().
GlobalPoints AlignableSurface::toGlobal | ( | const align::LocalPoints & | localPoints | ) | const |
Return in global coord given a set of local points.
Definition at line 22 of file AlignableSurface.cc.
References j.
Referenced by AlignableDet::addAlignmentPositionErrorFromRotation(), AlignableDetUnit::addAlignmentPositionErrorFromRotation(), MillePedeAlignmentAlgorithm::addPxbSurvey(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyInputCSCfromPins::analyze(), MuonGeometrySVGTemplate::analyze(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), BowedSurfaceAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), CSCAlignmentCorrections::applyAlignment(), KalmanAlignmentAlgorithm::applyAlignmentParameters(), SurveyResidual::calculate(), PedeSteererWeakModeConstraints::constructConstraints(), align::createPoints(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), AlignableBeamSpot::dump(), PedeSteererWeakModeConstraints::getDoubleSensorPosition(), MuonChamberResidual::global_stubpos(), MuonChamberResidual::global_trackpos(), BeamSpotAlignmentParameters::globalParameters(), RigidBodyAlignmentParameters::globalParameters(), SurveyDet::globalPoints(), KalmanAlignmentUserVariables::histogramParameters(), ParametersToParametersDerivatives::init2BowedRigid(), AlignableModifier::moveAlignableLocal(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), CreateSurveyRcds::setGeometry(), SurveyAlignment::shiftSensors(), AlignmentProducer::simpleMisalignment_(), toGlobal(), and KalmanAlignmentUserVariables::update().
align::RotationType AlignableSurface::toGlobal | ( | const align::RotationType & | ) | const |
Return in global frame a rotation given in local frame.
EulerAngles AlignableSurface::toGlobal | ( | const align::EulerAngles & | angles | ) | const |
Return in global coord given Euler angles in local coord.
Definition at line 43 of file AlignableSurface.cc.
References align::toAngles(), toGlobal(), and align::toMatrix().
align::RotationType AlignableSurface::toLocal | ( | const align::RotationType & | ) | const |
Return in local frame a rotation given in global frame.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), MillePedeAlignmentAlgorithm::addPxbSurvey(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), SurveyInputCSCfromPins::analyze(), align::diffAlignables(), RigidBodyAlignmentParameters::displacementFromAlignable(), KalmanAlignmentUserVariables::extractTrueParameters(), MuonGeometryArrange::fillTree(), operator<<(), SurveyResidual::pointsResidual(), SurveyResidual::sensorResidual(), and toLocal().
EulerAngles AlignableSurface::toLocal | ( | const align::EulerAngles & | angles | ) | const |
Return in local coord given Euler angles in global coord.
Definition at line 53 of file AlignableSurface.cc.
References align::toAngles(), toLocal(), and align::toMatrix().
|
inline |
Definition at line 36 of file AlignableSurface.h.
References theWidth.
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), MuonGeometrySVGTemplate::analyze(), TwoBowedSurfacesAlignmentParameters::apply(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), BowedSurfaceAlignmentParameters::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::initBowedRigid(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), BowedSurfaceAlignmentParameters::rotation(), Vispa.Views.PropertyView.PropertyView::sectionResized(), setWidth(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), SurveyDet::SurveyDet(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
|
private |
Definition at line 75 of file AlignableSurface.h.
Referenced by length(), and setLength().
|
private |
Definition at line 74 of file AlignableSurface.h.
Referenced by setWidth(), and width().