55 , fGridNbinsX(fGrid.GetNofBinsX())
A class to store hit information in a backet-sorted way on 2D grid.
A generic hit for the CA tracker (header)
Class for accessing objects in the 2D area that are stored in ca::Grid.
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.
const ca::Vector< ca::GridEntry > & GetEntries() const
Get number of entries in the bin.
ca::HitIndex_t GetFirstBinEntryIndex(int bin) const
Get index of the first bin entry in fHitsInBin array.
int GetBinY(fscal Y) const
Get bin Y index with boundary check.
int GetBinX(fscal X) const
Get bin X index with boundary check.
TODO: SZh 8.11.2022: add selection of parameterisation.
unsigned int HitIndex_t
Index of ca::Hit.