Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyChappell committed Oct 30, 2023
1 parent 9c457f0 commit b55fbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion larpandoracontent/LArHelpers/LArGeometryHelper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ float LArGeometryHelper::GetWirePitchRatio(const Pandora &pandora, const HitType
return pitchView / pitchMin;
}


//------------------------------------------------------------------------------------------------------------------------------------------

CartesianVector LArGeometryHelper::GetWireAxis(const Pandora &pandora, const HitType view)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ bool CrossGapsAssociationAlgorithm::IsAssociated(
}
}

const float expectation((targetFitResult.GetGlobalMaxLayerPosition() - targetFitResult.GetGlobalMinLayerPosition()).GetMagnitude() / sampleStepSizeAdjusted);
const float expectation(
(targetFitResult.GetGlobalMaxLayerPosition() - targetFitResult.GetGlobalMinLayerPosition()).GetMagnitude() / sampleStepSizeAdjusted);
const float matchedSamplingFraction(expectation > 0.f ? static_cast<float>(nMatchedSamplingPoints) / expectation : 0.f);

if ((nMatchedSamplingPoints > m_minMatchedSamplingPoints) || (matchedSamplingFraction > m_minMatchedSamplingFraction))
Expand Down

0 comments on commit b55fbe8

Please sign in to comment.