57 int binXmin =
fGrid.GetBinX(
x - dx);
58 int binXmax =
fGrid.GetBinX(
x + dx);
59 int binYmin =
fGrid.GetBinY(
y - dy);
60 int binYmax =
fGrid.GetBinY(
y + dy);
77 while (kfutils::IsUnlikely(xIndexOutOfRange)) {
98 objectId =
fGrid.GetEntries()[entryIndex].GetObjectId();
A class to store hit information in a backet-sorted way on 2D grid.
A generic hit for the CA tracker (header)
bool GetNextObjectId(ca::HitIndex_t &objectId)
look up the next object id in the requested area
void DoLoopOverEntireGrid()
debug mode: loop over the entire GetEntries() vector ignoring the search area
bool GetNextGridEntry(ca::HitIndex_t &ind)
look up the next grid entry in the requested area
GridArea(const ca::Grid &grid, fscal x, fscal y, fscal dx, fscal dy)
Constructor.
ca::HitIndex_t fCurentEntry
ca::HitIndex_t fEntriesXend
Class for storing 2d objects in a grid.
TODO: SZh 8.11.2022: add selection of parameterisation.
unsigned int HitIndex_t
Index of ca::Hit.