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 Apr 25, 2023
1 parent d7b30b2 commit db8001b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 30 deletions.
56 changes: 28 additions & 28 deletions macros/REST_CreateHisto.C
Original file line number Diff line number Diff line change
Expand Up @@ -63,33 +63,33 @@ Int_t REST_CreateHisto(string varName, string rootFileName, TString histoName, i
return 0;
};

//
// class REST_CreateHisto :public TRestTask {
// public:
// ClassDef(REST_CreateHisto, 1);
//
// REST_CreateHisto() { fNRequiredArgument = 3; }
// ~REST_CreateHisto() {}
//
// TString varName="";
// TString rootFileName="";
// TString histoName="";
// int startVal = 0;
// int endVal = 1000;
// int bins = 1000;
// Double_t normFactor = 1;
//
// void RunTask(TRestManager*mgr)
// {
// REST_CreateHisto(varName,
// rootFileName,
// histoName,
// startVal,
// endVal,
// bins,
// normFactor);
// }
//
//};
//
// class REST_CreateHisto :public TRestTask {
// public:
// ClassDef(REST_CreateHisto, 1);
//
// REST_CreateHisto() { fNRequiredArgument = 3; }
// ~REST_CreateHisto() {}
//
// TString varName="";
// TString rootFileName="";
// TString histoName="";
// int startVal = 0;
// int endVal = 1000;
// int bins = 1000;
// Double_t normFactor = 1;
//
// void RunTask(TRestManager*mgr)
// {
// REST_CreateHisto(varName,
// rootFileName,
// histoName,
// startVal,
// endVal,
// bins,
// normFactor);
// }
//
//};

#endif
1 change: 0 additions & 1 deletion scripts/launchBsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@

cont = 0
for command in lines:

rpt = repeat
while rpt > 0:
f = open("/tmp/suehrjksui", "w")
Expand Down
1 change: 0 additions & 1 deletion scripts/vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def checkinstalled(name):


def initvar():

print("processors in cpu : ", cpu_count())
opt["Make_Threads"] = str(cpu_count() / 2)
if int(opt["Make_Threads"]) > 8:
Expand Down

0 comments on commit db8001b

Please sign in to comment.