EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/Extent.hpp>
Public Member Functions | |
Extent ()=default | |
bool | intersects (const Extent &other, BinningValue bVal=binValues, double tolerance=s_epsilon) |
void | extend (const Extent &other) |
std::ostream & | toStream (std::ostream &sl) const |
double & | min (BinningValue bval) |
double | min (BinningValue bval) const |
double & | max (BinningValue bval) |
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 {(int)binValues, 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 |
|
inline |
Check the vertex
vtx | the Vertex to be checked |
Definition at line 111 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 111 of file Extent.hpp
References Acts::binValues, Acts::VectorHelpers::cast(), max, min, ranges, and value.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), dokinematics(), Acts::Polyhedron::extent(), genevent(), init(), jewel(), makebranch(), makeinsplit(), makesplitting(), pyslha(), and pywidt().
|
inline |
Extend with another extent
other | is the source Extent |
Definition at line 70 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 70 of file Extent.hpp
References ir(), max, min, and ranges.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::GeometryView3D::drawSurfaceArray(), and Acts::ProtoLayer::measure().
|
inline |
Check if it intersects
other | The source Extent |
bValue | The binning value for the check (binValues for all) |
tolerance | An additional tolerance for the intersection check |
Definition at line 45 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 45 of file Extent.hpp
References Acts::binValues, ranges, and Acts::Test::tolerance.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Access the max parameter
bval | the binning identification |
Definition at line 91 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 91 of file Extent.hpp
References ranges.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::ProtoLayer::max().
|
inline |
Access the max parameter
bval | the binning identification |
Definition at line 95 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 95 of file Extent.hpp
References ranges.
|
inline |
Access the medium parameter
bval | the binning identification |
Definition at line 99 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 99 of file Extent.hpp
References ranges.
Referenced by Acts::GeometryView3D::drawSurfaceArray(), Acts::Polyhedron::extent(), and medinit().
|
inline |
Access the minimum parameter
bval | the binning identification |
Definition at line 83 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 83 of file Extent.hpp
References ranges.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::ProtoLayer::min(), and Acts::SurfaceBinningMatcher::operator()().
|
inline |
Access the minimum parameter
bval | the binning identification |
Definition at line 87 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 87 of file Extent.hpp
References ranges.
|
inline |
Access the range - always positive
bval | the binning identification |
Definition at line 105 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 105 of file Extent.hpp
References kdfinder::abs(), and ranges.
Referenced by pepsimainerhic(), and r1998().
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<<(), and Acts::ProtoLayer::toStream().
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
std::vector<Range> Acts::Extent::ranges {(int)binValues, maxrange} |
Definition at line 36 of file Extent.hpp.
View newest version in sPHENIX GitHub at line 36 of file Extent.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_FIXTURE_TEST_CASE(), Acts::DD4hepLayerBuilder::centralLayers(), check(), Acts::DD4hepLayerBuilder::endcapLayers(), extend(), Acts::Polyhedron::extent(), intersects(), max(), medium(), min(), range(), and toStream().