Skip to content
Snippets Groups Projects
Commit c3875e0b authored by Sergei Zharko's avatar Sergei Zharko Committed by Sergey Gorbunov
Browse files

codeformat fix

parent fb816727
No related branches found
No related tags found
1 merge request!835L1: New initialization interface for the material budget maps
Pipeline #17459 passed
...@@ -187,9 +187,7 @@ public: ...@@ -187,9 +187,7 @@ public:
void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious) void ApplyCorrectionToMaterialMap(L1Material& material, const L1MaterialInfo& homogenious)
{ {
float hole = 0.; float hole = 0.;
if constexpr (detID == L1DetectorID::kMuch || detID == L1DetectorID::kTrd) { if constexpr (detID == L1DetectorID::kMuch || detID == L1DetectorID::kTrd) { hole = 0.15f; }
hole = 0.15f;
}
else if constexpr (detID == L1DetectorID::kTof) { else if constexpr (detID == L1DetectorID::kTof) {
hole = 0.0015f; hole = 0.0015f;
} }
......
...@@ -65,10 +65,7 @@ L1Material& L1Material::operator=(const L1Material& other) ...@@ -65,10 +65,7 @@ L1Material& L1Material::operator=(const L1Material& other)
//------------------------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------------------------
// //
L1Material::L1Material(L1Material&& other) noexcept L1Material::L1Material(L1Material&& other) noexcept { this->Swap(other); }
{
this->Swap(other);
}
//------------------------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------------------------
// //
......
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