Skip to content

Commit 2726204

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ab8b213 commit 2726204

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

examples/01.NLDBD/Validate.C

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ Int_t Validate(const char* filename) {
117117
}
118118

119119
if (TMath::Abs(averagePosition.Mag() - averagePositionRef.Mag()) / averagePositionRef.Mag() > tolerance) {
120-
cout << "The average position does not match the reference value of "
121-
<< "(" << averagePositionRef.x() << ", " << averagePositionRef.y() << ", "
122-
<< averagePositionRef.z() << ") mm" << endl;
120+
cout << "The average position does not match the reference value of " << "(" << averagePositionRef.x()
121+
<< ", " << averagePositionRef.y() << ", " << averagePositionRef.z() << ") mm" << endl;
123122
return 12;
124123
}
125124

examples/04.MuonScan/ValidateMuonsFromPoint.C

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,8 @@ Int_t ValidateMuonsFromPoint(const char* filename) {
135135
}
136136

137137
if (TMath::Abs(averagePosition.Mag() - averagePositionRef.Mag()) / averagePositionRef.Mag() > tolerance) {
138-
cout << "The average position does not match the reference value of "
139-
<< "(" << averagePositionRef.x() << ", " << averagePositionRef.y() << ", "
140-
<< averagePositionRef.z() << ") mm" << endl;
138+
cout << "The average position does not match the reference value of " << "(" << averagePositionRef.x()
139+
<< ", " << averagePositionRef.y() << ", " << averagePositionRef.z() << ") mm" << endl;
141140
return 14;
142141
}
143142

include/Particles.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ class Particles : public G4VPhysicsConstructor {
1414
virtual void ConstructParticle();
1515

1616
// This method is dummy
17-
virtual void ConstructProcess(){};
17+
virtual void ConstructProcess() {};
1818
};
1919
#endif

0 commit comments

Comments
 (0)