ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Extent Struct Reference

#include <acts/blob/master/Core/include/Acts/Geometry/Extent.hpp>

+ Collaboration diagram for Acts::Extent:

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< Rangeranges = 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.
 

Detailed Description

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

Constructor & Destructor Documentation

Acts::Extent::Extent ( )
default

Member Function Documentation

void Acts::Extent::check ( const Vector3D vtx)
inline

Check the vertex

Parameters
vtxthe 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Acts::Extent::extend ( const Extent other)
inline

Extend with another extent

Parameters
otheris 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().

+ Here is the caller graph for this function:

double Acts::Extent::max ( BinningValue  bval) const
inline

Access the max parameter

Parameters
bvalthe 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().

+ Here is the caller graph for this function:

double Acts::Extent::medium ( BinningValue  bval) const
inline

Access the medium parameter

Parameters
bvalthe 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().

+ Here is the caller graph for this function:

double Acts::Extent::min ( BinningValue  bval) const
inline

Access the minimum parameter

Parameters
bvalthe 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().

+ Here is the caller graph for this function:

double Acts::Extent::range ( BinningValue  bval) const
inline

Access the range - always positive

Parameters
bvalthe 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::ostream & Acts::Extent::toStream ( std::ostream &  sl) const

Convert to output stream for screen output

Parameters
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<<().

+ Here is the caller graph for this function:

Member Data Documentation

constexpr Range Acts::Extent::maxrange = {maxval, -maxval}
static

Start value.

Definition at line 33 of file Extent.hpp.

View newest version in sPHENIX GitHub at line 33 of file Extent.hpp

constexpr double Acts::Extent::maxval = std::numeric_limits<double>::max()
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 = std::vector<Range>(9, maxrange)

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().


The documentation for this struct was generated from the following files: