Skip to content

Commit bb0f746

Browse files
committed
MFT: adding todos
1 parent a701815 commit bb0f746

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ struct TrackingParameters {
5656
std::vector<float> LayerRadii = {2.33959f, 3.14076f, 3.91924f, 19.6213f, 24.5597f, 34.388f, 39.3329f};
5757
std::vector<float> LayerxX0 = {5.e-3f, 5.e-3f, 5.e-3f, 1.e-2f, 1.e-2f, 1.e-2f, 1.e-2f};
5858
std::vector<float> LayerResolution = {5.e-4f, 5.e-4f, 5.e-4f, 5.e-4f, 5.e-4f, 5.e-4f, 5.e-4f};
59-
std::vector<float> SystErrorY2 = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f};
60-
std::vector<float> SystErrorZ2 = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f};
61-
int ZBins{256};
62-
int PhiBins{128};
59+
std::vector<float> SystErrorY2 = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f}; ///TODOMFT: generalise the naming to say local systematic row
60+
std::vector<float> SystErrorZ2 = {0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f}; ///TODOMFT: generalise the naming to say local systematic col
61+
int ZBins{256}; ///TODOMFT: rename to col
62+
int PhiBins{128}; ///TODOMFT: renmame to rows
6363
bool UseDiamond = false;
6464
float Diamond[3] = {0.f, 0.f, 0.f};
6565
float DiamondCov[6] = {25.e-6f, 0.f, 0.f, 25.e-6f, 0.f, 36.f};

Detectors/ITSMFT/ITS/tracking/include/ITStracking/IndexTableUtils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace o2::its
2828
{
2929

3030
template <int nLayers>
31-
class IndexTableUtils
31+
class IndexTableUtils ///TODOMFT: make name generic phi becomes row and z becomes col
3232
{
3333
public:
3434
template <class T>
@@ -57,7 +57,7 @@ class IndexTableUtils
5757
template <int nLayers>
5858
template <class T>
5959
inline void IndexTableUtils<nLayers>::setTrackingParameters(const T& params)
60-
{
60+
{ ///TODOMFT: make this generic to be used for both ITS and MFT without needing to use specific params (input number of columns, rows, and their respective width)
6161
mInversePhiBinSize = params.PhiBins / o2::constants::math::TwoPI;
6262
mNzBins = params.ZBins;
6363
mNphiBins = params.PhiBins;
@@ -115,7 +115,7 @@ GPUhdi() void IndexTableUtils<nLayers>::print() const
115115
template <int nLayers>
116116
GPUhdi() int4 getBinsRect(const Cluster& currentCluster, const int layerIndex,
117117
const float z1, const float z2, const float maxdeltaz, const float maxdeltaphi,
118-
const IndexTableUtils<nLayers>& utils)
118+
const IndexTableUtils<nLayers>& utils) ///TODOMFT: rename this to getBinsPhiZ, and create a getBinsXY for the MFT case
119119
{
120120
const float zRangeMin = o2::gpu::GPUCommonMath::Min(z1, z2) - maxdeltaz;
121121
const float phiRangeMin = (maxdeltaphi > o2::constants::math::PI) ? 0.f : currentCluster.phi - maxdeltaphi;

0 commit comments

Comments
 (0)