Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 10, 2024
1 parent 2040404 commit b21a0c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/TRestDetectorElectronDiffusionProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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.));
Expand Down

0 comments on commit b21a0c6

Please sign in to comment.