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 Oct 21, 2024
1 parent c927eef commit af6de59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inc/TRestDetectorHitsReadoutAnalysisProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TRestDetectorHitsReadoutAnalysisProcess : public TRestEventProcess {

void InitFromConfigFile() override;
void Initialize() override;
void LoadDefaultConfig(){};
void LoadDefaultConfig() {};

/// \brief This process will only work on hits corresponding to this channel type (using readout)
std::string fChannelType;
Expand Down
2 changes: 1 addition & 1 deletion inc/TRestDetectorLightAttenuationProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TRestDetectorLightAttenuationProcess : public TRestEventProcess {
void PrintMetadata() override;

TRestDetectorLightAttenuationProcess() = default;
explicit TRestDetectorLightAttenuationProcess(const char* configFilename){};
explicit TRestDetectorLightAttenuationProcess(const char* configFilename) {};

const char* GetProcessName() const override { return "lightAttenuation"; }

Expand Down
6 changes: 2 additions & 4 deletions src/TRestDetectorSignalViewerProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven
} else if (a == 27) // esc
{
fDrawRefresh = 1e99;
while (getchar() != '\n')
;
while (getchar() != '\n');
break;
} else if (a == 110 || a == 78) // n
{
Expand All @@ -135,8 +134,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven
RESTWarning << "cannot plot signal with id " << sgnCounter << RESTendl;
}
}
while (getchar() != '\n')
;
while (getchar() != '\n');
}
}

Expand Down

0 comments on commit af6de59

Please sign in to comment.