Project
Loading...
Searching...
No Matches
o2::tpc::ParameterIDCGroupCCDB Struct Reference

struct for storing the parameters for the grouping of IDCs to CCDB More...

#include <IDCGroupingParameter.h>

Public Member Functions

 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
 

Public Attributes

std::array< unsigned char, Mapper::NREGIONSgroupPads {}
 grouping parameter in pad direction (how many pads in pad direction are grouped)
 
std::array< unsigned char, Mapper::NREGIONSgroupRows {}
 grouping parameter in pad direction (how many pads in pad direction are grouped)
 
std::array< unsigned char, Mapper::NREGIONSgroupLastRowsThreshold {}
 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::NREGIONSgroupLastPadsThreshold {}
 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)
 

Detailed Description

struct for storing the parameters for the grouping of IDCs to CCDB

Definition at line 94 of file IDCGroupingParameter.h.

Constructor & Destructor Documentation

◆ ParameterIDCGroupCCDB() [1/2]

o2::tpc::ParameterIDCGroupCCDB::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 
)
inline

contructor

Parameters
groupPadsnumber of pads in pad direction which are grouped
groupRowsnumber of pads in row direction which are grouped
groupLastRowsThresholdminimum number of pads in row direction for the last group in row direction
groupLastPadsThresholdminimum number of pads in pad direction for the last group in pad direction
groupNotnPadsSectorEdgesnumber 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

Member Function Documentation

◆ getEdgePadGroupingType()

EdgePadGroupingMethod o2::tpc::ParameterIDCGroupCCDB::getEdgePadGroupingType ( ) const
inline
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
groupPadsSectorEdgesdecoded 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
groupindex of the group

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.

Member Data Documentation

◆ 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

std::array<unsigned char, Mapper::NREGIONS> o2::tpc::ParameterIDCGroupCCDB::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

std::array<unsigned char, Mapper::NREGIONS> o2::tpc::ParameterIDCGroupCCDB::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: