Skip to content
Snippets Groups Projects
Commit a86dc5ad authored by Tadej Novak's avatar Tadej Novak
Browse files

MM_DigitizationTool: Fix clang warnings

MM_DigitizationTool: Fix clang warnings
parent e7e74890
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ namespace MuonR4 {
// TO DO: THERE IS NO DESING THICKNESS, BUT HOW TO GET DIFFERENT THICKNESSES LIKE BEFORE?
// double shift = 0.5 * design.thickness();
double shift = 0.5 * m_driftGapWidth ;
std::optional<double> lambda, lambdaEntrance;
std::optional<double> lambda;
if (gasGap == 1 || gasGap == 3) {
lambda = Amg::intersect<3>(locPos, locDir, Amg::Vector3D::UnitZ(), -shift);
} else if (gasGap == 2 || gasGap == 4) {
......
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