Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Tests/CommonHelpers/Acts/Tests/CommonHelpers/TestSourceLink.hpp>
Classes | |
struct | SurfaceAccessor |
Public Member Functions | |
TestSourceLink (BoundIndices idx, ActsScalar val, ActsScalar var, GeometryIdentifier gid=GeometryIdentifier(), size_t sid=0u) | |
Construct a source link for a 1d measurement. | |
parameters (val, 0) | |
covariance (Acts::ActsVector< 2 >(var, 0).asDiagonal()) | |
TestSourceLink (BoundIndices idx0, BoundIndices idx1, const Acts::ActsVector< 2 > ¶ms, const Acts::ActsSquareMatrix< 2 > &cov, GeometryIdentifier gid=GeometryIdentifier(), size_t sid=0u) | |
Construct a source link for a 2d measurement. | |
parameters (params) | |
covariance (cov) | |
TestSourceLink ()=default | |
Default-construct an invalid source link to satisfy SourceLinkConcept. | |
TestSourceLink (const TestSourceLink &)=default | |
TestSourceLink (TestSourceLink &&)=default | |
TestSourceLink & | operator= (const TestSourceLink &)=default |
TestSourceLink & | operator= (TestSourceLink &&)=default |
constexpr size_t | index () const |
Public Attributes | |
GeometryIdentifier | m_geometryId {} |
size_t | sourceId = 0u |
std::array< BoundIndices, 2 > | indices = {eBoundSize, eBoundSize} |
Acts::ActsVector< 2 > | parameters |
Acts::ActsSquareMatrix< 2 > | covariance |
A minimal source link implementation for testing.
Instead of storing a reference to a measurement or raw data, the measurement data is stored inline directly in the source link. Only 1d or 2d measurements are supported to limit the overhead. Additionally, a source identifier is stored that can be used to store additional information. How this is interpreted depends on the specific tests.
Definition at line 38 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 38 of file TestSourceLink.hpp
|
inline |
Construct a source link for a 1d measurement.
Definition at line 47 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 47 of file TestSourceLink.hpp
References Acts::eBoundSize, and ambiguity_solver_full_chain::idx.
|
inline |
Construct a source link for a 2d measurement.
Definition at line 55 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 55 of file TestSourceLink.hpp
|
default |
Default-construct an invalid source link to satisfy SourceLinkConcept.
|
default |
|
default |
|
inline |
Definition at line 53 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 53 of file TestSourceLink.hpp
|
inline |
Definition at line 63 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 63 of file TestSourceLink.hpp
|
inline |
Definition at line 71 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 71 of file TestSourceLink.hpp
References sourceId.
|
default |
|
default |
Acts::Test::TestSourceLink::parameters | ( | val | , |
0 | |||
) |
Acts::Test::TestSourceLink::parameters | ( | params | ) |
Acts::ActsSquareMatrix<2> Acts::Test::TestSourceLink::covariance |
Definition at line 44 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 44 of file TestSourceLink.hpp
Referenced by Acts::Test::operator==(), and Acts::Test::testSourceLinkCalibratorReturn().
std::array<BoundIndices, 2> Acts::Test::TestSourceLink::indices = {eBoundSize, eBoundSize} |
Definition at line 42 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 42 of file TestSourceLink.hpp
Referenced by Acts::Test::operator<<(), Acts::Test::operator==(), and Acts::Test::testSourceLinkCalibratorReturn().
GeometryIdentifier Acts::Test::TestSourceLink::m_geometryId {} |
Definition at line 39 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 39 of file TestSourceLink.hpp
Referenced by Acts::Test::operator<<(), and Acts::Test::operator==().
Acts::ActsVector<2> Acts::Test::TestSourceLink::parameters |
Definition at line 43 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 43 of file TestSourceLink.hpp
Referenced by cpp.ast.Function::__str__(), Acts::Test::BOOST_DATA_TEST_CASE(), Acts::Test::operator==(), cpp.ast.Function::Requires(), Acts::Test::stripEnds(), and Acts::Test::testSourceLinkCalibratorReturn().
size_t Acts::Test::TestSourceLink::sourceId = 0u |
Definition at line 40 of file TestSourceLink.hpp.
View newest version in sPHENIX GitHub at line 40 of file TestSourceLink.hpp
Referenced by index(), Acts::Test::operator<<(), Acts::Test::operator==(), and Acts::Test::MultiTrajectoryTestsCommon< factory_t >::testTrackStateProxyCrossTalk().