From 2b0621643424f4337a23662544ffd0685b301a23 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:43:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/01.NLDBD/Validate.C | 5 ++--- examples/04.MuonScan/ValidateMuonsFromPoint.C | 5 ++--- include/Particles.h | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/examples/01.NLDBD/Validate.C b/examples/01.NLDBD/Validate.C index 60552043..88a40140 100644 --- a/examples/01.NLDBD/Validate.C +++ b/examples/01.NLDBD/Validate.C @@ -117,9 +117,8 @@ Int_t Validate(const char* filename) { } if (TMath::Abs(averagePosition.Mag() - averagePositionRef.Mag()) / averagePositionRef.Mag() > tolerance) { - cout << "The average position does not match the reference value of " - << "(" << averagePositionRef.x() << ", " << averagePositionRef.y() << ", " - << averagePositionRef.z() << ") mm" << endl; + cout << "The average position does not match the reference value of " << "(" << averagePositionRef.x() + << ", " << averagePositionRef.y() << ", " << averagePositionRef.z() << ") mm" << endl; return 12; } diff --git a/examples/04.MuonScan/ValidateMuonsFromPoint.C b/examples/04.MuonScan/ValidateMuonsFromPoint.C index 60e6fbf7..79fe9ce6 100644 --- a/examples/04.MuonScan/ValidateMuonsFromPoint.C +++ b/examples/04.MuonScan/ValidateMuonsFromPoint.C @@ -135,9 +135,8 @@ Int_t ValidateMuonsFromPoint(const char* filename) { } if (TMath::Abs(averagePosition.Mag() - averagePositionRef.Mag()) / averagePositionRef.Mag() > tolerance) { - cout << "The average position does not match the reference value of " - << "(" << averagePositionRef.x() << ", " << averagePositionRef.y() << ", " - << averagePositionRef.z() << ") mm" << endl; + cout << "The average position does not match the reference value of " << "(" << averagePositionRef.x() + << ", " << averagePositionRef.y() << ", " << averagePositionRef.z() << ") mm" << endl; return 14; } diff --git a/include/Particles.h b/include/Particles.h index c9d63fa6..7c661592 100644 --- a/include/Particles.h +++ b/include/Particles.h @@ -14,6 +14,6 @@ class Particles : public G4VPhysicsConstructor { virtual void ConstructParticle(); // This method is dummy - virtual void ConstructProcess(){}; + virtual void ConstructProcess() {}; }; #endif