14#ifndef ALICEO2_TPCCLUSSELECTOR_H
15#define ALICEO2_TPCCLUSSELECTOR_H
23class ClusterNativeAccess;
60 for (
auto& s : mSectors)
63 size_t getIndex(
int sec,
int row, uint32_t icl)
const {
return mSectors[sec].rows[
row][icl]; }
74 static constexpr int NRows = 152;
75 std::array<std::vector<uint16_t>, NRows>
rows;
83 static constexpr int NSectors = 36;
84 std::array<Sector, NSectors> mSectors{};
87 ClassDefNV(TPCClusSelector, 1);
size_t getIndex(int sec, int row, uint32_t icl) const
std::pair< int, int > findClustersRange(int sec, int row, float tbmin, float tbmax, const o2::tpc::ClusterNativeAccess &tpcClusterIdxStruct)
void fill(const o2::tpc::ClusterNativeAccess &tpcClusterIdxStruct)
int findClustersEntries(int sec, int row, float tbmin, float tbmax, float padmin, float padmax, const o2::tpc::ClusterNativeAccess &tpcClusterIdxStruct, std::vector< int > *clIDDirect=nullptr)
Global TPC definitions and constants.
std::vector< ReadoutWindowData > rows