You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GPU/GPUTracking/DataTypes/CalibdEdxContainer.h
+8-86Lines changed: 8 additions & 86 deletions
Original file line number
Diff line number
Diff line change
@@ -32,22 +32,6 @@
32
32
namespaceo2::tpc
33
33
{
34
34
35
-
/// flags to set which corrections will be loaded from the CCDB
36
-
enumclassCalibsdEdx : unsignedshort {
37
-
CalTopologySpline = 1 << 0, ///< flag for a topology correction using splines
38
-
CalTopologyPol = 1 << 1, ///< flag for a topology correction using polynomials
39
-
CalThresholdMap = 1 << 2, ///< flag for using threshold map
40
-
CalGainMap = 1 << 3, ///< flag for using the gain map to get the correct cluster charge
41
-
CalResidualGainMap = 1 << 4, ///< flag for applying residual gain map
42
-
CalTimeGain = 1 << 5, ///< flag for residual dE/dx time dependent gain correction
43
-
};
44
-
45
-
inline CalibsdEdx operator|(CalibsdEdx a, CalibsdEdx b) { returnstatic_cast<CalibsdEdx>(static_cast<int>(a) | static_cast<int>(b)); }
46
-
47
-
inline CalibsdEdx operator&(CalibsdEdx a, CalibsdEdx b) { returnstatic_cast<CalibsdEdx>(static_cast<int>(a) & static_cast<int>(b)); }
48
-
49
-
inline CalibsdEdx operator~(CalibsdEdx a) { returnstatic_cast<CalibsdEdx>(~static_cast<int>(a)); }
50
-
51
35
///
52
36
/// This container class contains all necessary corrections for the dE/dx
53
37
/// Currently it holds the residual dE/dx correction and the track topology correction, which can be either provided by 2D-splines or by 5D-polynomials.
@@ -123,26 +107,13 @@ class CalibdEdxContainer : public o2::gpu::FlatObject
CalibdEdxTrackTopologySpline* mCalibTrackTopologySpline{nullptr}; ///< calibration for the track topology correction (splines)
240
-
CalibdEdxTrackTopologyPol* mCalibTrackTopologyPol{nullptr}; ///< calibration for the track topology correction (polynomial)
241
-
o2::gpu::TPCPadGainCalib mThresholdMap{}; ///< calibration object containing the zero supression threshold map
242
-
o2::gpu::TPCPadGainCalib mGainMap{}; ///< calibration object containing the gain map
243
-
o2::gpu::TPCPadGainCalib mGainMapResidual{}; ///< calibration object containing the residual gain map
244
-
CalibdEdxCorrection mCalibResidualdEdx{}; ///< calibration for the residual dE/dx correction
245
-
boolmApplyFullGainMap{false}; ///< if set to true the cluster charge will be corrected with the full gain map (when the gain map was not applied during the clusterizer)
246
-
CalibsdEdx mCalibsLoad{CalibsdEdx::CalTopologyPol | CalibsdEdx::CalThresholdMap | CalibsdEdx::CalGainMap | CalibsdEdx::CalResidualGainMap | CalibsdEdx::CalTimeGain}; ///< flags to set which corrections will be loaded from the CCDB and used during calculation of the dE/dx
168
+
CalibdEdxTrackTopologySpline* mCalibTrackTopologySpline{nullptr}; ///< calibration for the track topology correction (splines)
169
+
CalibdEdxTrackTopologyPol* mCalibTrackTopologyPol{nullptr}; ///< calibration for the track topology correction (polynomial)
170
+
o2::gpu::TPCPadGainCalib mThresholdMap{}; ///< calibration object containing the zero supression threshold map
171
+
CalibdEdxCorrection mCalibResidualdEdx{}; ///< calibration for the residual dE/dx correction
247
172
248
173
#if !defined(GPUCA_GPUCODE)
249
174
template <classType>
@@ -254,9 +179,6 @@ class CalibdEdxContainer : public o2::gpu::FlatObject
constint region = param.tpcGeometry.GetRegion(padRow);
146
146
z = CAMath::Abs(z);
147
147
constfloat threshold = calibContainer->getZeroSupressionThreshold(slice, padRow, padPos); // TODO: Use the mean zero supresion threshold of all pads in the cluster?
0 commit comments