From b21a0c6422a772386cae0ebf2b7ffd6cbe2292ef Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 08:06:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/TRestDetectorElectronDiffusionProcess.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/TRestDetectorElectronDiffusionProcess.cxx b/src/TRestDetectorElectronDiffusionProcess.cxx index 0da4f16b..ef3d6165 100644 --- a/src/TRestDetectorElectronDiffusionProcess.cxx +++ b/src/TRestDetectorElectronDiffusionProcess.cxx @@ -226,7 +226,6 @@ TRestEvent* TRestDetectorElectronDiffusionProcess::ProcessEvent(TRestEvent* inpu 10. * TMath::Sqrt(driftDistance / 10.) * fTransversalDiffusionCoefficient; // mm for (unsigned int i = 0; i < numberOfElectrons; i++) { - if (fAttachment > 0) { // TODO: where is this formula from? isAttached = (fRandom->Uniform(0, 1) > pow(1 - fAttachment, driftDistance / 10.));