![]() |
Project
|
Helper class for drawing the IDCs. More...
#include <IDCAverageGroupHelper.h>
Inherits o2::tpc::IDCGroupHelperRegion.
Public Member Functions | |
IDCAverageGroupHelper (const unsigned char groupPads, const unsigned char groupRows, const unsigned char groupLastRowsThreshold, const unsigned char groupLastPadsThreshold, const unsigned int groupNotnPadsSectorEdges, const unsigned int region, const unsigned int nPads, const PadRegionInfo &padInf, TH2Poly &poly) | |
![]() | |
IDCGroupHelperRegion (const unsigned char groupPads, const unsigned char groupRows, const unsigned char groupLastRowsThreshold, const unsigned char groupLastPadsThreshold, const unsigned int groupNotnPadsSectorEdges, const unsigned int region) | |
IDCGroupHelperRegion ()=default | |
default constructor for ROOT I/O | |
unsigned int | getNRows () const |
unsigned int | getPadsPerRow (const unsigned int glrow) const |
const std::vector< unsigned int > & | getPadsPerRow () const |
const std::vector< unsigned int > & | getRowOffset () const |
unsigned int | getGroupPads () const |
unsigned int | getGroupRows () const |
unsigned int | getGroupLastRowsThreshold () const |
unsigned int | getGroupLastPadsThreshold () const |
unsigned int | getGroupPadsSectorEdges () const |
unsigned int | getRegion () const |
unsigned int | getNIDCsPerIntegrationInterval () const |
unsigned int | getGroupedRow (const unsigned int ulrow) const |
unsigned int | getGroupedPad (const unsigned int pad, const unsigned int ulrow) const |
unsigned int | getIndex (const unsigned int glrow, const unsigned int pad, unsigned int integrationInterval) const |
unsigned int | getIndexUngrouped (const unsigned int ulrow, const unsigned int upad, unsigned int integrationInterval) const |
int | getOffsetForEdgePad (const unsigned int upad, const unsigned int ulrow) const |
unsigned int | getIndexUngroupedGlob (const unsigned int ugrow, const unsigned int upad, unsigned int integrationInterval) const |
unsigned int | getGlobalPadNumber (const unsigned int ulrow, const unsigned int pad) const |
unsigned int | getLastRow () const |
unsigned int | getLastPad (const unsigned int ulrow) const |
void | dumpToFile (const char *outFileName="IDCGroupHelperRegion.root", const char *outName="IDCGroupHelperRegion") const |
unsigned int | getGroupedPadsSectorEdges () const |
unsigned int | getTotalGroupPadsSectorEdges () const |
EdgePadGroupingMethod | getEdgePadGroupingType () const |
unsigned int | getPadsInGroupSectorEdges (const unsigned indexGroup) const |
Public Attributes | |
std::vector< int > | mCountDraw |
counter to keep track of the already drawn pads | |
const PadRegionInfo & | mPadInf |
object for storing pad region information | |
TH2Poly & | mPoly |
TH2Poly which will be used/filled for drawing. | |
int | mGroupCounter = 0 |
counter for drawing the group index | |
int | mCol = 0 |
counter for drawing the color of each group | |
const std::array< int, 4 > | mColors {1, 2, 3, 4} |
colors (TH2Poly will be filled with these values) | |
Additional Inherited Members | |
![]() | |
static unsigned int | getGroupedRow (const unsigned int ulrow, const unsigned int groupRows, const unsigned int groupedrows) |
static unsigned int | getGroupedPad (const unsigned int upad, const unsigned int ulrow, const unsigned int region, const unsigned int groupPads, const unsigned int groupRows, const unsigned int groupedrows, const unsigned int groupPadsSectorEdges, const std::vector< unsigned int > &padsPerRow) |
static int | getOffsetForEdgePad (const unsigned int upad, const unsigned int ulrow, const unsigned int groupRows, const unsigned int groupPadsSectorEdges, const unsigned int region, const int lastRow) |
static bool | isSectorEdgePad (const unsigned int upad, const unsigned int ulrow, const unsigned int region, const unsigned int groupPadsSectorEdges) |
static unsigned int | getLastPad (const unsigned int ulrow, const unsigned int region, const unsigned char groupPads, const unsigned char groupLastPadsThreshold, const unsigned int groupPadsSectorEdges) |
static unsigned int | getIndexGroupPadsSectorEdges (const unsigned int groupPadsSectorEdges, const unsigned int urelpad) |
![]() | |
void | setRows (const unsigned int nRows) |
set number of grouped rows | |
void | initIDCGroupHelperRegion () |
initialize members | |
unsigned int | getIndexGroupPadsSectorEdges (const unsigned int urelpad) |
![]() | |
static unsigned int | getIndexGroupPadsSectorEdges (const unsigned int groupPadsSectorEdges, const unsigned int urelpad, const unsigned int count) |
helper function for getIndexGroupPadsSectorEdges(unsigned int groupPadsSectorEdges, const unsigned int urelpad) | |
![]() | |
const unsigned char | mGroupPads {} |
grouping parameter in pad direction (how many pads in pad direction are grouped) | |
const unsigned char | mGroupRows {} |
grouping parameter in pad direction (how many pads in pad direction are grouped) | |
const unsigned char | mGroupLastRowsThreshold {} |
if the last group (region edges) consists in row direction less then mGroupLastRowsThreshold pads then it will be grouped into the previous group | |
const unsigned char | mGroupLastPadsThreshold {} |
if the last group (sector edges) consists in pad direction less then mGroupLastPadsThreshold pads then it will be grouped into the previous group | |
const unsigned int | mGroupPadsSectorEdges {} |
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) | |
const unsigned int | mRegion {} |
region of input IDCs | |
unsigned int | mNIDCsPerCRU {} |
total number of IDCs per CRU per integration interval | |
unsigned int | mRows {} |
number of grouped rows | |
std::vector< unsigned int > | mPadsPerRow {} |
number of grouped pads per grouped row | |
std::vector< unsigned int > | mOffsRow {} |
offset to calculate the index in the data from grouped row and grouped pad | |
Helper class for drawing the IDCs.
Definition at line 290 of file IDCAverageGroupHelper.h.
|
inline |
Definition at line 293 of file IDCAverageGroupHelper.h.
int o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mCol = 0 |
counter for drawing the color of each group
Definition at line 300 of file IDCAverageGroupHelper.h.
const std::array<int, 4> o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mColors {1, 2, 3, 4} |
colors (TH2Poly will be filled with these values)
Definition at line 301 of file IDCAverageGroupHelper.h.
std::vector<int> o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mCountDraw |
counter to keep track of the already drawn pads
Definition at line 296 of file IDCAverageGroupHelper.h.
int o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mGroupCounter = 0 |
counter for drawing the group index
Definition at line 299 of file IDCAverageGroupHelper.h.
const PadRegionInfo& o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mPadInf |
object for storing pad region information
Definition at line 297 of file IDCAverageGroupHelper.h.
TH2Poly& o2::tpc::IDCAverageGroupHelper< IDCAverageGroupDraw >::mPoly |
TH2Poly which will be used/filled for drawing.
Definition at line 298 of file IDCAverageGroupHelper.h.