class for averaging and grouping the DeltaIDCs (grouping of A- or C-side)
More...
#include <IDCAverageGroupBase.h>
|
| IDCAverageGroupBase (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, const int nThreads) |
|
unsigned int | getNIntegrationIntervals () const |
|
const auto & | getIDCGroupData () const & |
|
auto | getIDCGroupData () && |
|
const auto & | getIDCUngroupData () const & |
|
auto & | getIDCGroupHelperSector () const |
|
unsigned int | getUngroupedIndexGlobal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int integrationInterval) const |
|
float | getGroupedIDCDeltaVal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int integrationInterval) const |
|
float | getUngroupedIDCDeltaVal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int integrationInterval) const |
|
void | drawGroupedIDCsSector (const unsigned int sector, const unsigned int integrationInterval, const std::string filename="IDCDeltaGroupedSector.pdf") const |
|
void | drawUngroupedIDCsSector (const unsigned int sector, const unsigned int integrationInterval, const std::string filename="IDCDeltaUngroupedSector.pdf") const |
|
void | drawGroupedIDCsSide (const unsigned int integrationInterval, const std::string filename="IDCDeltaGroupedSide.pdf") const |
|
void | drawUngroupedIDCsSide (const unsigned int integrationInterval, const std::string filename="IDCDeltaUngroupedSide.pdf") const |
|
void | setIDCs (const IDCDelta< float > &idcs, const Side side) |
|
void | setIDCs (IDCDelta< float > &&idcs, const Side side) |
|
Side | getSide () const |
|
void | resetGroupedIDCs () |
| resetting the grouped IDCs
|
|
class for averaging and grouping the DeltaIDCs (grouping of A- or C-side)
Definition at line 128 of file IDCAverageGroupBase.h.
◆ IDCAverageGroupBase()
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 |
nThreads | number of CPU threads used |
Definition at line 137 of file IDCAverageGroupBase.h.
◆ drawGroupedIDCsSector()
void o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::drawGroupedIDCsSector |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
integrationInterval, |
|
|
const std::string |
filename = "IDCDeltaGroupedSector.pdf" |
|
) |
| const |
|
inline |
draw IDCDelta for one sector for one integration interval
- Parameters
-
sector | sector which will be drawn |
integrationInterval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 183 of file IDCAverageGroupBase.h.
◆ drawGroupedIDCsSide()
void o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::drawGroupedIDCsSide |
( |
const unsigned int |
integrationInterval, |
|
|
const std::string |
filename = "IDCDeltaGroupedSide.pdf" |
|
) |
| const |
|
inline |
draw IDCs for one side for one integration interval
- Parameters
-
integrationInterval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 194 of file IDCAverageGroupBase.h.
◆ drawIDCDeltaHelper()
void o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::drawIDCDeltaHelper |
( |
const bool |
type, |
|
|
const Sector |
sector, |
|
|
const unsigned int |
integrationInterval, |
|
|
const bool |
grouped, |
|
|
const std::string |
filename |
|
) |
| const |
|
protected |
◆ drawUngroupedIDCsSector()
void o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::drawUngroupedIDCsSector |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
integrationInterval, |
|
|
const std::string |
filename = "IDCDeltaUngroupedSector.pdf" |
|
) |
| const |
|
inline |
draw IDCDelta for one sector for one integration interval
- Parameters
-
sector | sector which will be drawn |
integrationInterval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 189 of file IDCAverageGroupBase.h.
◆ drawUngroupedIDCsSide()
void o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::drawUngroupedIDCsSide |
( |
const unsigned int |
integrationInterval, |
|
|
const std::string |
filename = "IDCDeltaUngroupedSide.pdf" |
|
) |
| const |
|
inline |
draw IDCs for one side for one integration interval
- Parameters
-
integrationInterval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 199 of file IDCAverageGroupBase.h.
◆ getGroupedIDCDeltaVal()
- Returns
- returns the stored DeltaIDC value for local ungrouped pad row and ungrouped pad
- Parameters
-
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 169 of file IDCAverageGroupBase.h.
◆ getIDCGroupData() [1/2]
◆ getIDCGroupData() [2/2]
◆ getIDCGroupHelperSector()
- Returns
- returns helper object containing the grouping parameters and accessing of data indices
Definition at line 153 of file IDCAverageGroupBase.h.
◆ getIDCUngroupData()
◆ getNIntegrationIntervals()
- Returns
- returns number of integration intervalls stored in this object
Definition at line 141 of file IDCAverageGroupBase.h.
◆ getSide()
◆ getUngroupedIDCDeltaVal()
float o2::tpc::IDCAverageGroupBase< IDCAverageGroupTPC >::getUngroupedIDCDeltaVal |
( |
const unsigned int |
sector, |
|
|
const unsigned int |
region, |
|
|
unsigned int |
urow, |
|
|
unsigned int |
upad, |
|
|
unsigned int |
integrationInterval |
|
) |
| const |
|
inline |
- Returns
- returns the stored DeltaIDC value for local ungrouped pad row and ungrouped pad
- Parameters
-
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 177 of file IDCAverageGroupBase.h.
◆ getUngroupedIndexGlobal()
- Returns
- returns index to 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 161 of file IDCAverageGroupBase.h.
◆ resetGroupedIDCs()
resetting the grouped IDCs
◆ resizeGroupedIDCs()
set correct size for grouped IDCs
◆ setIDCs() [1/2]
setting the ungrouped IDCs using copy constructor
- Parameters
-
idcs | vector containing the ungrouped IDCs |
side | TPC side of the IDCs |
◆ setIDCs() [2/2]
setting the ungrouped IDCs using move semantics
- Parameters
-
idcs | vector containing the ungrouped IDCs |
side | TPC side of the IDCs |
◆ mIDCGroupHelperSector
helper object containing the grouping parameter and methods for accessing data indices
Definition at line 219 of file IDCAverageGroupBase.h.
◆ mIDCsGrouped
◆ mIDCsUngrouped
◆ mRobustAverage
◆ mSide
◆ mWeightsPad
◆ mWeightsRow
The documentation for this class was generated from the following file: