#include <AlignableSurface.h>
Public Member Functions | |
AlignableSurface (const BoundPlane &surface) | |
Constructor to set surface from geometry. | |
AlignableSurface (const align::PositionType &=PositionType(), const align::RotationType &=RotationType()) | |
Constructor to set position and rotation; width and length default to 0. | |
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. | |
align::RotationType | toGlobal (const align::RotationType &) const |
Return in global frame a rotation given in local frame. | |
align::EulerAngles | toGlobal (const align::EulerAngles &) const |
Return in global coord given Euler angles in local coord. | |
align::EulerAngles | toLocal (const align::EulerAngles &) const |
Return in local coord given Euler angles in global coord. | |
align::RotationType | toLocal (const align::RotationType &) const |
Return in local frame a rotation given in global frame. | |
align::Scalar | width () const |
Private Attributes | |
align::Scalar | theLength |
align::Scalar | theWidth |
A class to hold a surface with width and length for alignment purposes.
Definition at line 20 of file AlignableSurface.h.
AlignableSurface::AlignableSurface | ( | const BoundPlane & | surface | ) |
AlignableSurface::AlignableSurface | ( | const align::PositionType & | = PositionType() , |
const align::RotationType & | = RotationType() |
||
) |
Constructor to set position and rotation; width and length default to 0.
align::Scalar AlignableSurface::length | ( | ) | const [inline] |
Definition at line 38 of file AlignableSurface.h.
References theLength.
Referenced by TrackerGeometryCompare::addSurveyInfo(), AlignmentProducer::addSurveyInfo_(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TwoBowedSurfacesAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::derivatives(), BowedSurfaceAlignmentParameters::derivatives(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::initBowedRigid(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals6DOFFitter::plot(), MuonResiduals5DOFFitter::plot(), BowedSurfaceAlignmentParameters::rotation(), CreateSurveyRcds::setGeometry(), setLength(), and SurveyDet::SurveyDet().
{ return theLength; }
void AlignableSurface::setLength | ( | align::Scalar | length | ) | [inline] |
Definition at line 42 of file AlignableSurface.h.
References length(), and theLength.
Referenced by TrackerGeometryCompare::addSurveyInfo(), AlignmentProducer::addSurveyInfo_(), and MuonAlignmentInputSurveyDB::addSurveyInfo_().
void AlignableSurface::setWidth | ( | align::Scalar | width | ) | [inline] |
Definition at line 40 of file AlignableSurface.h.
References theWidth, and width().
Referenced by TrackerGeometryCompare::addSurveyInfo(), AlignmentProducer::addSurveyInfo_(), and MuonAlignmentInputSurveyDB::addSurveyInfo_().
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().
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 AlignableDetUnit::addAlignmentPositionErrorFromRotation(), AlignableDet::addAlignmentPositionErrorFromRotation(), MillePedeAlignmentAlgorithm::addPxbSurvey(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyInputCSCfromPins::analyze(), MuonGeometrySVGTemplate::analyze(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), BowedSurfaceAlignmentParameters::apply(), CSCAlignmentCorrections::applyAlignment(), KalmanAlignmentAlgorithm::applyAlignmentParameters(), SurveyResidual::calculate(), align::createPoints(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), AlignableBeamSpot::dump(), RigidBodyAlignmentParameters::globalParameters(), BeamSpotAlignmentParameters::globalParameters(), SurveyDet::globalPoints(), KalmanAlignmentUserVariables::histogramParameters(), ParametersToParametersDerivatives::init2BowedRigid(), AlignableModifier::moveAlignableLocal(), 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.
align::RotationType AlignableSurface::toLocal | ( | const align::RotationType & | ) | const |
Return in local frame a rotation given in global frame.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), MillePedeAlignmentAlgorithm::addPxbSurvey(), 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().
align::Scalar AlignableSurface::width | ( | ) | const [inline] |
Definition at line 36 of file AlignableSurface.h.
References theWidth.
Referenced by TrackerGeometryCompare::addSurveyInfo(), AlignmentProducer::addSurveyInfo_(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), MuonGeometrySVGTemplate::analyze(), TwoBowedSurfacesAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::derivatives(), BowedSurfaceAlignmentParameters::derivatives(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::initBowedRigid(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals6DOFFitter::plot(), MuonResiduals5DOFFitter::plot(), BowedSurfaceAlignmentParameters::rotation(), setWidth(), and SurveyDet::SurveyDet().
{ return theWidth; }
align::Scalar AlignableSurface::theLength [private] |
Definition at line 75 of file AlignableSurface.h.
Referenced by length(), and setLength().
align::Scalar AlignableSurface::theWidth [private] |
Definition at line 74 of file AlignableSurface.h.
Referenced by setWidth(), and width().