Struct Acts::SingleSeedVertexFinder::SortedSpacepoints

struct SortedSpacepoints

Struct to store sorted spacepoints for each layer (near, middle, and far), for each slice of phi, and for each slice of z.

Public Functions

inline SortedSpacepoints(const int phiSize, const int zSize)
inline std::vector<std::pair<spacepoint_t const*, Acts::ActsScalar>> &addSP(int layer, int phi, int z)

Provides non-const vector of spacepoints for a given layer, phi slice, and z slice.

Parameters
  • layer – Index of the layer (near=0, middle=1, far=2)

  • phi – Index of the phi slice

  • z – Index of the z slice

Returns

Non-const vector of spacepoints

inline const std::vector<std::pair<spacepoint_t const*, Acts::ActsScalar>> &getSP(int layer, int phi, int z) const

Provides const vector of spacepoints for a given layer, phi slice, and z slice.

Parameters
  • layer – Index of the layer (near=0, middle=1, far=2)

  • phi – Index of the phi slice

  • z – Index of the z slice

Returns

Const vector of spacepoints

Public Members

std::array<std::vector<std::vector<std::vector<std::pair<spacepoint_t const*, Acts::ActsScalar>>>>, 3> sortedSP