File indexing completed on 2024-04-06 12:14:23
0001 #include "Geometry/CommonTopologies/interface/TrackerGeomDet.h"
0002 #include "DataFormats/GeometryCommonDetAlgo/interface/AlignmentPositionError.h"
0003 #include "DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h"
0004
0005 bool TrackerGeomDet::setAlignmentPositionError(const AlignmentPositionError& ape) {
0006 GeomDet::setAlignmentPositionError(ape);
0007
0008 const GlobalErrorExtended& apeError = ape.globalError();
0009 GlobalError translatApe(
0010 apeError.cxx(), apeError.cyx(), apeError.cyy(), apeError.czx(), apeError.czy(), apeError.czz());
0011
0012
0013 theLocalAlignmentError = ape.valid() ? ErrorFrameTransformer().transform(translatApe, surface()) : InvalidError();
0014 return ape.valid();
0015 }