Skip to content
Snippets Groups Projects
Commit 19ab4b46 authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

L1: Fix unused variable warning.

parent 9d1d753e
No related branches found
No related tags found
1 merge request!865L1: Fix unused variable warning.
Pipeline #17823 passed
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
/* /*
*==================================================================== *====================================================================
* *
* CBM Level 1 Reconstruction * CBM Level 1 Reconstruction
* *
* Authors: I.Kisel, S.Gorbunov * Authors: I.Kisel, S.Gorbunov
* *
* e-mail : ikisel@kip.uni-heidelberg.de * e-mail : ikisel@kip.uni-heidelberg.de
* *
*==================================================================== *====================================================================
* *
...@@ -181,7 +181,7 @@ public: ...@@ -181,7 +181,7 @@ public:
void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious) void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious)
{ {
// TODO: unify the correction function for all detectors // TODO: unify the correction function for all detectors
float minVal = 0.; [[maybe_unused]] float minVal = 0.;
if constexpr (detID == L1DetectorID::kMuch) { minVal = 0.15f; } if constexpr (detID == L1DetectorID::kMuch) { minVal = 0.15f; }
else if constexpr (detID == L1DetectorID::kTof || detID == L1DetectorID::kTrd) { else if constexpr (detID == L1DetectorID::kTof || detID == L1DetectorID::kTrd) {
minVal = 0.0015f; minVal = 0.0015f;
......
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