|
ATLAS Offline Software
|
Go to the documentation of this file.
21 const std::pair<IdentifierHash, IdentifierHash>& elementIdList,
23 const std::pair<const Trk::PrepRawData*, const Trk::PrepRawData*>& clusList)
33 const std::pair<IdentifierHash, IdentifierHash>& elementIdList,
35 const std::pair<const Trk::PrepRawData*, const Trk::PrepRawData*>&
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)};
57 constexpr
double deltaY = 0.0004;
58 constexpr
double offdiag = 25. *
deltaY;
59 constexpr
double elem11 = 1600. *
deltaY;
70 std::ostringstream
os;
79 const std::string
lf{
"\n"};
80 out <<
"SCT_SpacePoint contains: " <<
lf;
84 out <<
"Global Covariance Matrix " <<
Amg::toString(this->globCovariance(), 3)
88 out <<
"Cluster 1 :" <<
lf << (*this->
clusterList().first) << lf;
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
void setupGlobalFromLocalCovariance()
set up the global covariance matrix by rotating the local one
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
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.
Ensure that the ATLAS eigen extensions are properly loaded.
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*.
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Amg::MatrixX m_localCovariance
SCT_SpacePoint()=default
Default constructor.
void setupLocalCovarianceSCT()
method to set up the local Covariance Matrix.
std::pair< IdentifierHash, IdentifierHash > m_elemIdList