Helper class for accessing grouped pads for one sector.
More...
#include <IDCGroupHelperSector.h>
Inherited by o2::tpc::IDCFactorization.
|
| IDCGroupHelperSector (const std::array< unsigned char, Mapper::NREGIONS > &groupPads, const std::array< unsigned char, Mapper::NREGIONS > &groupRows, const std::array< unsigned char, Mapper::NREGIONS > &groupLastRowsThreshold, const std::array< unsigned char, Mapper::NREGIONS > &groupLastPadsThreshold, const unsigned int groupNotnPadsSectorEdges) |
|
| IDCGroupHelperSector (const ParameterIDCGroupCCDB &groupingParameter) |
|
| IDCGroupHelperSector ()=default |
| default constructor for ROOT I/O
|
|
unsigned int | getIndexGrouped (const unsigned int sector, const unsigned int region, const unsigned int glrow, const unsigned int pad, unsigned int integrationInterval) const |
|
unsigned int | getIndexUngrouped (const unsigned int sector, const unsigned int region, unsigned int ulrow, unsigned int upad, unsigned int integrationInterval) const |
|
int | getOffsetForEdgePad (const unsigned int upad, const unsigned int ulrow, const unsigned int region) const |
|
unsigned int | getIndexUngroupedGlobal (const unsigned int sector, const unsigned int region, unsigned int ugrow, unsigned int upad, unsigned int integrationInterval) const |
|
unsigned int | getGroupedPad (const unsigned int region, unsigned int ulrow, unsigned int upad) const |
|
unsigned int | getGroupedRow (const unsigned int region, unsigned int ulrow) const |
|
const auto & | getGroupingParameter () const |
|
unsigned int | getNIDCs (const unsigned int region) const |
|
unsigned int | getNRows (const unsigned int region) const |
|
unsigned int | getRegionOffset (const unsigned int region) const |
|
unsigned int | getNIDCsPerSector () const |
|
unsigned int | getLastRow (const unsigned int region) const |
|
unsigned int | getLastPad (const unsigned int region, const unsigned int ulrow) const |
|
unsigned int | getOffsRow (const unsigned int region, const unsigned int glrow) const |
|
unsigned | getPadsPerRow (const unsigned int region, const unsigned int glrow) const |
|
Helper class for accessing grouped pads for one sector.
Definition at line 28 of file IDCGroupHelperSector.h.
◆ IDCGroupHelperSector() [1/3]
constructor
- Parameters
-
groupPads | number of pads in pad direction which will be grouped |
groupRows | number of pads in row direction which will be grouped |
groupLastRowsThreshold | minimum number of pads in row direction for the last group in row direction |
groupLastPadsThreshold | minimum number of pads in pad direction for the last group in pad direction |
Definition at line 36 of file IDCGroupHelperSector.h.
◆ IDCGroupHelperSector() [2/3]
constructor
- Parameters
-
groupingParameter | struct holding the grouping parameter |
Definition at line 41 of file IDCGroupHelperSector.h.
◆ IDCGroupHelperSector() [3/3]
o2::tpc::IDCGroupHelperSector::IDCGroupHelperSector |
( |
| ) |
|
|
default |
default constructor for ROOT I/O
◆ getGroupedPad()
unsigned int o2::tpc::IDCGroupHelperSector::getGroupedPad |
( |
const unsigned int |
region, |
|
|
unsigned int |
ulrow, |
|
|
unsigned int |
upad |
|
) |
| const |
- Returns
- returns grouped pad for ungrouped row and pad
- Parameters
-
region | region |
ulrow | local ungrouped row in a region |
upad | ungrouped pad |
Definition at line 16 of file IDCGroupHelperSector.cxx.
◆ getGroupedRow()
unsigned int o2::tpc::IDCGroupHelperSector::getGroupedRow |
( |
const unsigned int |
region, |
|
|
unsigned int |
ulrow |
|
) |
| const |
- Returns
- returns the row of the group from the local ungrouped row in a region
- Parameters
-
region | region |
ulrow | local ungrouped row in a region |
Definition at line 21 of file IDCGroupHelperSector.cxx.
◆ getGroupingParameter()
const auto & o2::tpc::IDCGroupHelperSector::getGroupingParameter |
( |
| ) |
const |
|
inline |
◆ getIndexGrouped()
unsigned int o2::tpc::IDCGroupHelperSector::getIndexGrouped |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
region, |
|
|
const unsigned int |
glrow, |
|
|
const unsigned int |
pad, |
|
|
unsigned int |
integrationInterval |
|
) |
| const |
|
inline |
- Returns
- returns index to the data
- Parameters
-
sector | sector |
region | TPC region |
glrow | grouped local row |
pad | pad of the grouped IDCs |
integrationInterval | integration interval |
Definition at line 52 of file IDCGroupHelperSector.h.
◆ getIndexUngrouped()
unsigned int o2::tpc::IDCGroupHelperSector::getIndexUngrouped |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
region, |
|
|
unsigned int |
ulrow, |
|
|
unsigned int |
upad, |
|
|
unsigned int |
integrationInterval |
|
) |
| const |
|
inline |
- Returns
- returns the index to the grouped data with ungrouped inputs
- Parameters
-
sector | sector |
region | TPC region |
ulrow | local row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 60 of file IDCGroupHelperSector.h.
◆ getIndexUngroupedGlobal()
unsigned int o2::tpc::IDCGroupHelperSector::getIndexUngroupedGlobal |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
region, |
|
|
unsigned int |
ugrow, |
|
|
unsigned int |
upad, |
|
|
unsigned int |
integrationInterval |
|
) |
| const |
|
inline |
- Returns
- returns the index to the grouped data with ungrouped inputs
- Parameters
-
sector | sector |
region | TPC region |
ugrow | global row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 75 of file IDCGroupHelperSector.h.
◆ getLastPad()
unsigned int o2::tpc::IDCGroupHelperSector::getLastPad |
( |
const unsigned int |
region, |
|
|
const unsigned int |
ulrow |
|
) |
| const |
◆ getLastRow()
unsigned int o2::tpc::IDCGroupHelperSector::getLastRow |
( |
const unsigned int |
region | ) |
const |
◆ getNIDCs()
unsigned int o2::tpc::IDCGroupHelperSector::getNIDCs |
( |
const unsigned int |
region | ) |
const |
|
inline |
◆ getNIDCsPerSector()
unsigned int o2::tpc::IDCGroupHelperSector::getNIDCsPerSector |
( |
| ) |
const |
|
inline |
◆ getNRows()
unsigned int o2::tpc::IDCGroupHelperSector::getNRows |
( |
const unsigned int |
region | ) |
const |
|
inline |
◆ getOffsetForEdgePad()
int o2::tpc::IDCGroupHelperSector::getOffsetForEdgePad |
( |
const unsigned int |
upad, |
|
|
const unsigned int |
ulrow, |
|
|
const unsigned int |
region |
|
) |
| const |
- Returns
- returns offset of the index for a pad which is not grouped (in the region where mGroupPadsSectorEdges is true). returns for pads near local pad number = 0 negative value and for pads near local pad number = max value positive value
- Parameters
-
upad | pad number of the ungrouped IDCs |
ulrow | local row of the ungrouped IDCs |
region | TPC region |
Definition at line 59 of file IDCGroupHelperSector.cxx.
◆ getOffsRow()
unsigned int o2::tpc::IDCGroupHelperSector::getOffsRow |
( |
const unsigned int |
region, |
|
|
const unsigned int |
glrow |
|
) |
| const |
|
inline |
◆ getPadsPerRow()
unsigned o2::tpc::IDCGroupHelperSector::getPadsPerRow |
( |
const unsigned int |
region, |
|
|
const unsigned int |
glrow |
|
) |
| const |
|
inline |
◆ getRegionOffset()
unsigned int o2::tpc::IDCGroupHelperSector::getRegionOffset |
( |
const unsigned int |
region | ) |
const |
|
inline |
◆ getUngroupedIndexGlobal()
static unsigned int o2::tpc::IDCGroupHelperSector::getUngroupedIndexGlobal |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
region, |
|
|
unsigned int |
urow, |
|
|
unsigned int |
upad, |
|
|
unsigned int |
integrationInterval |
|
) |
| |
|
inlinestatic |
- Returns
- returns index to ungrouped data from ungrouped pad and row
- Parameters
-
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 124 of file IDCGroupHelperSector.h.
◆ initIDCGroupHelperSector()
void o2::tpc::IDCGroupHelperSector::initIDCGroupHelperSector |
( |
| ) |
|
|
protected |
◆ mGroupingPar
◆ mNIDCsPerCRU
◆ mNIDCsPerSector
unsigned int o2::tpc::IDCGroupHelperSector::mNIDCsPerSector {} |
|
protected |
◆ mOffsRow
std::array<std::vector<unsigned int>, Mapper::NREGIONS> o2::tpc::IDCGroupHelperSector::mOffsRow {} |
|
protected |
◆ mPadsPerRow
std::array<std::vector<unsigned int>, Mapper::NREGIONS> o2::tpc::IDCGroupHelperSector::mPadsPerRow {} |
|
protected |
◆ mRegionOffs
◆ mRows
The documentation for this class was generated from the following files: