Skip to content

Commit a823da7

Browse files
committed
Fix all tabs
According to our coding guidelines tabs are not allowed and should be substituted with the required amount of spaces. This tries to do so.
1 parent 99445ab commit a823da7

66 files changed

Lines changed: 639 additions & 639 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CCDB/src/ConditionMetaData.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// granted to it by virtue of its status as an Intergovernmental Organization
99
// or submit itself to any jurisdiction.
1010

11-
// Set of data describing the object //
12-
// but not used to identify the object //
11+
// Set of data describing the object //
12+
// but not used to identify the object //
1313
#include "CCDB/ConditionMetaData.h"
1414
#include <TObjString.h> // for TObjString
1515
#include <TTimeStamp.h> // for TTimeStamp
@@ -96,19 +96,19 @@ void ConditionMetaData::printConditionMetaData()
9696

9797
TString message;
9898
if (mObjectClassName != "") {
99-
message += TString::Format("\tObject's class name: %s\n", mObjectClassName.Data());
99+
message += TString::Format("\tObject's class name: %s\n", mObjectClassName.Data());
100100
}
101101
if (mResponsible != "") {
102-
message += TString::Format("\tResponsible: %s\n", mResponsible.Data());
102+
message += TString::Format("\tResponsible: %s\n", mResponsible.Data());
103103
}
104104
if (mBeamPeriod != 0) {
105-
message += TString::Format("\tBeam period: %d\n", mBeamPeriod);
105+
message += TString::Format("\tBeam period: %d\n", mBeamPeriod);
106106
}
107107
if (mAliRootVersion != "") {
108-
message += TString::Format("\tAliRoot version: %s\n", mAliRootVersion.Data());
108+
message += TString::Format("\tAliRoot version: %s\n", mAliRootVersion.Data());
109109
}
110110
if (mComment != "") {
111-
message += TString::Format("\tComment: %s\n", mComment.Data());
111+
message += TString::Format("\tComment: %s\n", mComment.Data());
112112
}
113113
if (mProperties.GetEntries() > 0) {
114114
message += "\tProperties key names:";

CCDB/src/GridStorage.cxx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// granted to it by virtue of its status as an Intergovernmental Organization
99
// or submit itself to any jurisdiction.
1010

11-
// access class to a DataBase in an AliEn storage //
11+
// access class to a DataBase in an AliEn storage //
1212

1313
#include "CCDB/GridStorage.h"
1414
#include <FairLogger.h> // for LOG
@@ -1200,18 +1200,18 @@ void GridStorage::makeQueryFilter(Int_t firstRun, Int_t lastRun, const Condition
12001200

12011201
result = Form("CDB:first_run<=%d and CDB:last_run>=%d", firstRun, lastRun);
12021202

1203-
// if(version >= 0) {
1204-
// result += Form(" and CDB:version=%d", version);
1205-
// }
1206-
// if(pathFilter.getLevel0() != "*") {
1207-
// result += Form(" and CDB:path_level_0=\"%s\"", pathFilter.getLevel0().Data());
1208-
// }
1209-
// if(pathFilter.getLevel1() != "*") {
1210-
// result += Form(" and CDB:path_level_1=\"%s\"", pathFilter.getLevel1().Data());
1211-
// }
1212-
// if(pathFilter.getLevel2() != "*") {
1213-
// result += Form(" and CDB:path_level_2=\"%s\"", pathFilter.getLevel2().Data());
1214-
// }
1203+
// if(version >= 0) {
1204+
// result += Form(" and CDB:version=%d", version);
1205+
// }
1206+
// if(pathFilter.getLevel0() != "*") {
1207+
// result += Form(" and CDB:path_level_0=\"%s\"", pathFilter.getLevel0().Data());
1208+
// }
1209+
// if(pathFilter.getLevel1() != "*") {
1210+
// result += Form(" and CDB:path_level_1=\"%s\"", pathFilter.getLevel1().Data());
1211+
// }
1212+
// if(pathFilter.getLevel2() != "*") {
1213+
// result += Form(" and CDB:path_level_2=\"%s\"", pathFilter.getLevel2().Data());
1214+
// }
12151215

12161216
if (md) {
12171217
if (md->getObjectClassName()[0] != '\0') {
@@ -1235,7 +1235,7 @@ void GridStorage::makeQueryFilter(Int_t firstRun, Int_t lastRun, const Condition
12351235

12361236
/////////////////////////////////////////////////////////////////////////////////////////////////
12371237
// //
1238-
// GridStorage factory //
1238+
// GridStorage factory //
12391239
// //
12401240
/////////////////////////////////////////////////////////////////////////////////////////////////
12411241

@@ -1335,10 +1335,10 @@ StorageParameters *GridStorageFactory::createStorageParameter(const char *gridSt
13351335
delete arr;
13361336
arr = nullptr;
13371337

1338-
LOG(DEBUG) << "gridUrl: " << gridUrl.Data() << FairLogger::endl;
1339-
LOG(DEBUG) << "user: " << user.Data() << FairLogger::endl;
1340-
LOG(DEBUG) << "dbFolder: " << dbFolder.Data() << FairLogger::endl;
1341-
LOG(DEBUG) << "s.e.: " << se.Data() << FairLogger::endl;
1338+
LOG(DEBUG) << "gridUrl: " << gridUrl.Data() << FairLogger::endl;
1339+
LOG(DEBUG) << "user: " << user.Data() << FairLogger::endl;
1340+
LOG(DEBUG) << "dbFolder: " << dbFolder.Data() << FairLogger::endl;
1341+
LOG(DEBUG) << "s.e.: " << se.Data() << FairLogger::endl;
13421342
LOG(DEBUG) << "local cache folder: " << cacheFolder.Data() << FairLogger::endl;
13431343
LOG(DEBUG) << "local cache operate disconnected: " << operateDisconnected << FairLogger::endl;
13441344
LOG(DEBUG) << "local cache size: " << cacheSize << "" << FairLogger::endl;

CCDB/src/IdPath.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// granted to it by virtue of its status as an Intergovernmental Organization
99
// or submit itself to any jurisdiction.
1010

11-
// Path string identifying the object: //
12-
// (example: "ZDC/Calib/Pedestals") //
11+
// Path string identifying the object: //
12+
// (example: "ZDC/Calib/Pedestals") //
1313
#include "CCDB/IdPath.h"
1414
#include <FairLogger.h> // for LOG
1515
#include <TObjArray.h> // for TObjArray

CCDB/src/IdRunRange.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// granted to it by virtue of its status as an Intergovernmental Organization
99
// or submit itself to any jurisdiction.
1010

11-
// defines the run validity range of the object: //
12-
// [mFirstRun, mLastRun] //
11+
// defines the run validity range of the object: //
12+
// [mFirstRun, mLastRun] //
1313
#include "CCDB/IdRunRange.h"
1414
#include <FairLogger.h> // for LOG
1515

CCDB/src/LocalStorage.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// granted to it by virtue of its status as an Intergovernmental Organization
99
// or submit itself to any jurisdiction.
1010

11-
// access class to a DataBase in a local storage //
11+
// access class to a DataBase in a local storage //
1212

1313
#include "CCDB/LocalStorage.h"
1414
#include <FairLogger.h> // for LOG
@@ -1054,7 +1054,7 @@ void LocalStorage::queryValidCVMFSFiles(TString &cvmfsOcdbTag)
10541054

10551055
/////////////////////////////////////////////////////////////////////////////////////////////////
10561056
// //
1057-
// LocalStorage factory //
1057+
// LocalStorage factory //
10581058
// //
10591059
/////////////////////////////////////////////////////////////////////////////////////////////////
10601060

@@ -1126,7 +1126,7 @@ void LocalStorage::setRetry(Int_t /* nretry */, Int_t /* initsec */)
11261126

11271127
/////////////////////////////////////////////////////////////////////////////////////////////////
11281128
// //
1129-
// LocalStorage Parameter class // //
1129+
// LocalStorage Parameter class // //
11301130
// //
11311131
/////////////////////////////////////////////////////////////////////////////////////////////////
11321132

CCDB/src/Manager.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,9 +1279,9 @@ TList *Manager::getAllObjects(const ConditionId &query)
12791279
{
12801280
// get multiple Condition objects from the database
12811281
// Warning: this method works correctly only for queries of the type "Detector/*"
1282-
// and not for more specific queries e.g. "Detector/Calib/*" !
1282+
// and not for more specific queries e.g. "Detector/Calib/*" !
12831283
// Warning #2: Entries are cached, but getAllObjects will keep on retrieving objects from OCDB!
1284-
// To get an object from cache use getObject() function
1284+
// To get an object from cache use getObject() function
12851285

12861286
if (!mDefaultStorage) {
12871287
LOG(ERROR) << "No storage set!" << FairLogger::endl;
@@ -1697,7 +1697,7 @@ void Manager::queryStorages()
16971697
if (mDefaultStorage->getStorageType() == "alien" || mDefaultStorage->getStorageType() == "local") {
16981698
mDefaultStorage->queryStorages(mRun);
16991699
//} else {
1700-
// LOG(DEBUG) << "Skipping query for valid files, it used only in grid..." << FairLogger::endl;
1700+
// LOG(DEBUG) << "Skipping query for valid files, it used only in grid..." << FairLogger::endl;
17011701
}
17021702

17031703
TIter iter(&mSpecificStorages);

Common/Field/src/MagFieldFact.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ MagFieldFact::MagFieldFact()
3232
mFieldPar(nullptr),
3333
mField()
3434
{
35-
fCreator=this;
35+
fCreator=this;
3636
}
3737

3838
MagFieldFact::~MagFieldFact()

Common/Field/src/MagneticField.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ MagneticField::MagneticField()
9292

9393
MagneticField::MagneticField(const char *name, const char *title, Double_t factorSol, Double_t factorDip,
9494
MagFieldParam::BMap_t maptype, MagFieldParam::BeamType_t bt,
95-
Double_t be, Int_t integ, Double_t fmax,const std::string path)
95+
Double_t be, Int_t integ, Double_t fmax,const std::string path)
9696
: FairField(name,title),
9797
mMeasuredMap(nullptr),
9898
mFastField(nullptr),
@@ -163,7 +163,7 @@ void MagneticField::CreateField()
163163
// does real creation of the field
164164
if (mDefaultIntegration < 0 || mDefaultIntegration > 2) {
165165
mLogger->Warning(MESSAGE_ORIGIN, "Invalid magnetic field flag: %5d; Helix tracking chosen instead",
166-
mDefaultIntegration);
166+
mDefaultIntegration);
167167
mDefaultIntegration = 2;
168168
}
169169
if (mDefaultIntegration == 0) mPrecisionInteg = 0;
@@ -616,7 +616,7 @@ void MagneticField::Print(Option_t *opt) const
616616
mLogger->Info(MESSAGE_ORIGIN, "%s:%s", GetName(), GetTitle());
617617
mLogger->Info(MESSAGE_ORIGIN, "Solenoid (%+.2f*)%.0f kG, Dipole %s (%+.2f) %s", getFactorSolenoid(),
618618
(mMapType == MagFieldParam::k5kG || mMapType == MagFieldParam::k5kGUniform) ? 5. : 2.,
619-
mDipoleOnOffFlag ? "OFF" : "ON",
619+
mDipoleOnOffFlag ? "OFF" : "ON",
620620
getFactorDipole(), mMapType == MagFieldParam::k5kGUniform ? " |Constant Field!" : "");
621621
if (opts.Contains("a")) {
622622
mLogger->Info(MESSAGE_ORIGIN, "Machine B fields for %s beam (%.0f GeV): QGrad: %.4f Dipole: %.4f",
@@ -640,7 +640,7 @@ void MagneticField::AllowFastField(bool v)
640640
{
641641
if (v) {
642642
if (!mFastField) mFastField = std::make_unique<MagFieldFast>
643-
(getFactorSolenoid(),mMapType==MagFieldParam::k2kG ? 2:5);
643+
(getFactorSolenoid(),mMapType==MagFieldParam::k2kG ? 2:5);
644644
}
645645
else {
646646
mFastField.reset(nullptr);

Common/Field/test/testMagneticField.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE(MagneticField_test)
7272
double sF = swFast.CpuTime()/(ntst*repFactor);
7373
double rat = sF > 0. ? sS/sF : -1;
7474
LOG(INFO) << "Timing: Exact param: " << sS << " Fast param: " << sF
75-
<< "s/call -> factor " << rat << FairLogger::endl;
75+
<< "s/call -> factor " << rat << FairLogger::endl;
7676

7777
// compare slow/fast param precision
7878
double mean[3]={0.},rms[3]={0.};
@@ -92,9 +92,9 @@ BOOST_AUTO_TEST_CASE(MagneticField_test)
9292
rms[i] -= mean[i]*mean[i];
9393
rms[i] = TMath::Sqrt(rms[i]);
9494
LOG(INFO) << "deltaB" << comp[i] << ": "
95-
<< " mean=" << mean[i] << "(" << mean[i]/nomBz*100. << "%)"
96-
<< " RMS =" << rms[i] << "(" << rms[i]/nomBz*100. << "%)"
97-
<<FairLogger::endl;
95+
<< " mean=" << mean[i] << "(" << mean[i]/nomBz*100. << "%)"
96+
<< " RMS =" << rms[i] << "(" << rms[i]/nomBz*100. << "%)"
97+
<<FairLogger::endl;
9898
BOOST_CHECK( TMath::Abs(mean[i]/nomBz) < 1.e-3);
9999
BOOST_CHECK( TMath::Abs(rms[i]/nomBz) < 1.e-3);
100100
}

DataFormats/Headers/src/DataHeader.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ bool o2::Header::DataHeader::operator==(const DataOrigin& that) const
178178
bool o2::Header::DataHeader::operator==(const DataDescription& that) const
179179
{
180180
return ((that.itg[0] == gDataDescriptionAny.itg[0] &&
181-
that.itg[1] == gDataDescriptionAny.itg[1]) ||
181+
that.itg[1] == gDataDescriptionAny.itg[1]) ||
182182
(that.itg[0] == dataDescription.itg[0] &&
183-
that.itg[1] == dataDescription.itg[1] ));
183+
that.itg[1] == dataDescription.itg[1] ));
184184
}
185185

186186
//__________________________________________________________________________________________________

0 commit comments

Comments
 (0)