Skip to content
Snippets Groups Projects
Commit 75737e77 authored by Sergei Zharko's avatar Sergei Zharko Committed by Sergey Gorbunov
Browse files

kf: removing GetThickness(int) and GetThickness(int, int) functions from the kf::MaterialMap class

parent cc56943d
No related branches found
No related tags found
1 merge request!1952KF: material budget maps caching
Pipeline #31704 passed
......@@ -155,15 +155,6 @@ namespace cbm::algo::kf
/// \brief Get bin index for (x,y). Returns -1 when outside of the map
int GetBin(float x, float y) const;
/// \brief Gets material thickness in units of radiational length X0
/// \param iBin Index of the bin in 2d table
float GetThickness(int iBin) const { return fTable[iBin]; }
/// \brief Gets material thickness in units of radiational length X0
/// \param iBinX Index of table column
/// \param iBinY Index of table row
float GetThickness(int iBinX, int iBinY) const { return fTable[iBinX + fNbins * iBinY]; }
int fNbins = defs::Undef<int>; ///< Number of rows (== N columns) in the material budget table
float fXYmax = defs::Undef<float>; ///< Size of the station in x and y dimensions [cm]
float fFactor = defs::Undef<float>; ///< Util. var. for the conversion of point coordinates to row/column id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment