struct for storing the parameters for the grouping of IDCs to CCDB
More...
#include <IDCGroupingParameter.h>
|
| ParameterIDCGroupCCDB (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) |
|
| ParameterIDCGroupCCDB ()=default |
|
unsigned char | getGroupPads (const unsigned int region) const |
|
unsigned char | getGroupRows (const unsigned int region) const |
|
unsigned char | getGroupLastRowsThreshold (const unsigned int region) const |
|
unsigned char | getGroupLastPadsThreshold (const unsigned int region) const |
|
unsigned int | getGroupPadsSectorEdges () const |
|
unsigned int | getTotalGroupPadsSectorEdges () const |
| returns total number of pads which are grouped separately: calculate sum of all digits in integer value (example: 0: returns 0, 11: returns 2, 321: returns 6)
|
|
unsigned int | getGroupedPadsSectorEdges () const |
|
const std::array< unsigned char, Mapper::NREGIONS > & | getGroupPads () const |
|
const std::array< unsigned char, Mapper::NREGIONS > & | getGroupRows () const |
|
const std::array< unsigned char, Mapper::NREGIONS > & | getGroupLastRowsThreshold () const |
|
const std::array< unsigned char, Mapper::NREGIONS > & | getGroupLastPadsThreshold () const |
|
EdgePadGroupingMethod | getEdgePadGroupingType () const |
|
unsigned int | getPadsInGroupSectorEdges (const unsigned indexGroup) const |
|
|
std::array< unsigned char, Mapper::NREGIONS > | groupPads {} |
| grouping parameter in pad direction (how many pads in pad direction are grouped)
|
|
std::array< unsigned char, Mapper::NREGIONS > | groupRows {} |
| grouping parameter in pad direction (how many pads in pad direction are grouped)
|
|
std::array< unsigned char, Mapper::NREGIONS > | groupLastRowsThreshold {} |
| if the last group (region edges) consists in row direction less then mGroupLastRowsThreshold pads then it will be grouped into the previous group
|
|
std::array< unsigned char, Mapper::NREGIONS > | groupLastPadsThreshold {} |
| if the last group (sector edges) consists in pad direction less then mGroupLastPadsThreshold pads then it will be grouped into the previous group
|
|
unsigned int | groupPadsSectorEdges {0} |
| decoded number of pads at the sector edges which are grouped differently (example: 0: no pads are grouped, 11: first two pads are not grouped, 321: first pad is not grouped, second + third pads are grouped, fourth + fifth + sixth pads are grouped)
|
|
struct for storing the parameters for the grouping of IDCs to CCDB
Definition at line 94 of file IDCGroupingParameter.h.
◆ ParameterIDCGroupCCDB() [1/2]
contructor
- Parameters
-
groupPads | number of pads in pad direction which are grouped |
groupRows | number of pads in row direction which are 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 |
groupNotnPadsSectorEdges | number of pads at the sector edges which are not getting grouped |
Definition at line 102 of file IDCGroupingParameter.h.
◆ ParameterIDCGroupCCDB() [2/2]
o2::tpc::ParameterIDCGroupCCDB::ParameterIDCGroupCCDB |
( |
| ) |
|
|
default |
◆ getEdgePadGroupingType()
- Returns
- returns which type of grouping is performed for the sector edge pads
Definition at line 146 of file IDCGroupingParameter.h.
◆ getGroupedPadsSectorEdges()
unsigned int o2::tpc::ParameterIDCGroupCCDB::getGroupedPadsSectorEdges |
( |
| ) |
const |
|
inline |
- Returns
- returns the number of differently grouped pads per row: returns sum of digits in integer whoch are not 0 (example: 0: returns 0, 11: returns 2, 321: returns 3)
- Parameters
-
groupPadsSectorEdges | decoded number of pads at the sector edges which are grouped differently |
Definition at line 131 of file IDCGroupingParameter.h.
◆ getGroupLastPadsThreshold() [1/2]
const std::array< unsigned char, Mapper::NREGIONS > & o2::tpc::ParameterIDCGroupCCDB::getGroupLastPadsThreshold |
( |
| ) |
const |
|
inline |
- Returns
- returns minimum number of pads in pad direction for the last group in pad direction for all regions
Definition at line 143 of file IDCGroupingParameter.h.
◆ getGroupLastPadsThreshold() [2/2]
unsigned char o2::tpc::ParameterIDCGroupCCDB::getGroupLastPadsThreshold |
( |
const unsigned int |
region | ) |
const |
|
inline |
- Returns
- returns minimum number of pads in pad direction for the last group in pad direction \parameter region TPC region
Definition at line 121 of file IDCGroupingParameter.h.
◆ getGroupLastRowsThreshold() [1/2]
const std::array< unsigned char, Mapper::NREGIONS > & o2::tpc::ParameterIDCGroupCCDB::getGroupLastRowsThreshold |
( |
| ) |
const |
|
inline |
- Returns
- returns minimum number of pads in row direction for the last group in row direction for all regions
Definition at line 140 of file IDCGroupingParameter.h.
◆ getGroupLastRowsThreshold() [2/2]
unsigned char o2::tpc::ParameterIDCGroupCCDB::getGroupLastRowsThreshold |
( |
const unsigned int |
region | ) |
const |
|
inline |
- Returns
- returns minimum number of pads in row direction for the last group in row direction \parameter region TPC region
Definition at line 117 of file IDCGroupingParameter.h.
◆ getGroupPads() [1/2]
const std::array< unsigned char, Mapper::NREGIONS > & o2::tpc::ParameterIDCGroupCCDB::getGroupPads |
( |
| ) |
const |
|
inline |
- Returns
- returns number of pads in pad direction which are grouped for all regions
Definition at line 134 of file IDCGroupingParameter.h.
◆ getGroupPads() [2/2]
unsigned char o2::tpc::ParameterIDCGroupCCDB::getGroupPads |
( |
const unsigned int |
region | ) |
const |
|
inline |
- Returns
- returns number of pads in pad direction which are grouped \parameter region TPC region
Definition at line 109 of file IDCGroupingParameter.h.
◆ getGroupPadsSectorEdges()
unsigned int o2::tpc::ParameterIDCGroupCCDB::getGroupPadsSectorEdges |
( |
| ) |
const |
|
inline |
- Returns
- returns the number of pads at the sector edges which are not grouped
Definition at line 124 of file IDCGroupingParameter.h.
◆ getGroupRows() [1/2]
const std::array< unsigned char, Mapper::NREGIONS > & o2::tpc::ParameterIDCGroupCCDB::getGroupRows |
( |
| ) |
const |
|
inline |
- Returns
- returns number of pads in row direction which are grouped for all regions
Definition at line 137 of file IDCGroupingParameter.h.
◆ getGroupRows() [2/2]
unsigned char o2::tpc::ParameterIDCGroupCCDB::getGroupRows |
( |
const unsigned int |
region | ) |
const |
|
inline |
- Returns
- returns number of pads in row direction which are grouped \parameter region TPC region
Definition at line 113 of file IDCGroupingParameter.h.
◆ getPadsInGroupSectorEdges()
unsigned int o2::tpc::ParameterIDCGroupCCDB::getPadsInGroupSectorEdges |
( |
const unsigned |
indexGroup | ) |
const |
|
inline |
- Returns
- returns number of ungrouped pads for grouped pad (example groupPadsSectorEdges=324530: group=0 -> 3, group=1 -> 5, group=2 -> 4...
- Parameters
-
Definition at line 150 of file IDCGroupingParameter.h.
◆ getTotalGroupPadsSectorEdges()
unsigned int o2::tpc::ParameterIDCGroupCCDB::getTotalGroupPadsSectorEdges |
( |
| ) |
const |
|
inline |
returns total number of pads which are grouped separately: calculate sum of all digits in integer value (example: 0: returns 0, 11: returns 2, 321: returns 6)
Definition at line 127 of file IDCGroupingParameter.h.
◆ groupLastPadsThreshold
std::array<unsigned char, Mapper::NREGIONS> o2::tpc::ParameterIDCGroupCCDB::groupLastPadsThreshold {} |
if the last group (sector edges) consists in pad direction less then mGroupLastPadsThreshold pads then it will be grouped into the previous group
Definition at line 155 of file IDCGroupingParameter.h.
◆ groupLastRowsThreshold
std::array<unsigned char, Mapper::NREGIONS> o2::tpc::ParameterIDCGroupCCDB::groupLastRowsThreshold {} |
if the last group (region edges) consists in row direction less then mGroupLastRowsThreshold pads then it will be grouped into the previous group
Definition at line 154 of file IDCGroupingParameter.h.
◆ groupPads
grouping parameter in pad direction (how many pads in pad direction are grouped)
Definition at line 152 of file IDCGroupingParameter.h.
◆ groupPadsSectorEdges
unsigned int o2::tpc::ParameterIDCGroupCCDB::groupPadsSectorEdges {0} |
decoded number of pads at the sector edges which are grouped differently (example: 0: no pads are grouped, 11: first two pads are not grouped, 321: first pad is not grouped, second + third pads are grouped, fourth + fifth + sixth pads are grouped)
Definition at line 156 of file IDCGroupingParameter.h.
◆ groupRows
grouping parameter in pad direction (how many pads in pad direction are grouped)
Definition at line 153 of file IDCGroupingParameter.h.
The documentation for this struct was generated from the following file: