#include <Alignable.h>
Public Types | |
typedef align::Alignables | Alignables |
typedef align::GlobalVector | GlobalVector |
typedef align::LocalVector | LocalVector |
typedef align::PositionType | PositionType |
typedef align::RotationType | RotationType |
typedef align::Scalar | Scalar |
typedef align::StructureType | StructureType |
Public Member Functions | |
virtual void | addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown)=0 |
virtual void | addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown)=0 |
virtual void | addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown)=0 |
virtual void | addComponent (Alignable *)=0 |
virtual void | addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown)=0 |
Alignable (align::ID, const AlignableSurface &) | |
Alignable (align::ID, const RotationType &) | |
virtual StructureType | alignableObjectId () const =0 |
Return the alignable type identifier. More... | |
virtual AlignmentErrorsExtended * | alignmentErrors () const =0 |
Return vector of alignment errors. More... | |
AlignmentParameters * | alignmentParameters () const |
Get the AlignmentParameters. More... | |
virtual Alignments * | alignments () const =0 |
Return vector of alignment data. More... | |
virtual void | cacheTransformation () |
cache the current position, rotation and other parameters (e.g. surface deformations), also for possible components More... | |
virtual Alignables | components () const =0 |
Return vector of all direct components. More... | |
const Alignables & | deepComponents () const |
const GlobalVector & | displacement () const |
Return change of the global position since the creation of the object. More... | |
virtual void | dump () const =0 |
Recursive printout of alignable information. More... | |
bool | firstCompsWithParams (Alignables ¶mComps) const |
const DetId & | geomDetId () const |
const PositionType & | globalPosition () const |
Return the global position of the object. More... | |
const RotationType & | globalRotation () const |
Return the global orientation of the object. More... | |
align::ID | id () const |
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit). More... | |
bool | lastCompsWithParams (Alignables ¶mComps) const |
Alignable * | mother () const |
Return pointer to container alignable (if any) More... | |
virtual void | move (const GlobalVector &displacement)=0 |
Movement with respect to the global reference frame. More... | |
virtual void | recursiveComponents (Alignables &result) const =0 |
virtual void | restoreCachedTransformation () |
restore the previously cached transformation, also for possible components More... | |
virtual void | rotateAroundGlobalAxis (const GlobalVector &axis, Scalar radians) |
Rotation around arbitratry global axis. More... | |
virtual void | rotateAroundGlobalX (Scalar radians) |
Rotation around global x-axis. More... | |
virtual void | rotateAroundGlobalY (Scalar radians) |
Rotation around global y-axis. More... | |
virtual void | rotateAroundGlobalZ (Scalar radians) |
Rotation around global z-axis. More... | |
virtual void | rotateAroundLocalAxis (const LocalVector &axis, Scalar radians) |
Rotation around arbitratry local axis. More... | |
virtual void | rotateAroundLocalX (Scalar radians) |
Rotation around local x-axis. More... | |
virtual void | rotateAroundLocalY (Scalar radians) |
Rotation around local y-axis. More... | |
virtual void | rotateAroundLocalZ (Scalar radians) |
Rotation around local z-axis. More... | |
virtual void | rotateInGlobalFrame (const RotationType &rotation)=0 |
virtual void | rotateInLocalFrame (const RotationType &rotation) |
Rotation intepreted in the local reference frame. More... | |
const RotationType & | rotation () const |
Return change of orientation since the creation of the object. More... | |
void | setAlignmentParameters (AlignmentParameters *dap) |
Set the AlignmentParameters. More... | |
virtual void | setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown)=0 |
Set the alignment position error - if (!propagateDown) do not affect daughters. More... | |
void | setMother (Alignable *mother) |
Assign mother to alignable. More... | |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown)=0 |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More... | |
void | setSurvey (const SurveyDet *) |
Set survey info. More... | |
int | size () const |
Return number of direct components. More... | |
const AlignableSurface & | surface () const |
Return the Surface (global position and orientation) of the object. More... | |
virtual int | surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const =0 |
AlignmentSurfaceDeformations * | surfaceDeformations () const |
Return surface deformations, sorted by DetId. More... | |
const SurveyDet * | survey () const |
Return survey info. More... | |
virtual | ~Alignable () |
Destructor. More... | |
Protected Member Functions | |
void | addDisplacement (const GlobalVector &displacement) |
void | addRotation (const RotationType &rotation) |
Private Member Functions | |
Alignable () | |
private default ctr. to enforce usage of the specialised ones More... | |
Private Attributes | |
AlignmentParameters * | theAlignmentParameters |
Alignable * | theMother |
const SurveyDet * | theSurvey |
Abstract base class for alignable entities. Any Alignable object can be moved and rotated. Also an alignment uncertainty can be set.
(last update by
)
Definition at line 29 of file Alignable.h.
Definition at line 39 of file Alignable.h.
Definition at line 37 of file Alignable.h.
Definition at line 38 of file Alignable.h.
Definition at line 35 of file Alignable.h.
Definition at line 36 of file Alignable.h.
typedef align::Scalar Alignable::Scalar |
Definition at line 34 of file Alignable.h.
Definition at line 40 of file Alignable.h.
Alignable::Alignable | ( | align::ID | id, |
const AlignableSurface & | surf | ||
) |
Constructor from id and surface, setting also geomDetId (AlignableNavigator relies on the fact that only AlignableDet/DetUnit have geomDetId!)
Definition at line 19 of file Alignable.cc.
Alignable::Alignable | ( | align::ID | id, |
const RotationType & | rot | ||
) |
Constructor for a composite with given rotation. Position is found (later) from average of daughters' positions.
Definition at line 31 of file Alignable.cc.
|
virtual |
Destructor.
Definition at line 43 of file Alignable.cc.
References theAlignmentParameters, and theSurvey.
|
inlineprivate |
private default ctr. to enforce usage of the specialised ones
Definition at line 241 of file Alignable.h.
|
pure virtual |
Add (or set if not already present) the AlignmentPositionError, but if (!propagateDown) do not affect daughters
Implemented in AlignableComposite, AlignableBeamSpot, AlignableDetUnit, and AlignableDet.
Referenced by AlignableModifier::addAlignmentPositionError(), AlignableModifier::addAlignmentPositionErrorLocal(), and AlignmentParameterStore::setAlignmentPositionError().
|
pure virtual |
add (or set if not already present) the AlignmentPositionError which would result from a rotation (given in the LOCAL frame of the Alignable) of the alignable object, but if (!propagateDown) do not affect daughters
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by AlignableModifier::addAlignmentPositionErrorFromLocalRotation().
|
pure virtual |
add (or set if not already present) the AlignmentPositionError which would result from a rotation (given in the GLOBAL frame of CMS) of the alignable object, but if (!propagateDown) do not affect daughters
Implemented in AlignableComposite, AlignableBeamSpot, AlignableDetUnit, and AlignableDet.
Referenced by AlignableModifier::addAlignmentPositionErrorFromRotation(), and AlignmentParameterStore::setAlignmentPositionError().
|
pure virtual |
Add a component to alignable (GF: Should be interface in Composite, but needed in AlignableBuilder::build)
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by SurveyInputBase::addComponent(), and PedeSteerer::PedeSteerer().
|
protected |
Definition at line 229 of file Alignable.cc.
References displacement(), and theDisplacement.
Referenced by AlignableSiStripDet::consistifyAlignments(), AlignableDetUnit::move(), AlignableBeamSpot::move(), and AlignableComposite::move().
|
protected |
Definition at line 237 of file Alignable.cc.
References rotation(), and theRotation.
Referenced by AlignableSiStripDet::consistifyAlignments(), AlignableDetUnit::rotateInGlobalFrame(), AlignableBeamSpot::rotateInGlobalFrame(), and AlignableComposite::rotateInGlobalFrame().
|
pure virtual |
Add the surface deformation parameters to the existing ones, if (!propagateDown) do not affect daughters.
Implemented in AlignableBeamSpot, AlignableComposite, and AlignableDetUnit.
Referenced by AlignableModifier::addDeformation(), BowedSurfaceAlignmentParameters::apply(), and TwoBowedSurfacesAlignmentParameters::apply().
|
pure virtual |
Return the alignable type identifier.
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by AlignmentParameterBuilder::add(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), TrackerGeometryCompare::addSurveyInfo(), PCLTrackerAlProducer::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), MomentumDependentPedeLabeler::alignableLabel(), PedeLabeler::alignableLabel(), RunRangeDependentPedeLabeler::alignableLabel(), MomentumDependentPedeLabeler::alignableLabelFromParamAndInstance(), RunRangeDependentPedeLabeler::alignableLabelFromParamAndInstance(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), TrackerSystematicMisalignments::applySystematicMisalignment(), AlignmentMonitorGeneric::book(), TrackerOfflineValidation::bookDirHists(), TrackerOfflineValidation::bookHists(), TrackerOfflineValidation::bookSummaryHists(), PedeSteererWeakModeConstraints::checkMother(), PedeSteererWeakModeConstraints::checkSelectionShiftParameter(), TrackerGeometryCompare::compareGeometries(), PedeSteererWeakModeConstraints::constructConstraints(), align::createPoints(), AlignmentParameterSelector::detUnitDeselected(), align::diffAlignables(), TrackerGeometryCompare::diffCommonTrackerSystem(), HIPAlignmentAlgorithm::fillRoot(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), MuonAlignmentInputXML::getCSCnode(), MuonAlignmentInputXML::getDTnode(), PedeSteererWeakModeConstraints::getFile(), SurveyDBUploader::getSurveyInfo(), PedeSteerer::hierarchyConstraint(), MomentumDependentPedeLabeler::parameterLabel(), RunRangeDependentPedeLabeler::parameterLabel(), TrackerOfflineValidation::prepareSummaryHists(), AlignableDataIORoot::readAbsRaw(), AlignmentParametersIORoot::readOne(), HIPUserVariablesIORoot::readOne(), MillePedeVariablesIORoot::readOne(), AlignableDataIORoot::readRelRaw(), AlignableNavigator::recursiveGetId(), CreateSurveyRcds::setGeometry(), CreateSurveyRcds::setSurveyErrors(), SurveyResidual::SurveyResidual(), AlignmentCorrelationsIORoot::write(), AlignableDataIO::writeAbsPos(), AlignmentParametersIORoot::writeOne(), HIPUserVariablesIORoot::writeOne(), MillePedeVariablesIORoot::writeOne(), AlignableDataIO::writeOrgPos(), and AlignableDataIO::writeRelPos().
|
pure virtual |
Return vector of alignment errors.
Implemented in AlignableTracker, AlignableMuon, AlignableComposite, AlignableBeamSpot, AlignableDetUnit, AlignableDTBarrel, AlignableCSCEndcap, and AlignableDet.
Referenced by SurveyInputTrackerFromDB::analyze().
|
inline |
Get the AlignmentParameters.
Definition at line 57 of file Alignable.h.
References theAlignmentParameters.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), MillePedeAlignmentAlgorithm::addHitCount(), AlignmentParameterStore::alignableFromAlignableDet(), CSCAlignmentCorrections::applyAlignment(), AlignmentParameterStore::applyParameters(), PedeSteerer::buildNoHierarchyCollection(), HIPAlignmentAlgorithm::calcParameters(), PedeReader::checkAliParams(), PedeSteererWeakModeConstraints::checkSelectionShiftParameter(), HIPAlignmentAlgorithm::collector(), PedeSteererWeakModeConstraints::constructConstraints(), PedeSteerer::defineCoordinates(), CompositeAlignmentParameters::derivativesLegacy(), AlignmentCorrelationsStore::fillCorrelationsTable(), AlignmentExtendedCorrelationsStore::fillCorrelationsTable(), HIPAlignmentAlgorithm::fillRoot(), PedeSteerer::fixParameter(), PedeSteererWeakModeConstraints::getDoubleSensorPosition(), MillePedeAlignmentAlgorithm::globalDerivativesHierarchy(), AlignmentParameterStore::hierarchyConstraints(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::ParametersToParametersDerivatives(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), CSCChamberFitter::radiusCorrection(), AlignmentParametersIORoot::readOne(), AlignmentParameterStore::resetParameters(), MuonMillepedeAlgorithm::run(), PedeSteerer::selectCoordinateAlis(), AlignmentParameterStore::selectParameters(), SurveyAlignment::shiftSensors(), PCLTrackerAlProducer::simpleMisalignment(), AlignmentProducer::simpleMisalignment_(), HIPAlignmentAlgorithm::terminate(), MuonMillepedeAlgorithm::terminate(), AlignmentCorrelationsIORoot::write(), AlignableDataIO::writeAbsPos(), AlignmentParametersIORoot::writeOne(), HIPUserVariablesIORoot::writeOne(), MillePedeVariablesIORoot::writeOne(), AlignmentParametersIO::writeOneOrigRigidBody(), AlignableDataIO::writeOrgPos(), and AlignableDataIO::writeRelPos().
|
pure virtual |
Return vector of alignment data.
Implemented in AlignableTracker, AlignableMuon, AlignableComposite, AlignableBeamSpot, AlignableDetUnit, AlignableDTBarrel, AlignableCSCEndcap, AlignableDet, and AlignableSiStripDet.
Referenced by SurveyInputTrackerFromDB::analyze().
|
virtual |
cache the current position, rotation and other parameters (e.g. surface deformations), also for possible components
Reimplemented in AlignableDetUnit.
Definition at line 273 of file Alignable.cc.
References components(), theCachedDisplacement, theCachedRotation, theCachedSurface, theDisplacement, theRotation, and theSurface.
|
pure virtual |
Return vector of all direct components.
Implemented in AlignableMuon, AlignableComposite, AlignableCSCEndcap, AlignableCSCRing, AlignableCSCStation, AlignableDTBarrel, AlignableDTStation, AlignableDTWheel, AlignableBeamSpot, and AlignableDetUnit.
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), TrackerGeometryCompare::addSurveyInfo(), PCLTrackerAlProducer::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), TrackerSystematicMisalignments::applySystematicMisalignment(), TrackerOfflineValidation::bookDirHists(), TrackerOfflineValidation::bookSummaryHists(), cacheTransformation(), MuonGeometryArrange::compare(), MuonGeometryArrange::compareGeometries(), TrackerGeometryCompare::compareGeometries(), align::createPoints(), TrackerGeometryCompare::diffCommonTrackerSystem(), SurveyInputCSCfromPins::fillAllRecords(), SurveyResidual::findSisters(), firstCompsWithParams(), SurveyDBUploader::getSurveyInfo(), MuonGeometryArrange::isMother(), lastCompsWithParams(), MuonGeometryArrange::passChosen(), TrackerOfflineValidation::prepareSummaryHists(), MuonAlignment::recursiveCopySurveyToAlignment(), AlignableNavigator::recursiveGetId(), AlignableMuon::recursiveSetMothers(), restoreCachedTransformation(), CreateSurveyRcds::setGeometry(), CreateSurveyRcds::setSurveyErrors(), and size().
|
inline |
Return the list of lowest daughters (non-composites) of Alignable. Contain itself if Alignable is a unit.
Definition at line 71 of file Alignable.h.
References theDeepComponents.
Referenced by AlignableComposite::addComponent(), TrackerGeometryCompare::createROOTGeometry(), AlignmentStats::endJob(), and SurveyResidual::findSisters().
|
inline |
Return change of the global position since the creation of the object.
Definition at line 140 of file Alignable.h.
References theDisplacement.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), addDisplacement(), BeamSpotAlignmentParameters::displacementFromAlignable(), RigidBodyAlignmentParameters::displacementFromAlignable(), AlignableDetUnit::dump(), operator<<(), SurveyOutput::write(), AlignableDataIO::writeOrgPos(), and AlignableDataIO::writeRelPos().
|
pure virtual |
Recursive printout of alignable information.
Implemented in AlignableComposite, AlignableBeamSpot, AlignableDetUnit, AlignableCSCRing, AlignableCSCStation, AlignableCSCEndcap, AlignableDTBarrel, AlignableDTStation, and AlignableDTWheel.
bool Alignable::firstCompsWithParams | ( | Alignables & | paramComps | ) | const |
Steps down hierarchy until components with AlignmentParameters are found and adds them to argument. True either if no such components are found or if all branches of components end with such components (i.e. 'consistent').
Definition at line 50 of file Alignable.cc.
References components(), and plotBeamSpotDB::first.
Referenced by AlignmentParameters::hierarchyLevel().
|
inline |
Return the DetId of the associated GeomDet (0 by default) This should be removed. Ultimately we need only one ID.
Definition at line 182 of file Alignable.h.
References theDetId.
Referenced by TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignableDet::alignmentErrors(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), TrackerSystematicMisalignments::applySystematicMisalignment(), SurveyResidual::calculate(), MuonGeometryArrange::checkChosen(), TrackerGeometryCompare::compareGeometries(), PedeSteererWeakModeConstraints::constructConstraints(), AlignmentParameterSelector::detUnitDeselected(), SurveyInputCSCfromPins::fillAllRecords(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), AlignableNavigator::recursiveGetId(), AlignableDetUnit::surfaceDeformationIdPairs(), and SurveyResidual::SurveyResidual().
|
inline |
Return the global position of the object.
Definition at line 134 of file Alignable.h.
References GloballyPositioned< T >::position(), and surface().
Referenced by AlignableComposite::addAlignmentPositionErrorFromRotation(), AlignableComposite::addComponent(), AlignableDet::alignments(), AlignableDetUnit::alignments(), AlignableBeamSpot::alignments(), AlignmentParameterStore::applyAlignableAbsolutePositions(), TrackerSystematicMisalignments::applySystematicMisalignment(), SurveyResidual::calculate(), PedeSteererWeakModeConstraints::checkSelectionShiftParameter(), AlignableSiStripDet::consistifyAlignments(), PedeSteererWeakModeConstraints::constructConstraints(), align::diffAlignables(), TrackerGeometryCompare::diffCommonTrackerSystem(), MuonAlignmentInputXML::do_setposition(), AlignableDetUnit::dump(), AlignableBeamSpot::dump(), AlignableComposite::dump(), MillePedeMonitor::fillFrameToFrame(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), MuonResiduals6DOFrphiFitter::fit(), PedeSteerer::fixParameter(), FrameToFrameDerivative::frameToFrameDerivative(), PedeSteerer::hierarchyConstraint(), ParametersToParametersDerivatives::init2BowedRigid(), MuonScenarioBuilder::moveChamberInSector(), operator<<(), AlignmentParameterSelector::outsideGeometricalRanges(), PedeSteerer::PedeSteerer(), MuonAlignment::recursiveCopySurveyToAlignment(), AlignableComposite::rotateInGlobalFrame(), MuonAlignmentInputXML::set_one_position(), TrackerGeometryCompare::setCommonTrackerSystem(), AlignableDataIO::writeOrgPos(), and TwoBowedSurfacesAlignmentParameters::ySplitFromAlignable().
|
inline |
Return the global orientation of the object.
Definition at line 137 of file Alignable.h.
References GloballyPositioned< T >::rotation(), and surface().
Referenced by AlignableDetUnit::addAlignmentPositionErrorFromLocalRotation(), AlignableComposite::addAlignmentPositionErrorFromLocalRotation(), AlignableModifier::addAlignmentPositionErrorLocal(), AlignableDet::alignments(), AlignableDetUnit::alignments(), AlignableBeamSpot::alignments(), AlignmentParameterStore::applyAlignableAbsolutePositions(), SurveyResidual::calculate(), AlignableSiStripDet::consistifyAlignments(), RigidBodyAlignmentParameters::displacementFromAlignable(), BeamSpotAlignmentParameters::displacementFromAlignable(), MuonAlignmentInputXML::do_setposition(), AlignableDetUnit::dump(), AlignableBeamSpot::dump(), AlignableComposite::dump(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), FrameToFrameDerivative::frameToFrameDerivative(), ParametersToParametersDerivatives::init2BowedRigid(), operator<<(), MuonAlignment::recursiveCopySurveyToAlignment(), MuonAlignmentInputXML::set_one_position(), and AlignableDataIO::writeOrgPos().
|
inline |
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
Definition at line 185 of file Alignable.h.
References theId.
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), PCLTrackerAlProducer::addSurveyInfo(), AlignmentProducer::addSurveyInfo_(), MomentumDependentPedeLabeler::alignableLabel(), PedeLabeler::alignableLabel(), RunRangeDependentPedeLabeler::alignableLabel(), MomentumDependentPedeLabeler::alignableLabelFromParamAndInstance(), RunRangeDependentPedeLabeler::alignableLabelFromParamAndInstance(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), AlignmentMonitorSurvey::book(), AlignmentMonitorGeneric::book(), TrackerOfflineValidation::bookHists(), TrackerOfflineValidation::bookSummaryHists(), HIPAlignmentAlgorithm::calcParameters(), MuonGeometryArrange::checkChosen(), PedeSteererWeakModeConstraints::checkMother(), TrackerGeometryCompare::compareGeometries(), align::createPoints(), align::diffAlignables(), HIPAlignmentAlgorithm::fillRoot(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), PedeSteerer::fixParameter(), PedeSteererWeakModeConstraints::getFile(), SurveyDBUploader::getSurveyInfo(), AlignmentParameterSelector::layerDeselected(), AlignmentParameterSelector::outsideDetIdRanges(), MomentumDependentPedeLabeler::parameterLabel(), RunRangeDependentPedeLabeler::parameterLabel(), PedeSteerer::PedeSteerer(), AlignableDataIORoot::readAbsRaw(), AlignmentParametersIORoot::readOne(), HIPUserVariablesIORoot::readOne(), MillePedeVariablesIORoot::readOne(), AlignableDataIORoot::readRelRaw(), HIPAlignmentAlgorithm::run(), CreateSurveyRcds::setGeometry(), CreateSurveyRcds::setSurveyErrors(), HIPAlignmentAlgorithm::terminate(), AlignmentParameterStore::typeAndLayer(), AlignmentCorrelationsIORoot::write(), AlignableDataIO::writeAbsPos(), AlignmentParametersIORoot::writeOne(), HIPUserVariablesIORoot::writeOne(), MillePedeVariablesIORoot::writeOne(), AlignableDataIO::writeOrgPos(), and AlignableDataIO::writeRelPos().
bool Alignable::lastCompsWithParams | ( | Alignables & | paramComps | ) | const |
Steps down hierarchy to the lowest level of components with AlignmentParameters and adds them to argument. True either if no such components are found or if all branches of components end with such components (i.e. 'consistent').
Definition at line 81 of file Alignable.cc.
References components(), and plotBeamSpotDB::first.
|
inline |
Return pointer to container alignable (if any)
Definition at line 90 of file Alignable.h.
References theMother.
Referenced by MillePedeAlignmentAlgorithm::addHitCount(), AlignmentParameterStore::alignableFromAlignableDet(), SurveyInputCSCfromPins::analyze(), PedeSteerer::buildNoHierarchyCollection(), SurveyResidual::calculate(), PedeSteererWeakModeConstraints::checkMother(), MuonGeometryArrange::compareGeometries(), align::createPoints(), MuonAlignmentInputXML::do_setposition(), AlignmentMonitorTemplate::event(), AlignmentMonitorGeneric::event(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), SurveyResidual::findSisters(), MuonAlignmentInputXML::getCSCnode(), MuonAlignmentInputXML::getDTnode(), MillePedeAlignmentAlgorithm::globalDerivativesHierarchy(), PedeSteerer::selectCoordinateAlis(), CreateSurveyRcds::setGeometry(), setMother(), and SurveyResidual::SurveyResidual().
|
pure virtual |
Movement with respect to the global reference frame.
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), SurveyInputCSCfromPins::analyze(), BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), BowedSurfaceAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), TrackerSystematicMisalignments::applySystematicMisalignment(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), PedeSteerer::correctToReferenceSystem(), MuonAlignmentInputXML::do_moveglobal(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), align::moveAlignable(), AlignableModifier::moveAlignable(), MuonAlignment::moveAlignableGlobalCoord(), AlignableModifier::moveAlignableLocal(), MuonAlignment::moveAlignableLocalCoord(), MuonAlignment::recursiveCopySurveyToAlignment(), MuonAlignmentInputXML::set_one_position(), CreateSurveyRcds::setGeometry(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), SurveyAlignment::shiftSensors(), PCLTrackerAlProducer::simpleMisalignment(), AlignmentProducer::simpleMisalignment_(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
pure virtual |
Provide all components, subcomponents, subsub... etc. of Alignable down to AlignableDetUnit, except for 'single childs' like e.g. AlignableDetUnits of AlignableDets representing single sided SiStrip modules. (for performance reason by adding to argument)
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
|
virtual |
restore the previously cached transformation, also for possible components
Reimplemented in AlignableDetUnit.
Definition at line 289 of file Alignable.cc.
References components(), theCachedDisplacement, theCachedRotation, theCachedSurface, theDisplacement, theRotation, and theSurface.
|
virtual |
Rotation around arbitratry global axis.
Definition at line 133 of file Alignable.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), and rotateInGlobalFrame().
Referenced by MuonAlignmentInputXML::do_rotateglobalaxis().
|
virtual |
Rotation around global x-axis.
Definition at line 151 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInGlobalFrame(), and funct::sin().
Referenced by MuonAlignment::moveAlignableGlobalCoord(), and AlignableModifier::rotateAlignable().
|
virtual |
Rotation around global y-axis.
Definition at line 177 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInGlobalFrame(), and funct::sin().
Referenced by MuonAlignment::moveAlignableGlobalCoord(), and AlignableModifier::rotateAlignable().
|
virtual |
Rotation around global z-axis.
Definition at line 203 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInGlobalFrame(), and funct::sin().
Referenced by MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignment::moveAlignableGlobalCoord(), and AlignableModifier::rotateAlignable().
|
virtual |
Rotation around arbitratry local axis.
Definition at line 142 of file Alignable.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), and rotateInLocalFrame().
Referenced by MuonAlignmentInputXML::do_rotatelocal().
|
virtual |
Rotation around local x-axis.
Definition at line 164 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInLocalFrame(), and funct::sin().
Referenced by SurveyInputCSCfromPins::analyze(), MuonAlignment::moveAlignableLocalCoord(), AlignableModifier::rotateAlignableLocal(), and CreateSurveyRcds::setGeometry().
|
virtual |
Rotation around local y-axis.
Definition at line 190 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInLocalFrame(), and funct::sin().
Referenced by MuonAlignment::moveAlignableLocalCoord(), AlignableModifier::rotateAlignableLocal(), and CreateSurveyRcds::setGeometry().
|
virtual |
Rotation around local z-axis.
Definition at line 216 of file Alignable.cc.
References funct::cos(), makeMuonMisalignmentScenario::rot, rotateInLocalFrame(), and funct::sin().
Referenced by SurveyInputCSCfromPins::analyze(), MuonAlignment::moveAlignableLocalCoord(), AlignableModifier::rotateAlignableLocal(), and CreateSurveyRcds::setGeometry().
|
pure virtual |
Rotation intepreted such that the orientation of the rotation axis is w.r.t. to the global coordinate system. Rotation is relative to current orientation
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by BeamSpotAlignmentParameters::apply(), RigidBodyAlignmentParameters::apply(), BowedSurfaceAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), AlignmentParameterStore::applyAlignableAbsolutePositions(), AlignmentParameterStore::applyAlignableRelativePositions(), PedeSteerer::correctToReferenceSystem(), align::moveAlignable(), MuonAlignment::recursiveCopySurveyToAlignment(), rotateAroundGlobalAxis(), rotateAroundGlobalX(), rotateAroundGlobalY(), rotateAroundGlobalZ(), rotateInLocalFrame(), MuonAlignmentInputXML::set_one_position(), SurveyAlignment::shiftSensors(), PCLTrackerAlProducer::simpleMisalignment(), and AlignmentProducer::simpleMisalignment_().
|
virtual |
Rotation intepreted in the local reference frame.
Definition at line 120 of file Alignable.cc.
References rotateInGlobalFrame(), and surface().
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), rotateAroundLocalAxis(), rotateAroundLocalX(), rotateAroundLocalY(), rotateAroundLocalZ(), PCLTrackerAlProducer::simpleMisalignment(), and AlignmentProducer::simpleMisalignment_().
|
inline |
Return change of orientation since the creation of the object.
Definition at line 143 of file Alignable.h.
References theRotation.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), addRotation(), AlignableSiStripDet::consistifyAlignments(), BeamSpotAlignmentParameters::displacementFromAlignable(), RigidBodyAlignmentParameters::displacementFromAlignable(), AlignableDetUnit::dump(), operator<<(), SurveyOutput::write(), AlignableDataIO::writeOrgPos(), and AlignableDataIO::writeRelPos().
void Alignable::setAlignmentParameters | ( | AlignmentParameters * | dap | ) |
Set the AlignmentParameters.
Definition at line 110 of file Alignable.cc.
References theAlignmentParameters.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), AlignmentParameterBuilder::add(), CSCAlignmentCorrections::applyAlignment(), HIPAlignmentAlgorithm::calcParameters(), PedeSteerer::defineCoordinates(), SurveyAlignmentSensor::findAlignPars(), SurveyAlignmentPoints::findAlignPars(), CSCChamberFitter::radiusCorrection(), AlignmentParameterStore::resetParameters(), PedeReader::setParameter(), and AlignmentParametersIO::writeOneOrigRigidBody().
|
pure virtual |
Set the alignment position error - if (!propagateDown) do not affect daughters.
Implemented in AlignableComposite, AlignableBeamSpot, AlignableDetUnit, and AlignableDet.
Referenced by MuonAlignment::recursiveCopySurveyToAlignment(), and AlignmentParameterStore::setAlignmentPositionError().
|
inline |
Assign mother to alignable.
Definition at line 93 of file Alignable.h.
References mother(), and theMother.
Referenced by AlignableComposite::addComponent().
|
pure virtual |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters.
Implemented in AlignableBeamSpot, AlignableComposite, and AlignableDetUnit.
void Alignable::setSurvey | ( | const SurveyDet * | survey | ) |
Set survey info.
Definition at line 306 of file Alignable.cc.
References survey(), and theSurvey.
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), TrackerGeometryCompare::addSurveyInfo(), PCLTrackerAlProducer::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), SurveyInputCSCfromPins::analyze(), MuonAlignment::copyAlignmentToSurvey(), align::createPoints(), MuonAlignmentInputXML::do_moveglobal(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), MuonAlignmentInputXML::do_rotatelocal(), MuonAlignmentInputXML::do_setsurveyerr(), SurveyInputCSCfromPins::fillAllRecords(), MuonAlignmentInputXML::set_one_position(), and CreateSurveyRcds::setSurveyErrors().
|
inline |
Return number of direct components.
Definition at line 67 of file Alignable.h.
References components().
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), AlignableDTStation::chamber(), AlignableCSCRing::chamber(), AlignableComposite::moveComponentLocal(), AlignableCSCStation::ring(), AlignableDTWheel::station(), AlignableCSCEndcap::station(), and AlignableDTBarrel::wheel().
|
inline |
Return the Surface (global position and orientation) of the object.
Definition at line 131 of file Alignable.h.
References theSurface.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), AlignableDet::addAlignmentPositionErrorFromRotation(), AlignableDetUnit::addAlignmentPositionErrorFromRotation(), MillePedeAlignmentAlgorithm::addPxbSurvey(), MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), SurveyInputTrackerFromDB::addSurveyInfo(), SurveyMisalignmentInput::addSurveyInfo(), TrackerGeometryCompare::addSurveyInfo(), PCLTrackerAlProducer::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), AlignmentProducer::addSurveyInfo_(), SurveyInputCSCfromPins::analyze(), MuonGeometrySVGTemplate::analyze(), RigidBodyAlignmentParameters::apply(), BeamSpotAlignmentParameters::apply(), BowedSurfaceAlignmentParameters::apply(), TwoBowedSurfacesAlignmentParameters::apply(), CSCAlignmentCorrections::applyAlignment(), SurveyResidual::calculate(), PedeSteererWeakModeConstraints::constructConstraints(), MuonAlignment::copyAlignmentToSurvey(), align::createPoints(), BowedSurfaceAlignmentParameters::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), align::diffAlignables(), RigidBodyAlignmentParameters::displacementFromAlignable(), MuonAlignmentInputXML::do_moveglobal(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), MuonAlignmentInputXML::do_rotatelocal(), MuonAlignmentInputXML::do_setsurveyerr(), SurveyInputCSCfromPins::fillAllRecords(), HIPAlignmentAlgorithm::fillRoot(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), PedeSteererWeakModeConstraints::getDoubleSensorPosition(), MuonChamberResidual::global_stubpos(), MuonChamberResidual::global_trackpos(), RigidBodyAlignmentParameters::globalParameters(), BeamSpotAlignmentParameters::globalParameters(), globalPosition(), globalRotation(), ParametersToParametersDerivatives::init2BowedRigid(), ParametersToParametersDerivatives::initBowedRigid(), AlignableModifier::moveAlignableLocal(), MuonAlignment::moveAlignableLocalCoord(), AlignableComposite::moveComponentLocal(), AlignableComposite::moveComponentsLocal(), operator<<(), PedeSteerer::PedeSteerer(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals6DOFFitter::plot(), AlignmentMonitorSegmentDifferences::processMuonResidualsFromTrack(), rotateInLocalFrame(), BowedSurfaceAlignmentParameters::rotation(), MuonAlignmentInputXML::set_one_position(), CreateSurveyRcds::setGeometry(), CreateSurveyRcds::setSurveyErrors(), SurveyAlignment::shiftSensors(), PCLTrackerAlProducer::simpleMisalignment(), AlignmentProducer::simpleMisalignment_(), HIPAlignmentAlgorithm::terminate(), and AlignableDataIO::writeAbsPos().
|
pure virtual |
Return surface deformations as a vector of pairs of raw DetId and pointers to surface deformations
Implemented in AlignableComposite, AlignableBeamSpot, and AlignableDetUnit.
Referenced by surfaceDeformations(), and AlignableDataIO::writeAbsPos().
AlignmentSurfaceDeformations * Alignable::surfaceDeformations | ( | void | ) | const |
Return surface deformations, sorted by DetId.
Definition at line 245 of file Alignable.cc.
References AlignmentSurfaceDeformations::add(), mps_fire::result, and surfaceDeformationIdPairs().
Referenced by AlignmentProducer::startingNewLoop(), and AlignmentProducer::writeForRunRange().
|
inline |
Return survey info.
Definition at line 210 of file Alignable.h.
References theSurvey.
Referenced by SurveyInputCSCfromPins::analyze(), SurveyResidual::calculate(), align::createPoints(), MuonAlignmentInputXML::do_moveglobal(), MuonAlignmentInputXML::do_movelocal(), MuonAlignmentInputXML::do_rotatebeamline(), MuonAlignmentInputXML::do_rotateglobalaxis(), MuonAlignmentInputXML::do_rotatelocal(), SurveyInputCSCfromPins::fillAllRecords(), SurveyAlignmentPoints::findAlignPars(), SurveyDBUploader::getSurveyInfo(), MuonAlignment::recursiveCopySurveyToAlignment(), MuonAlignmentInputXML::set_one_position(), and setSurvey().
|
private |
Definition at line 241 of file Alignable.h.
Referenced by alignmentParameters(), setAlignmentParameters(), and ~Alignable().
|
protected |
Definition at line 233 of file Alignable.h.
Referenced by AlignableDetUnit::cacheTransformation(), cacheTransformation(), AlignableDetUnit::restoreCachedTransformation(), and restoreCachedTransformation().
|
protected |
Definition at line 234 of file Alignable.h.
Referenced by AlignableDetUnit::cacheTransformation(), cacheTransformation(), AlignableDetUnit::restoreCachedTransformation(), and restoreCachedTransformation().
|
protected |
Definition at line 232 of file Alignable.h.
Referenced by AlignableDetUnit::cacheTransformation(), cacheTransformation(), AlignableDetUnit::restoreCachedTransformation(), and restoreCachedTransformation().
|
protected |
Definition at line 236 of file Alignable.h.
Referenced by AlignableComposite::addComponent(), AlignableDetUnit::AlignableDetUnit(), and deepComponents().
|
protected |
Definition at line 222 of file Alignable.h.
Referenced by geomDetId().
|
protected |
Definition at line 229 of file Alignable.h.
Referenced by addDisplacement(), AlignableDetUnit::cacheTransformation(), cacheTransformation(), displacement(), AlignableDetUnit::restoreCachedTransformation(), and restoreCachedTransformation().
|
protected |
Definition at line 225 of file Alignable.h.
Referenced by AlignableMuon::AlignableMuon(), AlignableBeamSpot::alignmentErrors(), AlignableBeamSpot::alignments(), AlignableTrackerBuilder::buildAlignables(), and id().
|
private |
Definition at line 245 of file Alignable.h.
Referenced by mother(), and setMother().
|
protected |
Definition at line 230 of file Alignable.h.
Referenced by addRotation(), AlignableDetUnit::cacheTransformation(), cacheTransformation(), AlignableDetUnit::restoreCachedTransformation(), restoreCachedTransformation(), and rotation().
|
protected |
Definition at line 227 of file Alignable.h.
Referenced by AlignableComposite::addComponent(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), AlignableDetUnit::cacheTransformation(), cacheTransformation(), AlignableSiStripDet::consistifyAlignments(), AlignableBeamSpot::dump(), AlignableBeamSpot::initialize(), AlignableDetUnit::move(), AlignableBeamSpot::move(), AlignableComposite::move(), AlignableDetUnit::restoreCachedTransformation(), restoreCachedTransformation(), AlignableDetUnit::rotateInGlobalFrame(), AlignableBeamSpot::rotateInGlobalFrame(), AlignableComposite::rotateInGlobalFrame(), AlignableComposite::setSurface(), and surface().
|
private |
Definition at line 247 of file Alignable.h.
Referenced by setSurvey(), survey(), and ~Alignable().