Class to update a given geometry with a set of alignments. More...
#include <GeometryAligner.h>
Public Member Functions | |
template<class C > | |
void | applyAlignments (C *geometry, const Alignments *alignments, const AlignmentErrors *alignmentErrors, const AlignTransform &globalCoordinates) |
template<class C > | |
void | attachSurfaceDeformations (C *geometry, const AlignmentSurfaceDeformations *surfaceDeformations) |
void | removeGlobalTransform (const Alignments *alignments, const AlignmentErrors *alignmentErrors, const AlignTransform &globalCoordinates, Alignments *newAlignments, AlignmentErrors *newAlignmentErrors) |
Public Member Functions inherited from DetPositioner | |
virtual | ~DetPositioner () |
Additional Inherited Members | |
Protected Member Functions inherited from DetPositioner | |
void | moveGeomDet (GeomDet &det, const GlobalVector &displacement) |
void | rotateGeomDet (GeomDet &det, const Surface::RotationType &rotation) |
bool | 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) |
Class to update a given geometry with a set of alignments.
Definition at line 32 of file GeometryAligner.h.
void GeometryAligner::applyAlignments | ( | C * | geometry, |
const Alignments * | alignments, | ||
const AlignmentErrors * | alignmentErrors, | ||
const AlignTransform & | globalCoordinates | ||
) |
Definition at line 54 of file GeometryAligner.h.
References filterCSVwithJSON::copy, relativeConstraints::error, Alignments::m_align, AlignmentErrors::m_alignError, position, idealTransformation::rotation, AlignTransform::rotation(), DetPositioner::setAlignmentPositionError(), DetPositioner::setGeomDetPosition(), and AlignTransform::translation().
Referenced by CreateSurveyRcds::analyze(), TrackerSystematicMisalignments::analyze(), AlignmentMonitorAsAnalyzer::analyze(), TrackerGeometryIntoNtuples::analyze(), AlignmentProducer::applyDB(), TrackerGeometryCompare::createROOTGeometry(), MuonAlignmentInputDB::newAlignableMuon(), TrackerDigiGeometryESModule::produce(), DTGeometryESModule::produce(), CSCGeometryESModule::produce(), MisalignedTrackerESProducer::produce(), MisalignedMuonESProducer::produce(), and AlignmentProducer::startingNewLoop().
void GeometryAligner::attachSurfaceDeformations | ( | C * | geometry, |
const AlignmentSurfaceDeformations * | surfaceDeformations | ||
) |
Definition at line 127 of file GeometryAligner.h.
References filterCSVwithJSON::copy, SurfaceDeformationFactory::create(), AlignmentSurfaceDeformations::items(), Parameters::parameters, AlignmentSurfaceDeformations::parameters(), and DetPositioner::setSurfaceDeformation().
Referenced by TrackerGeometryIntoNtuples::analyze(), AlignmentProducer::applyDB(), TrackerDigiGeometryESModule::produce(), and AlignmentProducer::startingNewLoop().
|
inline |
Definition at line 183 of file GeometryAligner.h.
References GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czx(), GlobalErrorBase< T, ErrorWeightType >::czy(), GlobalErrorBase< T, ErrorWeightType >::czz(), relativeConstraints::error, Alignments::m_align, AlignmentErrors::m_alignError, AlignTransform::rotation(), and AlignTransform::translation().
Referenced by AlignmentProducer::writeDB().