Skip to content

Commit 9d84463

Browse files
committed
Please consider the following formatting changes
1 parent 81b173b commit 9d84463

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Detectors/Upgrades/ALICE3/FD/base/include/FDBase/FDBaseParam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ struct FDBaseParam : public o2::conf::ConfigurableParamHelper<FDBaseParam> {
2828

2929
bool withMG = false; // modified geometry with 3 rings on A side
3030

31-
bool plateBehindA= true;
31+
bool plateBehindA = true;
3232
bool fullContainer = false;
33-
float dzplate = 1.0f; //Aluminium plate width
33+
float dzplate = 1.0f; // Aluminium plate width
3434

3535
O2ParamDef(FDBaseParam, "FDBase");
3636
};

Detectors/Upgrades/ALICE3/FD/simulation/src/Detector.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Detector::Detector(bool active)
7676
mDzScint = baseParam.dzscint / 2;
7777
mDzPlate = baseParam.dzplate;
7878

79-
mPlateBehindA= baseParam.plateBehindA;
79+
mPlateBehindA = baseParam.plateBehindA;
8080
mFullContainer = baseParam.fullContainer;
8181

8282
mZA = baseParam.zmodA;
@@ -288,7 +288,6 @@ void Detector::createMaterials()
288288
o2::base::Detector::Material(++matId, "Aluminium", aAlu, zAlu, dAlu, 8.9, 999);
289289
o2::base::Detector::Medium(Aluminium, "Aluminium", matId, unsens, fieldType, maxField,
290290
tmaxfd, stemax, deemax, epsil, stmin);
291-
292291
}
293292

294293
void Detector::buildModules()
@@ -343,11 +342,11 @@ TGeoVolumeAssembly* Detector::buildModuleA()
343342
auto pnod1 = new TGeoVolume("pnod1_FDA", pvol, pmed);
344343
double dpz = 2. + mDzPlate / 2;
345344
mod->AddNode(pnod1, 1, new TGeoTranslation(0, 0, dpz));
346-
345+
347346
if (mFullContainer) {
348347
auto pnod2 = new TGeoVolume("pnod2_FDA", pvol, pmed);
349348
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, -dpz));
350-
}
349+
}
351350
}
352351
return mod;
353352
}
@@ -389,7 +388,7 @@ TGeoVolumeAssembly* Detector::buildModuleC()
389388
double dpz = mDzScint / 2 + mDzPlate / 2;
390389

391390
mod->AddNode(pnod1, 1, new TGeoTranslation(0, 0, dpz));
392-
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, - dpz));
391+
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, -dpz));
393392
}
394393

395394
return mod;

0 commit comments

Comments
 (0)