An SCT_SpacePoint is created from two SCT_Cluster's from two different wafers.
More...
#include <SCT_SpacePoint.h>
|
In order to ensure initialisation, the global Position has to be on the surface associated to the FIRST member of the PRD-pair clusList.
|
| | SCT_SpacePoint (const std::pair< IdentifierHash, IdentifierHash > &elementIdList, const Amg::Vector3D &position, const std::pair< const Trk::PrepRawData *, const Trk::PrepRawData * > &clusList) |
| | SCT_SpacePoint (const SCT_SpacePoint &)=default |
| | default move,copy,dtor
|
| SCT_SpacePoint & | operator= (const SCT_SpacePoint &)=default |
| | SCT_SpacePoint (SCT_SpacePoint &&) noexcept=default |
| SCT_SpacePoint & | operator= (SCT_SpacePoint &&) noexcept=default |
| virtual | ~SCT_SpacePoint ()=default |
| virtual Trk::SpacePoint * | clone () const override final |
| | Clones.
|
| virtual MsgStream & | dump (MsgStream &out) const override final |
| | Interface method for output, to be overloaded by child classes*.
|
| virtual std::ostream & | dump (std::ostream &out) const override final |
| | Interface method for output, to be overloaded by child classes*.
|
| void | setupLocalCovarianceSCT () |
| | method to set up the local Covariance Matrix.
|
| void | setup (const std::pair< IdentifierHash, IdentifierHash > &elementIdList, const Amg::Vector3D &position, const std::pair< const Trk::PrepRawData *, const Trk::PrepRawData * > &clusList) |
| | common method used in constructors.
|
An SCT_SpacePoint is created from two SCT_Cluster's from two different wafers.
Definition at line 31 of file SCT_SpacePoint.h.
◆ SCT_SpacePoint() [1/4]
| InDet::SCT_SpacePoint::SCT_SpacePoint |
( |
| ) |
|
|
default |
◆ SCT_SpacePoint() [2/4]
Definition at line 20 of file SCT_SpacePoint.cxx.
24 : Trk::SpacePoint() {
28}
void setup(const std::pair< IdentifierHash, IdentifierHash > &elementIdList, const Amg::Vector3D &position, const std::pair< const Trk::PrepRawData *, const Trk::PrepRawData * > &clusList)
common method used in constructors.
void setupLocalCovarianceSCT()
method to set up the local Covariance Matrix.
void setupGlobalFromLocalCovariance()
set up the global covariance matrix by rotating the local one
const std::pair< IdentifierHash, IdentifierHash > & elementIdList() const
return the pair of Ids of the element by reference
◆ SCT_SpacePoint() [3/4]
◆ SCT_SpacePoint() [4/4]
◆ ~SCT_SpacePoint()
| virtual InDet::SCT_SpacePoint::~SCT_SpacePoint |
( |
| ) |
|
|
virtualdefault |
◆ AmgSymMatrix() [1/2]
| const Trk::SpacePoint::AmgSymMatrix |
( |
3 | | ) |
const & |
|
inherited |
return the error matrix by reference The Matrix is calculated from the local Covariance Matrix when demanded and the cached
◆ AmgSymMatrix() [2/2]
| Trk::SpacePoint::AmgSymMatrix |
( |
3 | | ) |
|
|
protectedinherited |
◆ associatedSurface()
| const Surface & SpacePoint::associatedSurface |
( |
| ) |
const |
|
finaloverridevirtualinherited |
◆ clone()
|
|
inlinefinaloverridevirtual |
◆ clusterList()
| const std::pair< const PrepRawData *, const PrepRawData * > & SpacePoint::clusterList |
( |
| ) |
const |
|
inlineinherited |
◆ dump() [1/2]
| MsgStream & InDet::SCT_SpacePoint::dump |
( |
MsgStream & | out | ) |
const |
|
finaloverridevirtual |
Interface method for output, to be overloaded by child classes*.
Implements Trk::SpacePoint.
Definition at line 69 of file SCT_SpacePoint.cxx.
69 {
70 std::ostringstream
os;
74}
virtual MsgStream & dump(MsgStream &out) const override final
Interface method for output, to be overloaded by child classes*.
◆ dump() [2/2]
| std::ostream & InDet::SCT_SpacePoint::dump |
( |
std::ostream & | out | ) |
const |
|
finaloverridevirtual |
Interface method for output, to be overloaded by child classes*.
Implements Trk::SpacePoint.
Definition at line 78 of file SCT_SpacePoint.cxx.
78 {
79 const std::string
lf{
"\n"};
80 out <<
"SCT_SpacePoint contains: " <<
lf;
84 out <<
"Global Covariance Matrix " <<
Amg::toString(this->globCovariance(), 3)
90
92}
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
const std::pair< const PrepRawData *, const PrepRawData * > & clusterList() const
return the pair of cluster pointers by reference
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
◆ elementIdList()
◆ eta()
| double SpacePoint::eta |
( |
double | z0 = 0 | ) |
const |
|
inlineinherited |
◆ globalPosition()
|
|
inlinefinaloverridevirtualinherited |
◆ localCovariance()
| const Amg::MatrixX & Trk::MeasurementBase::localCovariance |
( |
| ) |
const |
|
inlineinherited |
◆ localParameters()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ phi()
| double SpacePoint::phi |
( |
| ) |
const |
|
inlineinherited |
◆ r()
| double SpacePoint::r |
( |
| ) |
const |
|
inlineinherited |
◆ setup()
common method used in constructors.
Definition at line 32 of file SCT_SpacePoint.cxx.
36 {
41 assert((clusList.first != 0) && (clusList.second != 0));
42 assert(clusList.first->detectorElement());
43 std::optional<Amg::Vector2D> locpos{
44 clusList.first->detectorElement()->surface().globalToLocal(position)};
45 assert(locpos);
47}
◆ setupGlobalFromLocalCovariance()
| ATH_FLATTEN void SpacePoint::setupGlobalFromLocalCovariance |
( |
| ) |
|
|
protectedinherited |
set up the global covariance matrix by rotating the local one
Definition at line 63 of file Tracking/TrkEvent/TrkSpacePoint/src/SpacePoint.cxx.
63 {
65
67
69 lc(1, 0),
lc(1, 1), 0.,
70
71 0., 0., 0.;
72
74 m_globalCovariance =
R *
cov *
R.transpose();
75 }
virtual const Surface & associatedSurface() const override final
Interface method to get the associated Surface.
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
◆ setupLocalCovarianceSCT()
| void InDet::SCT_SpacePoint::setupLocalCovarianceSCT |
( |
| ) |
|
|
private |
method to set up the local Covariance Matrix.
Definition at line 51 of file SCT_SpacePoint.cxx.
51 {
52
53
54
55
56
57 constexpr double deltaY = 0.0004;
58 constexpr double offdiag = 25. *
deltaY;
59 constexpr double elem11 = 1600. *
deltaY;
62 offdiag, elem11;
63
65}
◆ type()
|
|
inlinefinaloverridevirtualinherited |
◆ uniqueClone()
| std::unique_ptr< SpacePoint > Trk::SpacePoint::uniqueClone |
( |
| ) |
const |
|
inlineinherited |
◆ m_clusList
| std::pair<const PrepRawData*, const PrepRawData*> Trk::SpacePoint::m_clusList |
|
protectedinherited |
◆ m_elemIdList
◆ m_localCovariance
◆ m_localParams
| LocalParameters Trk::MeasurementBase::m_localParams |
|
protectedinherited |
◆ m_position
The documentation for this class was generated from the following files: