![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/LineBounds.hpp>
Inheritance diagram for Acts::LineBounds:
Collaboration diagram for Acts::LineBounds:Public Types | |
| enum | BoundValues : int { eR = 0, eHalfLengthZ = 1, eSize = 2 } |
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 } |
Public Member Functions | |
| LineBounds ()=delete | |
| LineBounds (double r, double halfZ) noexcept(false) | |
| LineBounds (const std::array< double, eSize > &values) noexcept(false) | |
| ~LineBounds () override=default | |
| BoundsType | type () const final |
| std::vector< double > | values () const final |
| bool | inside (const Vector2D &lposition, const BoundaryCheck &bcheck) const final |
| std::ostream & | toStream (std::ostream &sl) const final |
| double | get (BoundValues bValue) const |
Public Member Functions inherited from Acts::SurfaceBounds | |
| virtual | ~SurfaceBounds ()=default |
Private Member Functions | |
| void | checkConsistency () noexcept(false) |
Private Attributes | |
| std::array< double, eSize > | m_values |
Bounds for a LineSurface.
Definition at line 22 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 22 of file LineBounds.hpp
| enum Acts::LineBounds::BoundValues : int |
Definition at line 24 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 24 of file LineBounds.hpp
|
delete |
|
inlinenoexcept |
Constructor
| r | is the radius of the cylinder, default = 0. |
| halfZ | is the half length in z, defualt = 0. |
Definition at line 32 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 32 of file LineBounds.hpp
|
inlinenoexcept |
Constructor - from fixed size array
| values | The parameter values |
Definition at line 39 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 39 of file LineBounds.hpp
References checkConsistency().
Here is the call graph for this function:
|
overridedefault |
|
inlineprivatenoexcept |
Check the input values for consistency, will throw a logic_exception if consistency is not given
Definition at line 87 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 87 of file LineBounds.hpp
References eHalfLengthZ, and eR.
Referenced by LineBounds().
Here is the caller graph for this function:
|
inline |
Access to the bound values
| bValue | the class nested enum for the array access |
Definition at line 71 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 71 of file LineBounds.hpp
References m_values.
|
finalvirtual |
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 18 of file LineBounds.cpp.
View newest version in sPHENIX GitHub at line 18 of file LineBounds.cpp
References eHalfLengthZ, eR, and Acts::BoundaryCheck::isInside().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalvirtual |
Output Method for std::ostream
| sl | is the ostream to be dumped into |
Implements Acts::SurfaceBounds.
Definition at line 27 of file LineBounds.cpp.
View newest version in sPHENIX GitHub at line 27 of file LineBounds.cpp
References eHalfLengthZ, and eR.
|
finalvirtual |
Return the bounds type - for persistency optimization
Implements Acts::SurfaceBounds.
Definition at line 14 of file LineBounds.cpp.
View newest version in sPHENIX GitHub at line 14 of file LineBounds.cpp
References Acts::SurfaceBounds::eLine.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
Here is the caller graph for this function:
|
inlinefinalvirtual |
Return the bound values as dynamically sized vector
Implements Acts::SurfaceBounds.
Definition at line 81 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 81 of file LineBounds.hpp
References m_values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
Here is the caller graph for this function:
|
private |
Definition at line 74 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 74 of file LineBounds.hpp