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
No related merge requests found
......@@ -181,7 +181,7 @@ public:
void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious)
{
// TODO: unify the correction function for all detectors
float minVal = 0.;
[[maybe_unused]] float minVal = 0.;
if constexpr (detID == L1DetectorID::kMuch) { minVal = 0.15f; }
else if constexpr (detID == L1DetectorID::kTof || detID == L1DetectorID::kTrd) {
minVal = 0.0015f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment