18 std::function<
float(
const unsigned int,
const unsigned int,
const unsigned int,
const unsigned int)> idcFunc = [
this, integrationInterval](
const unsigned int,
const unsigned int region,
const unsigned int row,
const unsigned int pad) {
19 return this->getUngroupedNormedIDCValLocal(
row, pad, integrationInterval);
22 IDCDrawHelper::IDCDraw drawFun;
23 drawFun.mIDCFunc = idcFunc;
24 const std::string zAxisTitle = IDCDrawHelper::getZAxisTitle(IDCType::IDC);
25 IDCDrawHelper::drawSector(drawFun, this->mIDCsGrouped.getRegion(),
this->mIDCsGrouped.getRegion() + 1, 0, zAxisTitle,
filename);
30 mIDCsUngrouped = idcs;
31 mIDCsGrouped.resize(getNIntegrationIntervals());
36 mIDCsUngrouped = std::move(idcs);
37 mIDCsGrouped.resize(getNIntegrationIntervals());
42 std::function<
float(
const unsigned int,
const unsigned int,
const unsigned int,
const unsigned int)> idcFunc = [
this, integrationInterval, grouped](
const unsigned int sector,
const unsigned int region,
const unsigned int irow,
const unsigned int pad) {
43 return grouped ? this->getGroupedIDCDeltaVal(sector, region, irow, pad, integrationInterval) :
this->getUngroupedIDCDeltaVal(sector, region, irow, pad, integrationInterval);
45 IDCDrawHelper::IDCDraw drawFun;
46 drawFun.mIDCFunc = idcFunc;
47 const std::string zAxisTitle = IDCDrawHelper::getZAxisTitle(IDCType::IDCDelta, IDCDeltaCompression::NO);
48 type ? IDCDrawHelper::drawSide(drawFun, sector.side(), zAxisTitle,
filename) : IDCDrawHelper::drawSector(drawFun, 0, Mapper::NREGIONS, sector, zAxisTitle,
filename);
53 const unsigned int nIDCs = mIDCGroupHelperSector.getNIDCsPerSector() *
SECTORSPERSIDE * getNIntegrationIntervals();
54 mIDCsGrouped.resize(nIDCs);
60 mIDCsUngrouped = idcs;
67 mIDCsUngrouped = std::move(idcs);
73 std::fill(mIDCsGrouped.getIDCDelta().begin(), mIDCsGrouped.getIDCDelta().end(), 0);
base class for averaging and grouping of IDCs
helper class for drawing IDCs per region/side
Helper class for either perform the grouping or draw the grouping.
GLint GLint GLsizei GLint GLenum GLenum type
constexpr unsigned char SECTORSPERSIDE