diff --git a/reco/L1/CbmL1.h b/reco/L1/CbmL1.h index 3dab8260a93807f21c9a6526f3e0966e3c69c555..2bd08d0348d624fd5b3c02ce0a566049f497e253 100644 --- a/reco/L1/CbmL1.h +++ b/reco/L1/CbmL1.h @@ -187,9 +187,7 @@ public: void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious) { float hole = 0.; - if constexpr (detID == L1DetectorID::kMuch || detID == L1DetectorID::kTrd) { - hole = 0.15f; - } + if constexpr (detID == L1DetectorID::kMuch || detID == L1DetectorID::kTrd) { hole = 0.15f; } else if constexpr (detID == L1DetectorID::kTof) { hole = 0.0015f; } diff --git a/reco/L1/L1Algo/L1MaterialInfo.cxx b/reco/L1/L1Algo/L1MaterialInfo.cxx index 27b307f376140b8d506b5dcf52c086b3454ae4b4..7a367a66fb6ae593770a39674d9de3769b997673 100644 --- a/reco/L1/L1Algo/L1MaterialInfo.cxx +++ b/reco/L1/L1Algo/L1MaterialInfo.cxx @@ -65,10 +65,7 @@ L1Material& L1Material::operator=(const L1Material& other) //------------------------------------------------------------------------------------------------------------------------------------ // -L1Material::L1Material(L1Material&& other) noexcept -{ - this->Swap(other); -} +L1Material::L1Material(L1Material&& other) noexcept { this->Swap(other); } //------------------------------------------------------------------------------------------------------------------------------------ //