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
Tags dev_2022_28
No related merge requests found
......@@ -5,11 +5,11 @@
/*
*====================================================================
*
* CBM Level 1 Reconstruction
*
* CBM Level 1 Reconstruction
*
* Authors: I.Kisel, S.Gorbunov
*
* e-mail : ikisel@kip.uni-heidelberg.de
* e-mail : ikisel@kip.uni-heidelberg.de
*
*====================================================================
*
......@@ -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.
Finish editing this message first!
Please register or to comment