![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#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 = 4, eLine = 5, eRectangle = 6, eTrapezoid = 7, eTriangle = 8, eDiscTrapezoid = 9, eConvexPolygon = 10, eAnnulus = 11, eBoundless = 12, eOther = 13 } |
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 Vector2 &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 25 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 25 of file LineBounds.hpp
| enum Acts::LineBounds::BoundValues : int |
Definition at line 27 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 27 of file LineBounds.hpp
|
delete |
Constructor
| r | is the radius of the cylinder, default = 0. |
| halfZ | is the half length in z, default = 0. |
Definition at line 35 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 35 of file LineBounds.hpp
References physmon_track_finding_ttbar::r.
Constructor - from fixed size array
| values | The parameter values |
Definition at line 42 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 42 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 90 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 90 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 74 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 74 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, Acts::BoundaryCheck::isInside(), and physmon_track_finding_ttbar::r.
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 84 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 84 of file LineBounds.hpp
References m_values.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
Here is the caller graph for this function:Definition at line 77 of file LineBounds.hpp.
View newest version in sPHENIX GitHub at line 77 of file LineBounds.hpp