|
ATLAS Offline Software
|
#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 More...
|
|
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. More...
|
|
virtual MsgStream & | dump (MsgStream &out) const override final |
| Interface method for output, to be overloaded by child classes*. More...
|
|
virtual std::ostream & | dump (std::ostream &out) const override final |
| Interface method for output, to be overloaded by child classes*. More...
|
|
void | setupLocalCovarianceSCT () |
| method to set up the local Covariance Matrix. More...
|
|
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. More...
|
|
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]
◆ 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()
|
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 |
◆ 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 79 of file SCT_SpacePoint.cxx.
80 const std::string
lf{
"\n"};
81 out <<
"SCT_SpacePoint contains: " <<
lf;
85 out <<
"Global Covariance Matrix " <<
Amg::toString(this->globCovariance(), 3)
◆ elementIdList()
◆ eta()
double SpacePoint::eta |
( |
double |
z0 = 0 | ) |
const |
|
inlineinherited |
◆ globalPosition()
|
inlinefinaloverridevirtualinherited |
◆ localCovariance()
◆ 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.
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)};
◆ setupGlobalFromLocalCovariance()
void SpacePoint::setupGlobalFromLocalCovariance |
( |
| ) |
|
|
protectedinherited |
◆ setupLocalCovarianceSCT()
void InDet::SCT_SpacePoint::setupLocalCovarianceSCT |
( |
| ) |
|
|
private |
method to set up the local Covariance Matrix.
Definition at line 51 of file SCT_SpacePoint.cxx.
57 constexpr
double deltaY = 0.0004;
58 constexpr
double offdiag = 25. *
deltaY;
59 constexpr
double elem11 = 1600. *
deltaY;
◆ 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:
const std::pair< const PrepRawData *, const PrepRawData * > & clusterList() const
return the pair of cluster pointers by reference
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
std::pair< const PrepRawData *, const PrepRawData * > m_clusList
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
void setupGlobalFromLocalCovariance()
set up the global covariance matrix by rotating the local one
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
virtual const Surface & associatedSurface() const override final
Interface method to get the associated Surface.
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
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.
LocalParameters m_localParams
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
const std::pair< IdentifierHash, IdentifierHash > & elementIdList() const
return the pair of Ids of the element by reference
virtual MsgStream & dump(MsgStream &out) const override final
Interface method for output, to be overloaded by child classes*.
virtual SpacePoint * clone() const override=0
Clone.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Amg::MatrixX m_localCovariance
SCT_SpacePoint()=default
Default constructor.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
void setupLocalCovarianceSCT()
method to set up the local Covariance Matrix.
std::pair< IdentifierHash, IdentifierHash > m_elemIdList
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.