![]() |
Project
|
#include <SACFactorization.h>
Public Types | |
using | SACDeltaCompression = IDCDeltaCompression |
Public Member Functions | |
SACFactorization (const unsigned int timeFrames) | |
SACFactorization ()=default | |
default constructor | |
void | factorizeSACs () |
void | calcSACZero () |
calculate I_0(r,\phi) = <I(r,\phi,t)>_t | |
void | calcSACOne () |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi} | |
void | calcSACDelta () |
calculate \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) ) | |
void | createStatusMap () |
create outlier map using the SAC0 | |
auto | getSACValue (const unsigned int stack, const unsigned int interval) const |
float | getSACZeroVal (const unsigned int stack) const |
float | getSACDeltaVal (const unsigned int stack, unsigned int interval) const |
float | getSACOneVal (const Side side, unsigned int interval) const |
unsigned int | getNTimeframes () const |
unsigned long | getNintervals (const int stack=0) const |
unsigned long | getNIntegrationIntervals (const int stack=0) const |
const std::vector< float > & | getSACZero (const o2::tpc::Side side) const |
const std::vector< float > & | getSACOne (const o2::tpc::Side side) const |
const std::vector< float > & | getSACDeltaUncompressed (const o2::tpc::Side side) const |
const auto & | getSACDeltaUncompressed () const & |
auto | getSACDeltaUncompressed () && |
auto | getSACDeltaMediumCompressed () const |
auto | getSACDeltaHighCompressed () const |
const auto & | getSACZero () const |
const auto & | getSACOne () const & |
auto | getSACOne () && |
const auto & | getSACs () const |
const auto & | getOutlierMap () const |
void | setSACs (std::vector< int32_t > &&SACs, const unsigned int stack) |
void | drawSACsSector (const unsigned int sector, const unsigned int interval, const float minZ=0, const float maxZ=-1, const std::string filename="SACsSector.pdf") const |
void | drawSACZeroSector (const unsigned int sector, const float minZ=0, const float maxZ=-1, const std::string filename="SACZeroSector.pdf") const |
void | drawSACZeroOutlierSector (const unsigned int sector, const float minZ=0, const float maxZ=-1, const std::string filename="SACZeroOutlierSector.pdf") const |
void | drawSACDeltaSector (const unsigned int sector, const unsigned int interval, const float minZ=0, const float maxZ=-1, const SACDeltaCompression compression=SACDeltaCompression::NO, const std::string filename="SACDeltaSector.pdf") const |
void | drawSACsSide (const o2::tpc::Side side, const unsigned int interval, const float minZ=0, const float maxZ=-1, const std::string filename="SACsSide.pdf") const |
void | drawSACZeroSide (const o2::tpc::Side side, const float minZ=0, const float maxZ=-1, const std::string filename="SACZeroSide.pdf") const |
void | drawSACZeroOutlierSide (const o2::tpc::Side side, const float minZ=0, const float maxZ=-1, const std::string filename="SACZeroOutlierSide.pdf") const |
void | drawSACDeltaSide (const o2::tpc::Side side, const unsigned int interval, const float minZ=0, const float maxZ=-1, const SACDeltaCompression compression=SACDeltaCompression::NO, const std::string filename="SACDeltaSide.pdf") const |
void | dumpToFile (const char *outFileName="SACFactorized.root", const char *outName="SACFactorized") const |
void | dumpToTree (int intervals=-1, const char *outFileName="SACTree.root") const |
void | reset () |
resetting aggregated SACs | |
void | setSACZero (const SACZero &sacZero) |
Static Public Member Functions | |
static unsigned int | getSACDeltaIndex (const unsigned int stack, unsigned int interval) |
static int | getNThreads () |
static void | setNThreads (const int nThreads) |
static void | setMinCompressedSACDelta (const float minSACDeltaValue) |
static void | setMaxCompressedSACDelta (const float maxSACDeltaValue) |
static Side | getSide (const unsigned int gemStack) |
static unsigned int | getStack (const unsigned int sector, const unsigned int stack) |
static unsigned int | getStackInSide (const unsigned int sector, const unsigned int stack) |
Definition at line 29 of file SACFactorization.h.
Definition at line 32 of file SACFactorization.h.
|
inline |
constructor
timeFrames | number of time frames which will be stored |
Definition at line 36 of file SACFactorization.h.
|
default |
default constructor
void o2::tpc::SACFactorization::calcSACDelta | ( | ) |
calculate \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
Definition at line 126 of file SACFactorization.cxx.
void o2::tpc::SACFactorization::calcSACOne | ( | ) |
calculate I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}
Definition at line 96 of file SACFactorization.cxx.
void o2::tpc::SACFactorization::calcSACZero | ( | ) |
calculate I_0(r,\phi) = <I(r,\phi,t)>_t
Definition at line 82 of file SACFactorization.cxx.
void o2::tpc::SACFactorization::createStatusMap | ( | ) |
create outlier map using the SAC0
Definition at line 241 of file SACFactorization.cxx.
|
inline |
draw SACDelta for one sector for one integration interval
sector | sector which will be drawn |
interval | which will be drawn |
compression | compression of Delta SACs. (setMaxCompressedSACDelta() 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 170 of file SACFactorization.h.
|
inline |
draw SACDelta for one side for one integration interval
side | side which will be drawn |
interval | which will be drawn |
compression | compression of Delta SACs. (setMaxCompressedSACDelta() 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 193 of file SACFactorization.h.
|
inline |
draw SACs for one sector for one integration interval
sector | sector which will be drawn |
interval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 153 of file SACFactorization.h.
|
inline |
draw SACs for one side for one integration interval
side | side which will be drawn |
interval | which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 176 of file SACFactorization.h.
|
inline |
draw outliers of SACs obtained with SAC0
sector | sector which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 163 of file SACFactorization.h.
|
inline |
draw SACDelta for one sector for one integration interval
side | side which will be drawn |
filename | name of the output file. If empty the canvas is drawn. |
Definition at line 186 of file SACFactorization.h.
|
inline |
draw SAC 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 158 of file SACFactorization.h.
|
inline |
draw SAC 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 181 of file SACFactorization.h.
void o2::tpc::SACFactorization::dumpToFile | ( | const char * | outFileName = "SACFactorized.root" , |
const char * | outName = "SACFactorized" |
||
) | const |
dump object to disc
outFileName | name of the output file |
outName | name of the object in the output file |
Definition at line 26 of file SACFactorization.cxx.
void o2::tpc::SACFactorization::dumpToTree | ( | int | intervals = -1 , |
const char * | outFileName = "SACTree.root" |
||
) | const |
intervals | number of integration intervals which will be dumped to the tree (-1: all integration intervals) |
outFileName | name of the output file |
Definition at line 33 of file SACFactorization.cxx.
void o2::tpc::SACFactorization::factorizeSACs | ( | ) |
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) )
Definition at line 146 of file SACFactorization.cxx.
|
inline |
Definition at line 89 of file SACFactorization.h.
Definition at line 86 of file SACFactorization.h.
|
inlinestatic |
Definition at line 131 of file SACFactorization.h.
|
inline |
Definition at line 83 of file SACFactorization.h.
|
inline |
Definition at line 128 of file SACFactorization.h.
|
inline |
Definition at line 113 of file SACFactorization.h.
|
inlinestatic |
stack | stack |
interval | local integration interval |
Definition at line 80 of file SACFactorization.h.
|
inline |
Definition at line 110 of file SACFactorization.h.
|
inline |
Definition at line 107 of file SACFactorization.h.
|
inline |
Definition at line 104 of file SACFactorization.h.
|
inline |
side | TPC side |
Definition at line 101 of file SACFactorization.h.
|
inline |
stack | stack |
interval | integration interval |
Definition at line 70 of file SACFactorization.h.
|
inline |
Definition at line 122 of file SACFactorization.h.
|
inline |
Definition at line 119 of file SACFactorization.h.
|
inline |
side | TPC side |
Definition at line 97 of file SACFactorization.h.
|
inline |
Side | TPC side |
interval | integration interval |
Definition at line 75 of file SACFactorization.h.
|
inline |
Definition at line 125 of file SACFactorization.h.
|
inline |
stack | stack |
interval | integration interval |
Definition at line 61 of file SACFactorization.h.
|
inline |
Definition at line 116 of file SACFactorization.h.
|
inline |
side | TPC side |
Definition at line 93 of file SACFactorization.h.
|
inline |
stack | stack |
Definition at line 65 of file SACFactorization.h.
Definition at line 208 of file SACFactorization.h.
|
inlinestatic |
Definition at line 211 of file SACFactorization.h.
|
inlinestatic |
Definition at line 214 of file SACFactorization.h.
void o2::tpc::SACFactorization::reset | ( | ) |
resetting aggregated SACs
Definition at line 159 of file SACFactorization.cxx.
|
inlinestatic |
maxSACDeltaValue | maximum SAC delta value for compressed SAC delta |
Definition at line 147 of file SACFactorization.h.
|
inlinestatic |
minSACDeltaValue | minimum SAC delta value for compressed SAC delta |
Definition at line 144 of file SACFactorization.h.
set the number of threads used for some of the calculations
nThreads | number of threads |
Definition at line 141 of file SACFactorization.h.
|
inline |
set the SAC data
SACs | vector containing the SACs |
cru | CRU |
timeframe | time frame of the SACs |
Definition at line 137 of file SACFactorization.h.
Definition at line 216 of file SACFactorization.h.