Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Mar 12, 2024
1 parent 5314c73 commit 434a582
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions include/RMGVGenerator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class RMGVGenerator {
RMGVGenerator(RMGVGenerator&&) = delete;
RMGVGenerator& operator=(RMGVGenerator&&) = delete;

virtual inline void BeginOfRunAction(const G4Run*){};
virtual inline void EndOfRunAction(const G4Run*){};
virtual inline void BeginOfRunAction(const G4Run*) {};
virtual inline void EndOfRunAction(const G4Run*) {};

virtual void SetParticlePosition(G4ThreeVector vec) = 0;
virtual void GeneratePrimaries(G4Event*) = 0;
Expand Down
6 changes: 3 additions & 3 deletions include/RMGVOutputScheme.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class RMGVOutputScheme {
public:

inline RMGVOutputScheme(G4AnalysisManager* ana_man) { this->AssignOutputNames(ana_man); }
virtual inline void clear(){};
virtual inline void AssignOutputNames(G4AnalysisManager*){};
virtual inline void EndOfEventAction(const G4Event*){};
virtual inline void clear() {};
virtual inline void AssignOutputNames(G4AnalysisManager*) {};
virtual inline void EndOfEventAction(const G4Event*) {};
inline std::string GetNtupleName(int det_uid) { return fmt::format("det{:03}", det_uid); }
};

Expand Down
4 changes: 2 additions & 2 deletions include/RMGVVertexGenerator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class RMGVVertexGenerator {
RMGVVertexGenerator(RMGVVertexGenerator&&) = delete;
RMGVVertexGenerator& operator=(RMGVVertexGenerator&&) = delete;

virtual inline void BeginOfRunAction(const G4Run*){};
virtual inline void EndOfRunAction(const G4Run*){};
virtual inline void BeginOfRunAction(const G4Run*) {};
virtual inline void EndOfRunAction(const G4Run*) {};

virtual inline bool GenerateVertex(G4ThreeVector& v) {
v = kDummyPrimaryPosition;
Expand Down

0 comments on commit 434a582

Please sign in to comment.