Skip to content

Commit ee7f945

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

File tree

7 files changed

+38
-40
lines changed

7 files changed

+38
-40
lines changed

macros/REST_CreateHisto.C

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,33 @@ Int_t REST_CreateHisto(string varName, string rootFileName, TString histoName, i
6363
return 0;
6464
};
6565

66-
//
67-
// class REST_CreateHisto :public TRestTask {
68-
// public:
69-
// ClassDef(REST_CreateHisto, 1);
70-
//
71-
// REST_CreateHisto() { fNRequiredArgument = 3; }
72-
// ~REST_CreateHisto() {}
73-
//
74-
// TString varName="";
75-
// TString rootFileName="";
76-
// TString histoName="";
77-
// int startVal = 0;
78-
// int endVal = 1000;
79-
// int bins = 1000;
80-
// Double_t normFactor = 1;
81-
//
82-
// void RunTask(TRestManager*mgr)
83-
// {
84-
// REST_CreateHisto(varName,
85-
// rootFileName,
86-
// histoName,
87-
// startVal,
88-
// endVal,
89-
// bins,
90-
// normFactor);
91-
// }
92-
//
93-
//};
66+
//
67+
// class REST_CreateHisto :public TRestTask {
68+
// public:
69+
// ClassDef(REST_CreateHisto, 1);
70+
//
71+
// REST_CreateHisto() { fNRequiredArgument = 3; }
72+
// ~REST_CreateHisto() {}
73+
//
74+
// TString varName="";
75+
// TString rootFileName="";
76+
// TString histoName="";
77+
// int startVal = 0;
78+
// int endVal = 1000;
79+
// int bins = 1000;
80+
// Double_t normFactor = 1;
81+
//
82+
// void RunTask(TRestManager*mgr)
83+
// {
84+
// REST_CreateHisto(varName,
85+
// rootFileName,
86+
// histoName,
87+
// startVal,
88+
// endVal,
89+
// bins,
90+
// normFactor);
91+
// }
92+
//
93+
//};
9494

9595
#endif

scripts/installAllTags.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
# You might need to add some environment definitions needed to build REST
2626
os.environ["GARFIELD_HOME"] = "/programas/garfield"
27-
os.environ[
28-
"LD_LIBRARY_PATH"
29-
] = "/programas/root34.32/root/lib:/programas/geant4.10.02.p02-install/lib::/programas/garfield/lib"
27+
os.environ["LD_LIBRARY_PATH"] = (
28+
"/programas/root34.32/root/lib:/programas/geant4.10.02.p02-install/lib::/programas/garfield/lib"
29+
)
3030
os.environ["PATH"] = os.environ["PATH"] + ":/programas/root34.32/root/bin/"
3131
# ===================================================
3232

source/framework/analysis/inc/TRestDataSetGainMap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,12 @@ class TRestDataSetGainMap : public TRestMetadata {
283283
void Initialize();
284284

285285
Module() {}
286-
Module(const TRestDataSetGainMap& parent) : p(&parent){};
286+
Module(const TRestDataSetGainMap& parent) : p(&parent) {};
287287
Module(const TRestDataSetGainMap& parent, const Int_t planeId, const Int_t moduleId) : p(&parent) {
288288
SetPlaneId(planeId);
289289
SetModuleId(moduleId);
290290
};
291-
~Module(){};
291+
~Module() {};
292292
};
293293
};
294294
#endif

source/framework/core/inc/TRestTask.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class TRestTask : public TRestMetadata {
5656

5757
// Constructor & Destructor
5858
TRestTask();
59-
~TRestTask(){};
59+
~TRestTask() {};
6060

6161
ClassDefOverride(TRestTask, 1);
6262
};

source/framework/core/inc/TRestThread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class TRestThread {
7373

7474
// Constructor & Destructor
7575
TRestThread() { Initialize(); }
76-
~TRestThread(){};
76+
~TRestThread() {};
7777
};
7878

7979
#endif

source/framework/core/src/TRestProcessRunner.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,7 @@ void TRestProcessRunner::RunProcess() {
487487
}
488488

489489
if (fProcStatus != kIgnore && Console::kbhit())
490-
while (getchar() != '\n')
491-
; // clear buffer
490+
while (getchar() != '\n'); // clear buffer
492491

493492
RESTEssential << "Waiting for processes to finish ..." << RESTendl;
494493

@@ -592,8 +591,7 @@ void TRestProcessRunner::PauseMenu() {
592591
Console::CursorUp(1);
593592
int c = Console::Read();
594593
if (c != '\n')
595-
while (Console::Read() != '\n')
596-
;
594+
while (Console::Read() != '\n');
597595
TRestStringOutput::REST_Verbose_Level l;
598596
if (c == '0' || c == 's') {
599597
l = TRestStringOutput::REST_Verbose_Level::REST_Silent;

source/framework/tools/inc/TRestTools.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ inline void SetInitLevel(T* name, int level) {
190190
enum Quantities { ENERGY, LENGTH, TIME };
191191
class ValueWithQuantity {
192192
public:
193-
ValueWithQuantity(double value, Quantities quantity) : fValue(value), fQuantity(quantity){};
193+
ValueWithQuantity(double value, Quantities quantity) : fValue(value), fQuantity(quantity) {};
194194
double GetValue() const { return fValue; }
195195
std::string ToString() const;
196196

0 commit comments

Comments
 (0)