ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Core/include/Acts/Geometry/Extent.hpp>
Public Member Functions | |
Extent ()=default | |
void | extend (const Extent &other) |
std::ostream & | toStream (std::ostream &sl) const |
double | min (BinningValue bval) const |
double | max (BinningValue bval) const |
double | medium (BinningValue bval) const |
double | range (BinningValue bval) const |
void | check (const Vector3D &vtx) |
Public Attributes | |
std::vector< Range > | ranges = std::vector<Range>(9, maxrange) |
Static Public Attributes | |
static constexpr double | maxval = std::numeric_limits<double>::max() |
Possible maximal value. | |
static constexpr Range | maxrange = {maxval, -maxval} |
Start value. | |
This is a nested struct to the GeometryObject representation which can be retrieved and used for surface parsing and will give you the maximal extent in 3D space/
Definition at line 28 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 28 of file Extent.hpp
|
default |
Check the vertex
vtx | the Vertex to be checked |
Definition at line 76 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 76 of file Extent.hpp
References Acts::binValues, Acts::VectorHelpers::cast(), max, min, ranges, and second.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), dokinematics(), Acts::Polyhedron::extent(), genevent(), init(), jewel(), makebranch(), makeinsplit(), makesplitting(), pyslha(), and pywidt().
Extend with another extent
other | is the source Extent |
Definition at line 43 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 43 of file Extent.hpp
References max, min, ranges, and second.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Access the max parameter
bval | the binning identification |
Definition at line 60 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 60 of file Extent.hpp
References ranges.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Access the medium parameter
bval | the binning identification |
Definition at line 64 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 64 of file Extent.hpp
References ranges.
Referenced by Acts::Polyhedron::extent(), and medinit().
|
inline |
Access the minimum parameter
bval | the binning identification |
Definition at line 56 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 56 of file Extent.hpp
References ranges.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Access the range - always positive
bval | the binning identification |
Definition at line 70 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 70 of file Extent.hpp
References kdfinder::abs(), ranges, and second.
Referenced by Acts::Polyhedron::extent().
std::ostream & Acts::Extent::toStream | ( | std::ostream & | sl | ) | const |
Convert to output stream for screen output
sl | [in,out] The output stream |
Definition at line 13 of file Extent.cpp.
View newest version in sPHENIX GitHub at line 13 of file Extent.cpp
References Acts::binningValueNames, Acts::binValues, and ranges.
Referenced by Acts::operator<<().
Start value.
Definition at line 33 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 33 of file Extent.hpp
|
static |
Possible maximal value.
Definition at line 30 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 30 of file Extent.hpp
Definition at line 36 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 36 of file Extent.hpp
Referenced by check(), extend(), Acts::Polyhedron::extent(), max(), medium(), min(), range(), and toStream().