ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Class to implement pure virtual method of SurfaceBounds for testing only. More...
Public Member Functions | |
SurfaceBoundsStub (size_t nValues=0) | |
Implement ctor and pure virtual methods of SurfaceBounds. | |
~SurfaceBoundsStub () override | |
BoundsType | type () const final |
std::vector< double > | values () const override |
bool | inside (const Vector2D &, const BoundaryCheck &) const final |
double | distanceToBoundary (const Vector2D &) const final |
std::ostream & | toStream (std::ostream &sl) const final |
Public Member Functions inherited from Acts::SurfaceBounds | |
virtual | ~SurfaceBounds ()=default |
Private Attributes | |
std::vector< double > | m_values |
Additional Inherited Members | |
Public Types inherited from Acts::SurfaceBounds | |
enum | BoundsType : int { eCone = 0, eCylinder = 1, eDiamond = 2, eDisc = 3, eEllipse = 5, eLine = 6, eRectangle = 7, eTrapezoid = 8, eTriangle = 9, eDiscTrapezoid = 10, eConvexPolygon = 11, eAnnulus = 12, eBoundless = 13, eOther = 14 } |
Class to implement pure virtual method of SurfaceBounds for testing only.
Definition at line 20 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 20 of file SurfaceBoundsTests.cpp
|
inlineexplicit |
Implement ctor and pure virtual methods of SurfaceBounds.
Definition at line 23 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 23 of file SurfaceBoundsTests.cpp
References m_values.
|
inlineoverride |
Definition at line 27 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 27 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
lposition | is the local position to check for the distance |
Implements Acts::SurfaceBounds.
Definition at line 35 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 35 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Inside check for the bounds object driven by the boundary check directive Each Bounds has a method inside, which checks if a LocalPosition is inside the bounds Inside can be called without/with tolerances.
lposition | Local position (assumed to be in right surface frame) |
bcheck | boundary check directive |
Implements Acts::SurfaceBounds.
Definition at line 31 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 31 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Output Method for std::ostream, to be overloaded by child classes
sl | is the outstream in which the string dump is done |
Implements Acts::SurfaceBounds.
Definition at line 38 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 38 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Return the bounds type - for persistency optimization
Implements Acts::SurfaceBounds.
Definition at line 29 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 29 of file SurfaceBoundsTests.cpp
References Acts::SurfaceBounds::eOther.
|
inlineoverridevirtual |
Access method for bound values, this is a dynamically sized vector containing the parameters needed to describe these bounds
Implements Acts::SurfaceBounds.
Definition at line 30 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 30 of file SurfaceBoundsTests.cpp
References m_values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
private |
Definition at line 44 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 44 of file SurfaceBoundsTests.cpp
Referenced by SurfaceBoundsStub(), and values().