Skip to content

Commit 9f4427c

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

3 files changed

+4
-6
lines changed

Diff for: inc/TRestDetectorHitsReadoutAnalysisProcess.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TRestDetectorHitsReadoutAnalysisProcess : public TRestEventProcess {
2222

2323
void InitFromConfigFile() override;
2424
void Initialize() override;
25-
void LoadDefaultConfig(){};
25+
void LoadDefaultConfig() {};
2626

2727
/// \brief This process will only work on hits corresponding to this channel type (using readout)
2828
std::string fChannelType;

Diff for: inc/TRestDetectorLightAttenuationProcess.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TRestDetectorLightAttenuationProcess : public TRestEventProcess {
4141
void PrintMetadata() override;
4242

4343
TRestDetectorLightAttenuationProcess() = default;
44-
explicit TRestDetectorLightAttenuationProcess(const char* configFilename){};
44+
explicit TRestDetectorLightAttenuationProcess(const char* configFilename) {};
4545

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

Diff for: src/TRestDetectorSignalViewerProcess.cxx

+2-4
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven
109109
} else if (a == 27) // esc
110110
{
111111
fDrawRefresh = 1e99;
112-
while (getchar() != '\n')
113-
;
112+
while (getchar() != '\n');
114113
break;
115114
} else if (a == 110 || a == 78) // n
116115
{
@@ -135,8 +134,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven
135134
RESTWarning << "cannot plot signal with id " << sgnCounter << RESTendl;
136135
}
137136
}
138-
while (getchar() != '\n')
139-
;
137+
while (getchar() != '\n');
140138
}
141139
}
142140

0 commit comments

Comments
 (0)