![]() |
Project
|
#include <IDCFactorization.h>
Inherits o2::tpc::IDCGroupHelperSector.
Public Member Functions | |
IDCFactorization (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 unsigned int timeFrames, const unsigned int timeframesDeltaIDC, const std::vector< uint32_t > &crus) | |
IDCFactorization (const unsigned int timeFrames, const unsigned int timeframesDeltaIDC, const std::vector< uint32_t > &crus) | |
IDCFactorization ()=default | |
default constructor for ROOT I/O | |
~IDCFactorization () | |
destructor | |
IDCFactorization (IDCFactorization &&)=default | |
default move constructor | |
void | factorizeIDCs (const bool norm, const bool calcDeltas) |
void | calcIDCZero (const bool norm) |
void | fillIDCZeroDeadPads () |
fill I_0 values in case of dead pads,FECs etc. | |
void | createStatusMapOutlier (const bool debug=false) |
void | createStatusMap () |
void | checkFECs (const float maxOutliersPerFEC=0.7) |
void | checkNeighbourOutliers (const int maxIter=10, const int nOutliersNeighbours=8) |
void | calcIDCOne () |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi} | |
void | calcIDCDelta () |
calculate \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) ) | |
float | getIDCValGrouped (const unsigned int sector, const unsigned int region, const unsigned int grow, unsigned int gpad, unsigned int integrationInterval) const |
float | getIDCValUngrouped (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int integrationInterval) const |
float | getIDCZeroVal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad) const |
float | getIDCDeltaVal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int chunk, unsigned int localintegrationInterval) const |
void | getLocalIntegrationInterval (const unsigned int integrationInterval, unsigned int &chunk, unsigned int &localintegrationInterval) const |
unsigned int | getNTimeframes () const |
unsigned long | getNIntegrationIntervalsInChunk (const unsigned int chunk) const |
unsigned long | getNIntegrationIntervalsToChunk (const unsigned int chunk) const |
unsigned long | getNIntegrationIntervals (const int cru) const |
unsigned long | getNIntegrationIntervals () const |
const std::vector< float > & | getIDCZeroVec (const o2::tpc::Side side) const |
const IDCZero & | getIDCZero (const o2::tpc::Side side) const & |
auto | getIDCZero (const o2::tpc::Side side) && |
const std::vector< float > & | getIDCOneVec (const o2::tpc::Side side) const |
const IDCOne & | getIDCOne (const o2::tpc::Side side) const |
const std::vector< float > & | getIDCDeltaValuesUncompressed (const unsigned int chunk, const o2::tpc::Side side) const |
const auto & | getIDCDeltaUncompressed (const unsigned int chunk, const Side side) const & |
auto | getIDCDeltaUncompressed (const unsigned int chunk, const Side side) && |
auto | getIDCDeltaMediumCompressed (const unsigned int chunk, const Side side) const |
auto | getIDCDeltaHighCompressed (const unsigned int chunk, const Side side) const |
unsigned int | getNChunks (const Side side) const |
const auto & | getIDCZero () const |
const auto & | getIDCOne () const & |
auto | getIDCOne () && |
const auto & | getIDCs () const |
auto | getCRUs () const |
void | setTimeStamp (const long timeStamp) |
long | getTimeStamp () const |
void | setRun (const int run) |
int | getRun () const |
unsigned int | getTimeFramesDeltaIDC () const |
void | setIDCs (std::vector< float > &&idcs, const unsigned int cru, const unsigned int timeframe) |
void | drawIDCsSector (const unsigned int sector, const unsigned int integrationInterval, const float minZ=0, const float maxZ=-1, const std::string filename="IDCsSector.pdf") const |
void | drawIDCZeroSector (const unsigned int sector, const float minZ=0, const float maxZ=-1, const std::string filename="IDCZeroSector.pdf") const |
void | drawIDCDeltaSector (const unsigned int sector, const unsigned int integrationInterval, const float minZ=0, const float maxZ=-1, const IDCDeltaCompression compression=IDCDeltaCompression::NO, const std::string filename="IDCDeltaSector.pdf") const |
void | drawIDCsSide (const o2::tpc::Side side, const unsigned int integrationInterval, const float minZ=0, const float maxZ=-1, const std::string filename="IDCsSide.pdf") const |
void | drawIDCsSideGIF (const unsigned int integrationIntervals=0, const float minZ=0, const float maxZ=-1, const int run=-1, const std::string filename="IDCsSideGIF") const |
void | drawIDCZeroSide (const o2::tpc::Side side, const float minZ=0, const float maxZ=-1, const std::string filename="IDCZeroSide.pdf") const |
void | drawIDCDeltaSide (const o2::tpc::Side side, const unsigned int integrationInterval, const float minZ=0, const float maxZ=-1, const IDCDeltaCompression compression=IDCDeltaCompression::NO, const std::string filename="IDCDeltaSide.pdf") const |
void | drawPadStatusFlagsMapSector (const unsigned int sector, const PadFlags flag=PadFlags::flagSkip, const std::string filename="PadStatusFlags_Sector.pdf") const |
void | drawPadStatusFlagsMapSide (const o2::tpc::Side side, const PadFlags flag=PadFlags::flagSkip, const std::string filename="PadStatusFlags_Side.pdf") const |
void | dumpToFile (const char *outFileName="IDCFactorized.root", const char *outName="IDCFactorized") const |
void | dumpLargeObjectToFile (const char *outFileName="IDCFactorized.root", const char *outName="IDCFactorized") const |
void | dumpIDCZeroToFile (const Side side, const char *outFileName="IDCZero.root", const char *outName="IDC0") const |
dump the IDC0 to file | |
void | dumpIDCOneToFile (const Side side, const char *outFileName="IDCOne.root", const char *outName="IDC1") const |
dump the IDC1 to file | |
void | dumpToTree (const Side side, const char *outFileName="IDCTree.root") |
void | dumpToTreeIDC1 (const float integrationTimeOrbits=12, const char *outFileName="IDC1Tree.root") const |
void | dumpIDCDeltaToTree (const Side side, const int chunk=0, const char *outFileName="IDCDeltaTree.root") |
dump IDCDelta to a TTree | |
std::vector< unsigned int > | getIntegrationIntervalsPerTF (const int cru=-1) const |
std::vector< unsigned int > | getAllIntegrationIntervalsPerTF () const |
void | reset () |
resetting aggregated IDCs | |
void | setGainMap (const char *inpFile, const char *mapName) |
void | setGainMap (const CalDet< float > &gainmap) |
setting a gain map from a file | |
void | setPadFlagMap (const char *inpFile, const char *mapName) |
void | setPadFlagMap (const CalDet< PadFlags > &flagmap) |
setting a map containing status flags for each pad | |
void | setUsePadStatusMap (const bool usePadStatusMap) |
setting the usage of the pad-by-pad status map during the factorization of the IDCs | |
bool | getUsePadStatusMap () const |
void | dumpPadFlagMap (const char *outFile, const char *mapName) |
CalDet< PadFlags > * | getPadStatusMapPtr () const |
std::unique_ptr< CalDet< PadFlags > > | getPadStatusMap () |
const std::vector< Side > & | getSides () const |
void | setIDCZero (const Side side, const IDCZero &idcZero) |
set the IDCZero object | |
void | setIDCOne (const Side side, const IDCOne &idcOne) |
set the IDCOne | |
void | setIDCDelta (const Side side, const IDCDelta< float > &idcDelta, const int index=0) |
set the IDCDelta | |
float | getMeanZ (const Side side) const |
void | normIDCZeroGain () |
normalize IDC0 with the set gain map | |
void | normIDCZeroStackMedian () |
normalize IDC0 with the median per stack | |
std::array< float, o2::tpc::GEMSTACKS > | getStackMedian () const |
![]() | |
IDCGroupHelperSector (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) | |
IDCGroupHelperSector (const ParameterIDCGroupCCDB &groupingParameter) | |
IDCGroupHelperSector ()=default | |
default constructor for ROOT I/O | |
unsigned int | getIndexGrouped (const unsigned int sector, const unsigned int region, const unsigned int glrow, const unsigned int pad, unsigned int integrationInterval) const |
unsigned int | getIndexUngrouped (const unsigned int sector, const unsigned int region, unsigned int ulrow, unsigned int upad, unsigned int integrationInterval) const |
int | getOffsetForEdgePad (const unsigned int upad, const unsigned int ulrow, const unsigned int region) const |
unsigned int | getIndexUngroupedGlobal (const unsigned int sector, const unsigned int region, unsigned int ugrow, unsigned int upad, unsigned int integrationInterval) const |
unsigned int | getGroupedPad (const unsigned int region, unsigned int ulrow, unsigned int upad) const |
unsigned int | getGroupedRow (const unsigned int region, unsigned int ulrow) const |
const auto & | getGroupingParameter () const |
unsigned int | getNIDCs (const unsigned int region) const |
unsigned int | getNRows (const unsigned int region) const |
unsigned int | getRegionOffset (const unsigned int region) const |
unsigned int | getNIDCsPerSector () const |
unsigned int | getLastRow (const unsigned int region) const |
unsigned int | getLastPad (const unsigned int region, const unsigned int ulrow) const |
unsigned int | getOffsRow (const unsigned int region, const unsigned int glrow) const |
unsigned | getPadsPerRow (const unsigned int region, const unsigned int glrow) const |
Static Public Member Functions | |
static std::vector< o2::tpc::Side > | getSides (const std::vector< uint32_t > &crus) |
template<typename DataVec > | |
static void | calcIDCOne (const DataVec &idcsData, const int idcsPerCRU, const int integrationIntervalOffset, const unsigned int indexOffset, const CRU cru, std::vector< std::vector< float > > &idcOneTmp, const IDCZero *idcZero, const CalDet< PadFlags > *flagMap=nullptr, const bool usePadStatusMap=false) |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi} | |
static int | getNThreads () |
static void | setNThreads (const int nThreads) |
static void | setMinCompressedIDCDelta (const float minIDCDeltaValue) |
static void | setMaxCompressedIDCDelta (const float maxIDCDeltaValue) |
static std::unique_ptr< IDCFactorization > | getLargeObjectFromFile (const char *inpFileName="IDCFactorized.root", const char *inName="IDCFactorized") |
![]() | |
static unsigned int | getUngroupedIndexGlobal (const unsigned int sector, const unsigned int region, unsigned int urow, unsigned int upad, unsigned int integrationInterval) |
Additional Inherited Members | |
![]() | |
void | initIDCGroupHelperSector () |
init function for setting the members | |
![]() | |
ParameterIDCGroupCCDB | mGroupingPar {} |
struct containg the grouping parameter | |
std::array< unsigned int, Mapper::NREGIONS > | mNIDCsPerCRU {} |
total number of IDCs per region per integration interval | |
unsigned int | mNIDCsPerSector {} |
number of grouped IDCs per sector | |
std::array< unsigned int, Mapper::NREGIONS > | mRows {} |
number of grouped rows per region | |
std::array< unsigned int, Mapper::NREGIONS > | mRegionOffs {} |
offset for the region per region | |
std::array< std::vector< unsigned int >, Mapper::NREGIONS > | mPadsPerRow {} |
number of pads per row per region | |
std::array< std::vector< unsigned int >, Mapper::NREGIONS > | mOffsRow {} |
offset to calculate the index in the data from row and pad per region | |
Definition at line 41 of file IDCFactorization.h.
o2::tpc::IDCFactorization::IDCFactorization | ( | 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 unsigned int | timeFrames, | ||
const unsigned int | timeframesDeltaIDC, | ||
const std::vector< uint32_t > & | crus | ||
) |
constructor
groupPads | number of pads in pad direction which will be grouped for all regions |
groupRows | number of pads in row direction which will be grouped for all regions |
groupLastRowsThreshold | minimum number of pads in row direction for the last group in row direction for all regions |
groupLastPadsThreshold | minimum number of pads in pad direction for the last group in pad direction for all regions |
timeFrames | number of time frames which will be stored |
timeframesDeltaIDC | number of time frames stored for each DeltaIDC object |
Definition at line 30 of file IDCFactorization.cxx.
|
inline |
constructor for creating and object without grouped input IDCs
timeFrames | number of time frames which will be stored |
timeframesDeltaIDC | number of time frames stored for each DeltaIDC object |
Definition at line 56 of file IDCFactorization.h.
|
default |
default constructor for ROOT I/O
|
default |
destructor
|
default |
default move constructor
void o2::tpc::IDCFactorization::calcIDCDelta | ( | ) |
calculate \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
Definition at line 429 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::calcIDCOne | ( | ) |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}
Definition at line 331 of file IDCFactorization.cxx.
|
static |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}
Definition at line 398 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::calcIDCZero | ( | const bool | norm | ) |
calculate I_0(r,\phi) = <I(r,\phi,t)>_t
norm | normalize IDCs to pad area |
Definition at line 240 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::checkFECs | ( | const float | maxOutliersPerFEC = 0.7 | ) |
after the pad-by-pad status map has been created it can be used to mark FECs which deliver wrong values
maxOutliersPerFEC | if the ratio n_outliers_per_FEC / n_pads_per_FEC is larger than this value, the whole FEC is masked |
Definition at line 602 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::checkNeighbourOutliers | ( | const int | maxIter = 10 , |
const int | nOutliersNeighbours = 8 |
||
) |
check for each pad where there is no outlier found the neighbouring pads for outliers. If more than n neighbours contains outliers this pad is also marked as an outlier pad +- one pad in row direction and +- two pads in pad direction are considered
maxIter | maximum number of iterations of the procedure |
nOutliersNeighbours | minimum number of outliers of the neighbouring pads which are required to mask a pad as outlier |
Definition at line 652 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::createStatusMap | ( | ) |
Definition at line 487 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::createStatusMapOutlier | ( | const bool | debug = false | ) |
create status map for pads which are dead or delivering extremly high values (static outliers will be mapped)
debug | create debug output |
Definition at line 494 of file IDCFactorization.cxx.
|
inline |
draw IDCDelta for one sector for one integration interval
sector | sector which will be drawn |
integrationInterval | which will be drawn |
compression | compression of Delta IDCs. (setMaxCompressedIDCDelta() should be called first in case of non standard compression parameter) |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 275 of file IDCFactorization.h.
|
inline |
draw IDCDelta for one side for one integration interval
side | side which will be drawn |
integrationInterval | which will be drawn |
compression | compression of Delta IDCs. (setMaxCompressedIDCDelta() should be called first in case of non standard compression parameter) |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 297 of file IDCFactorization.h.
|
inline |
draw IDCs for one sector for one integration interval
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 263 of file IDCFactorization.h.
|
inline |
draw IDCs for one side for one integration interval
side | side which will be drawn |
integrationInterval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 281 of file IDCFactorization.h.
|
inline |
draw GIF for IDCs
integrationIntervals | number of ms to draw |
Definition at line 285 of file IDCFactorization.h.
|
inline |
draw IDC zero I_0(r,\phi) = <I(r,\phi,t)>_t
sector | sector which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 268 of file IDCFactorization.h.
|
inline |
draw IDC zero I_0(r,\phi) = <I(r,\phi,t)>_t
side | side which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 290 of file IDCFactorization.h.
|
inline |
draw the status map for the flags (for debugging) for a sector
sector | sector which will be drawn \flag flag which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 303 of file IDCFactorization.h.
|
inline |
draw the status map for the flags (for debugging) for a full side
side | side which will be drawn \flag flag which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 309 of file IDCFactorization.h.
void o2::tpc::IDCFactorization::dumpIDCDeltaToTree | ( | const Side | side, |
const int | chunk = 0 , |
||
const char * | outFileName = "IDCDeltaTree.root" |
||
) |
dump IDCDelta to a TTree
Definition at line 227 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpIDCOneToFile | ( | const Side | side, |
const char * | outFileName = "IDCOne.root" , |
||
const char * | outName = "IDC1" |
||
) | const |
dump the IDC1 to file
Definition at line 185 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpIDCZeroToFile | ( | const Side | side, |
const char * | outFileName = "IDCZero.root" , |
||
const char * | outName = "IDC0" |
||
) | const |
dump the IDC0 to file
Definition at line 178 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpLargeObjectToFile | ( | const char * | outFileName = "IDCFactorized.root" , |
const char * | outName = "IDCFactorized" |
||
) | const |
dump large object to disc which exceeds the maximum size of 1GB for an object in a ROOT file
outFileName | name of the output file |
outName | name of the object in the output file |
Definition at line 83 of file IDCFactorization.cxx.
writing the pad status map to file
outFile | output file name |
mapName | output name of the object |
Definition at line 1138 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpToFile | ( | const char * | outFileName = "IDCFactorized.root" , |
const char * | outName = "IDCFactorized" |
||
) | const |
dump object to disc
outFileName | name of the output file |
outName | name of the object in the output file |
Definition at line 76 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpToTree | ( | const Side | side, |
const char * | outFileName = "IDCTree.root" |
||
) |
integrationIntervals | number of integration intervals which will be dumped to the tree (-1: all integration intervalls) |
outFileName | name of the output file |
Definition at line 192 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::dumpToTreeIDC1 | ( | const float | integrationTimeOrbits = 12 , |
const char * | outFileName = "IDC1Tree.root" |
||
) | const |
dumping the IDC1 to a TTree including the timestamps (the start time stamp in ms should be set with setTimeStamp())
integrationTimeOrbits | integration time in orbits |
outFileName | name of the output file |
Definition at line 208 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::factorizeIDCs | ( | const bool | norm, |
const bool | calcDeltas | ||
) |
calculate I_0(r,\phi) = <I(r,\phi,t)>_t calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi} calculate \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
norm | normalize IDCs to pad size |
calcDeltas | calculate the \Delta I(r,\phi,t) currents |
Definition at line 847 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::fillIDCZeroDeadPads | ( | ) |
fill I_0 values in case of dead pads,FECs etc.
Definition at line 289 of file IDCFactorization.cxx.
std::vector< unsigned int > o2::tpc::IDCFactorization::getAllIntegrationIntervalsPerTF | ( | ) | const |
Definition at line 757 of file IDCFactorization.cxx.
|
inline |
Definition at line 223 of file IDCFactorization.h.
|
inline |
chunk | chunk of Delta IDC |
Definition at line 205 of file IDCFactorization.h.
|
inline |
chunk | chunk of Delta IDC |
Definition at line 201 of file IDCFactorization.h.
|
inline |
Definition at line 197 of file IDCFactorization.h.
|
inline |
chunk | chunk of Delta IDC |
Definition at line 194 of file IDCFactorization.h.
|
inline |
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
chunk | chunk of the Delta IDC (can be obtained with getLocalIntegrationInterval()) |
localintegrationInterval | local integration interval for chunk (can be obtained with getLocalIntegrationInterval()) |
Definition at line 142 of file IDCFactorization.h.
|
inline |
side | TPC side |
chunk | chunk of Delta IDC |
Definition at line 190 of file IDCFactorization.h.
|
inline |
Definition at line 217 of file IDCFactorization.h.
|
inline |
Definition at line 214 of file IDCFactorization.h.
|
inline |
side | TPC side |
Definition at line 185 of file IDCFactorization.h.
|
inline |
side | TPC side |
Definition at line 181 of file IDCFactorization.h.
|
inline |
Definition at line 220 of file IDCFactorization.h.
|
inline |
sector | sector |
region | region |
grow | row in the region of the grouped IDCs |
gpad | pad number of the grouped IDCs |
integrationInterval | integration interval |
Definition at line 118 of file IDCFactorization.h.
float o2::tpc::IDCFactorization::getIDCValUngrouped | ( | const unsigned int | sector, |
const unsigned int | region, | ||
unsigned int | urow, | ||
unsigned int | upad, | ||
unsigned int | integrationInterval | ||
) | const |
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
integrationInterval | integration interval |
Definition at line 728 of file IDCFactorization.cxx.
|
inline |
Definition at line 211 of file IDCFactorization.h.
|
inline |
side | TPC side |
Definition at line 177 of file IDCFactorization.h.
|
inline |
side | TPC side |
Definition at line 173 of file IDCFactorization.h.
|
inline |
sector | sector |
region | region |
urow | row of the ungrouped IDCs |
upad | pad number of the ungrouped IDCs |
Definition at line 133 of file IDCFactorization.h.
|
inline |
side | TPC side |
Definition at line 169 of file IDCFactorization.h.
std::vector< unsigned int > o2::tpc::IDCFactorization::getIntegrationIntervalsPerTF | ( | const int | cru = -1 | ) | const |
cru | cru which is used for the lookup (cru=-1: automatic cru lookup) |
Definition at line 966 of file IDCFactorization.cxx.
|
static |
read in an object which was created with dumpLargeObjectToFile
inpFileName | name of the output file |
inName | name of the object in the output file |
Definition at line 120 of file IDCFactorization.cxx.
void o2::tpc::IDCFactorization::getLocalIntegrationInterval | ( | const unsigned int | integrationInterval, |
unsigned int & | chunk, | ||
unsigned int & | localintegrationInterval | ||
) | const |
integrationInterval | integration interval |
chunk | which will be set in the function |
localintegrationInterval | local integration interval for chunk which will be set in the function |
Definition at line 934 of file IDCFactorization.cxx.
float o2::tpc::IDCFactorization::getMeanZ | ( | const Side | side | ) | const |
Definition at line 719 of file IDCFactorization.cxx.
Definition at line 208 of file IDCFactorization.h.
unsigned long o2::tpc::IDCFactorization::getNIntegrationIntervals | ( | ) | const |
Definition at line 927 of file IDCFactorization.cxx.
Definition at line 918 of file IDCFactorization.cxx.
unsigned long o2::tpc::IDCFactorization::getNIntegrationIntervalsInChunk | ( | const unsigned int | chunk | ) | const |
chunk | chunk of Delta IDC |
Definition at line 902 of file IDCFactorization.cxx.
unsigned long o2::tpc::IDCFactorization::getNIntegrationIntervalsToChunk | ( | const unsigned int | chunk | ) | const |
chunk | chunk of Delta IDC |
Definition at line 910 of file IDCFactorization.cxx.
|
inlinestatic |
Definition at line 241 of file IDCFactorization.h.
|
inline |
Definition at line 151 of file IDCFactorization.h.
Definition at line 386 of file IDCFactorization.h.
Definition at line 383 of file IDCFactorization.h.
|
inline |
Definition at line 235 of file IDCFactorization.h.
|
inline |
Definition at line 389 of file IDCFactorization.h.
|
static |
returns sides for CRUs
crus | crus which will be checked for their side |
Definition at line 59 of file IDCFactorization.cxx.
std::array< float, o2::tpc::GEMSTACKS > o2::tpc::IDCFactorization::getStackMedian | ( | ) | const |
Definition at line 1185 of file IDCFactorization.cxx.
|
inline |
Definition at line 238 of file IDCFactorization.h.
|
inline |
Definition at line 229 of file IDCFactorization.h.
|
inline |
Definition at line 375 of file IDCFactorization.h.
|
inline |
normalize IDC0 with the set gain map
Definition at line 404 of file IDCFactorization.h.
|
inline |
normalize IDC0 with the median per stack
Definition at line 407 of file IDCFactorization.h.
void o2::tpc::IDCFactorization::reset | ( | ) |
resetting aggregated IDCs
Definition at line 978 of file IDCFactorization.cxx.
setting a gain map from a file
Definition at line 1091 of file IDCFactorization.cxx.
setting a gain map from a file
inpFile | input file containing some caldet |
mapName | name of the caldet |
Definition at line 1077 of file IDCFactorization.cxx.
|
inline |
set the IDCDelta
Definition at line 398 of file IDCFactorization.h.
set the IDCOne
Definition at line 395 of file IDCFactorization.h.
|
inline |
set the IDC data
idcs | vector containing the IDCs |
cru | CRU |
timeframe | time frame of the IDCs |
Definition at line 247 of file IDCFactorization.h.
set the IDCZero object
Definition at line 392 of file IDCFactorization.h.
|
inlinestatic |
maxIDCDeltaValue | maximum IDC delta value for compressed IDC delta |
Definition at line 257 of file IDCFactorization.h.
|
inlinestatic |
minIDCDeltaValue | minimum IDC delta value for compressed IDC delta |
Definition at line 254 of file IDCFactorization.h.
set the number of threads used for some of the calculations
nThreads | number of threads |
Definition at line 251 of file IDCFactorization.h.
setting a map containing status flags for each pad
Definition at line 1110 of file IDCFactorization.cxx.
setting a map containing status flags for each pad
inpFile | input file containing the object |
mapName | name of the caldet |
Definition at line 1096 of file IDCFactorization.cxx.
run | of the aggregated IDCs |
Definition at line 232 of file IDCFactorization.h.
timeStamp | time stamp of the first aggregated IDCs |
Definition at line 226 of file IDCFactorization.h.
|
inline |
setting the usage of the pad-by-pad status map during the factorization of the IDCs
Definition at line 372 of file IDCFactorization.h.