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
}
AlignmentPositionError::valid
bool valid() const
Definition:
AlignmentPositionError.h:22
TrackerGeomDet.h
GlobalErrorBaseExtended::czx
T czx() const
Definition:
GlobalErrorBaseExtended.h:111
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:37
ErrorFrameTransformer
Definition:
ErrorFrameTransformer.h:12
AlignmentPositionError::globalError
const GlobalErrorExtended & globalError() const
Definition:
AlignmentPositionError.h:24
TrackerGeomDet::theLocalAlignmentError
LocalError theLocalAlignmentError
Definition:
TrackerGeomDet.h:17
TrackerGeomDet::setAlignmentPositionError
bool setAlignmentPositionError(const AlignmentPositionError &ape) final
Definition:
TrackerGeomDet.cc:5
GlobalErrorBaseExtended::cxx
T cxx() const
Definition:
GlobalErrorBaseExtended.h:107
GlobalErrorBaseExtended::cyx
T cyx() const
Definition:
GlobalErrorBaseExtended.h:109
GeomDet::setAlignmentPositionError
virtual bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition:
GeomDet.cc:25
GlobalErrorBase< double, ErrorMatrixTag >
GlobalErrorBaseExtended::cyy
T cyy() const
Definition:
GlobalErrorBaseExtended.h:119
ErrorFrameTransformer.h
AlignmentPositionError.h
GlobalErrorBaseExtended< double, ErrorMatrixTag >
GlobalErrorBaseExtended::czz
T czz() const
Definition:
GlobalErrorBaseExtended.h:129
ErrorFrameTransformer::transform
static GlobalError transform(const LocalError &le, const Surface &surf)
Definition:
ErrorFrameTransformer.h:16
AlignmentPositionError
Definition:
AlignmentPositionError.h:10
GlobalErrorBaseExtended::czy
T czy() const
Definition:
GlobalErrorBaseExtended.h:121
InvalidError
Definition:
TrivialError.h:8
Generated for CMSSW Reference Manual by
1.8.16