Struct Extent

Struct Documentation

struct Acts::Extent

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/.

Public Functions

Extent() = default
void check(const Vector3D &vtx)

Check the vertex.

Parameters
  • vtx: the Vertex to be checked

void extend(const Extent &other)

Extend with another extent.

Parameters
  • other: is the source Extent

double max(BinningValue bval) const

Access the max parameter.

Parameters
  • bval: the binning identification

double medium(BinningValue bval) const

Access the medium parameter.

Parameters
  • bval: the binning identification

double min(BinningValue bval) const

Access the minimum parameter.

Parameters
  • bval: the binning identification

double range(BinningValue bval) const

Access the range - always positive.

Parameters
  • bval: the binning identification

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

Convert to output stream for screen output.

Parameters
  • sl: [in,out] The output stream

Public Members

std::vector<Range> ranges = std::vector<Range>(9, maxrange)

Public Static Attributes

constexpr Range maxrange = {maxval, -maxval}

Start value.

constexpr double maxval = std::numeric_limits<double>::max()

Possible maximal value.