test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Geometry
CommonDetUnit
src
TrackerGeomDet.cc
Go to the documentation of this file.
1
#include "
Geometry/CommonDetUnit/interface/TrackerGeomDet.h
"
2
#include "
DataFormats/TrackingRecHit/interface/AlignmentPositionError.h
"
3
#include "
DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h
"
4
5
bool
TrackerGeomDet::setAlignmentPositionError
(
const
AlignmentPositionError
& ape)
6
{
7
if
(!
theAlignmentPositionError
) {
8
if
(ape.
valid
())
theAlignmentPositionError
=
new
AlignmentPositionError
(ape);
9
}
10
else
*
theAlignmentPositionError
= ape;
11
12
GlobalErrorExtended
apeError = ape.
globalError
();
13
GlobalError
translatApe(apeError.
cxx
(),apeError.
cyx
(),apeError.
cyy
(),apeError.
czx
(),apeError.
czy
(),apeError.
czz
());
14
15
//check only translat part is valid
16
theLocalAlignmentError
= ape.
valid
() ?
17
ErrorFrameTransformer
().
transform
( translatApe,
surface
()) :
18
InvalidError
();
19
return
ape.
valid
();
20
}
21
GlobalErrorBaseExtended::czx
T czx() const
Definition:
GlobalErrorBaseExtended.h:105
ErrorFrameTransformer::transform
static GlobalError transform(const LocalError &le, const Surface &surf)
Definition:
ErrorFrameTransformer.h:18
GlobalErrorBaseExtended::cyx
T cyx() const
Definition:
GlobalErrorBaseExtended.h:101
ErrorFrameTransformer.h
GlobalErrorBaseExtended::czz
T czz() const
Definition:
GlobalErrorBaseExtended.h:141
AlignmentPositionError
Definition:
AlignmentPositionError.h:10
GlobalErrorBaseExtended::cxx
T cxx() const
Definition:
GlobalErrorBaseExtended.h:97
TrackerGeomDet::setAlignmentPositionError
bool setAlignmentPositionError(const AlignmentPositionError &ape) final
Definition:
TrackerGeomDet.cc:5
TrackerGeomDet::theLocalAlignmentError
LocalError theLocalAlignmentError
Definition:
TrackerGeomDet.h:18
GlobalErrorBaseExtended::czy
T czy() const
Definition:
GlobalErrorBaseExtended.h:125
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:40
AlignmentPositionError::globalError
const GlobalErrorExtended & globalError() const
Definition:
AlignmentPositionError.h:28
InvalidError
Definition:
TrivialError.h:9
GeomDet::theAlignmentPositionError
AlignmentPositionError * theAlignmentPositionError
Definition:
GeomDet.h:124
AlignmentPositionError::valid
bool valid() const
Definition:
AlignmentPositionError.h:24
GlobalErrorBase< double, ErrorMatrixTag >
AlignmentPositionError.h
TrackerGeomDet.h
ErrorFrameTransformer
Definition:
ErrorFrameTransformer.h:13
GlobalErrorBaseExtended::cyy
T cyy() const
Definition:
GlobalErrorBaseExtended.h:121
GlobalErrorBaseExtended< double, ErrorMatrixTag >
Generated for CMSSW Reference Manual by
1.8.5