src
Geometry
CommonTopologies
src
TrackerGeomDet.cc
Go to the documentation of this file.
1
#include "
Geometry/CommonTopologies/interface/TrackerGeomDet.h
"
2
#include "
DataFormats/GeometryCommonDetAlgo/interface/AlignmentPositionError.h
"
3
#include "
DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h
"
4
5
bool
TrackerGeomDet::setAlignmentPositionError
(
const
AlignmentPositionError
& ape) {
6
GeomDet::setAlignmentPositionError
(ape);
7
8
const
GlobalErrorExtended
& apeError = ape.
globalError
();
9
GlobalError
translatApe(
10
apeError.
cxx
(), apeError.
cyx
(), apeError.
cyy
(), apeError.
czx
(), apeError.
czy
(), apeError.
czz
());
11
12
//check only translat part is valid
13
theLocalAlignmentError
= ape.
valid
() ?
ErrorFrameTransformer
().
transform
(translatApe,
surface
()) :
InvalidError
();
14
return
ape.
valid
();
15
}
ErrorFrameTransformer::transform
static GlobalError transform(const LocalError &le, const Surface &surf)
Definition:
ErrorFrameTransformer.h:16
GlobalErrorBaseExtended::czx
T czx() const
Definition:
GlobalErrorBaseExtended.h:111
ErrorFrameTransformer.h
AlignmentPositionError
Definition:
AlignmentPositionError.h:10
TrackerGeomDet::setAlignmentPositionError
bool setAlignmentPositionError(const AlignmentPositionError &ape) final
Definition:
TrackerGeomDet.cc:5
TrackerGeomDet::theLocalAlignmentError
LocalError theLocalAlignmentError
Definition:
TrackerGeomDet.h:17
InvalidError
Definition:
TrivialError.h:8
GlobalErrorBaseExtended::cyy
T cyy() const
Definition:
GlobalErrorBaseExtended.h:119
GlobalErrorBaseExtended::cyx
T cyx() const
Definition:
GlobalErrorBaseExtended.h:109
GlobalErrorBaseExtended::cxx
T cxx() const
Definition:
GlobalErrorBaseExtended.h:107
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:37
GlobalErrorBase< double, ErrorMatrixTag >
AlignmentPositionError::globalError
const GlobalErrorExtended & globalError() const
Definition:
AlignmentPositionError.h:24
GeomDet::setAlignmentPositionError
virtual bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition:
GeomDet.cc:25
AlignmentPositionError.h
GlobalErrorBaseExtended::czz
T czz() const
Definition:
GlobalErrorBaseExtended.h:129
TrackerGeomDet.h
ErrorFrameTransformer
Definition:
ErrorFrameTransformer.h:12
AlignmentPositionError::valid
bool valid() const
Definition:
AlignmentPositionError.h:22
GlobalErrorBaseExtended::czy
T czy() const
Definition:
GlobalErrorBaseExtended.h:121
GlobalErrorBaseExtended< double, ErrorMatrixTag >
Generated for CMSSW Reference Manual by
1.8.14