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
theLocalAlignmentError
= ape.
valid
() ?
13
ErrorFrameTransformer
().
transform
( ape.
globalError
(),
14
surface
()
15
) :
16
InvalidError
();
17
return
ape.
valid
();
18
}
19
ErrorFrameTransformer::transform
static GlobalError transform(const LocalError &le, const Surface &surf)
Definition:
ErrorFrameTransformer.h:12
ErrorFrameTransformer.h
AlignmentPositionError
Definition:
AlignmentPositionError.h:10
TrackerGeomDet::theLocalAlignmentError
LocalError theLocalAlignmentError
Definition:
TrackerGeomDet.h:18
TrackerGeomDet::setAlignmentPositionError
bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition:
TrackerGeomDet.cc:5
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition:
GeomDet.h:40
InvalidError
Definition:
TrivialError.h:9
GeomDet::theAlignmentPositionError
AlignmentPositionError * theAlignmentPositionError
Definition:
GeomDet.h:124
AlignmentPositionError::valid
bool valid() const
Definition:
AlignmentPositionError.h:23
AlignmentPositionError::globalError
const GlobalError & globalError() const
Definition:
AlignmentPositionError.h:27
AlignmentPositionError.h
TrackerGeomDet.h
ErrorFrameTransformer
Definition:
ErrorFrameTransformer.h:8
Generated for CMSSW Reference Manual by
1.8.5