![]() |
Project
|
struct for containing simple analytical distortions (as function of local coordinates) and the resulting corrections More...
#include <SpaceChargeHelpers.h>
Public Member Functions | |
DataT | getDistortionsLX (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
DataT | getCorrectionsLX (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
DataT | getDistortionsLY (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
DataT | getCorrectionsLY (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
DataT | getDistortionsLZ (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
DataT | getCorrectionsLZ (const DataT lx, const DataT ly, const DataT lz, const Side side) const |
void | initDefault () |
set default analytical formulas for distortions and corrections | |
bool | isValid () const |
check if all formulas are valid | |
ClassDefNV (AnalyticalDistCorr, 1) | |
Public Attributes | |
TFormula | mDlXFormula {} |
analytical distortions in lx as a function of lx | |
TFormula | mClXFormula {} |
analytical corrections in lx as a function of lx | |
TFormula | mDlYFormula {} |
analytical distortions in ly as a function of lx | |
TFormula | mClYFormula {} |
analytical correction in ly as a function of lx | |
TFormula | mDlZFormula {} |
analytical correction in lz as a function of lz | |
TFormula | mClZFormula {} |
analytical correction in lz as a function of lz | |
struct for containing simple analytical distortions (as function of local coordinates) and the resulting corrections
Definition at line 166 of file SpaceChargeHelpers.h.
o2::tpc::AnalyticalDistCorr< DataT >::ClassDefNV | ( | AnalyticalDistCorr< DataT > | , |
1 | |||
) |
|
inline |
Definition at line 170 of file SpaceChargeHelpers.h.
|
inline |
Definition at line 172 of file SpaceChargeHelpers.h.
|
inline |
Definition at line 174 of file SpaceChargeHelpers.h.
|
inline |
Definition at line 169 of file SpaceChargeHelpers.h.
|
inline |
Definition at line 171 of file SpaceChargeHelpers.h.
|
inline |
Definition at line 173 of file SpaceChargeHelpers.h.
|
inline |
set default analytical formulas for distortions and corrections
< analytical distortions in lx as a function of lx
< analytical corrections in lx as a function of lx
< analytical distortions in ly as a function of lx
< analytical correction in ly as a function of lx
< analytical correction in lz as a function of lz
< analytical correction in lz as a function of lz
Definition at line 177 of file SpaceChargeHelpers.h.
|
inline |
check if all formulas are valid
Definition at line 188 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mClXFormula {} |
analytical corrections in lx as a function of lx
analytical correction in lx as a function of lx distorted point: lx_2 = lx_1 + mDlX(lx_1) lx_2 = lx_1 + (TPCParameters<DataT>::OFCRADIUS - lx) / 50); lx_2 * 50 = lx_1 * 50 + TPCParameters<DataT>::OFCRADIUS - lx lx_2 * 50 - TPCParameters<DataT>::OFCRADIUS = lx_1 * 49 lx_2 * 50 - TPCParameters<DataT>::OFCRADIUS / 49 = lx_1 correction: dCorrX = lx_2 - lx_1
const DataT lx2 = (lx * 50 - TPCParameters<DataT>::OFCRADIUS) / 49; return lx2 - lx;
Definition at line 204 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mClYFormula {} |
analytical correction in ly as a function of lx
const DataT dlX_1 = lx + mClX(lx, 0, 0, Side::A); // corrected point (original point without distortion) return -mDlY(dlX_1, 0, 0, Side::A); // distortion at original point
Definition at line 212 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mClZFormula {} |
analytical correction in lz as a function of lz
lz_2 = lz_1 + mDlZ(lz_1) lz_2 = lz_1 + lz_1 / 50 lz_2 = lz_1 * (1 + 1/50) lz_2 / (1 + 1/50) = lz_1 lz_2 * 50 / 51 = lz_1
const DataT lz2 = lz * 50 / 51.; const DataT diffZ = lz2 - lz; return diffZ;
Definition at line 227 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mDlXFormula {} |
analytical distortions in lx as a function of lx
const DataT dlX = (TPCParameters<DataT>::OFCRADIUS - lx) / 50; // (171 -> 0) / 50 = 3.42 cn return dlX;
Definition at line 192 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mDlYFormula {} |
analytical distortions in ly as a function of lx
const DataT dlY = 2 + 0.01 * lx; return dlY;
Definition at line 208 of file SpaceChargeHelpers.h.
TFormula o2::tpc::AnalyticalDistCorr< DataT >::mDlZFormula {} |
analytical correction in lz as a function of lz
const DataT dlZ = lz / 50; return dlZ;
Definition at line 216 of file SpaceChargeHelpers.h.