Analysis Software
Documentation for sPHENIX simulation software
|
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 (const SurfaceBoundsStub &other)=default | |
~SurfaceBoundsStub () override=default | |
BoundsType | type () const final |
std::vector< double > | values () const override |
bool | inside (const Vector2 &, const BoundaryCheck &) 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 = 4, eLine = 5, eRectangle = 6, eTrapezoid = 7, eTriangle = 8, eDiscTrapezoid = 9, eConvexPolygon = 10, eAnnulus = 11, eBoundless = 12, eOther = 13 } |
Class to implement pure virtual method of SurfaceBounds for testing only.
Definition at line 25 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 25 of file SurfaceBoundsTests.cpp
|
inlineexplicit |
Implement ctor and pure virtual methods of SurfaceBounds.
Definition at line 28 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 28 of file SurfaceBoundsTests.cpp
References m_values.
|
default |
|
overridedefault |
|
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 49 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 49 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Output Method for std::ostream, to be overloaded by child classes
os | is the outstream in which the string dump is done |
Implements Acts::SurfaceBounds.
Definition at line 54 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 54 of file SurfaceBoundsTests.cpp
|
inlinefinalvirtual |
Return the bounds type - for persistency optimization
Implements Acts::SurfaceBounds.
Definition at line 43 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 43 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 46 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 46 of file SurfaceBoundsTests.cpp
References m_values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
private |
Definition at line 60 of file SurfaceBoundsTests.cpp.
View newest version in sPHENIX GitHub at line 60 of file SurfaceBoundsTests.cpp
Referenced by SurfaceBoundsStub(), and values().