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 Apr 15, 2024
1 parent 37241d9 commit f0ff9fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions examples/01.NLDBD/Validate.C
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
5 changes: 2 additions & 3 deletions examples/04.MuonScan/ValidateMuonsFromPoint.C
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion include/Particles.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class Particles : public G4VPhysicsConstructor {
virtual void ConstructParticle();

// This method is dummy
virtual void ConstructProcess(){};
virtual void ConstructProcess() {};
};
#endif

0 comments on commit f0ff9fe

Please sign in to comment.