Skip to content

Commit 2c15fbb

Browse files
Igor AltsybeevIgor Altsybeev
authored andcommitted
change 'layoutOL' to 'layoutOT' for consistency
1 parent c590fd7 commit 2c15fbb

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/GeometryTGeo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class GeometryTGeo : public o2::detectors::DetMatrixCache
223223
std::vector<float> mCacheRefAlphaMLOT; /// cache for sensor ref alpha ML and OT
224224

225225
eLayout mLayoutML; // Type of segmentation for the middle layers
226-
eLayout mLayoutOL; // Type of segmentation for the outer layers
226+
eLayout mLayoutOT; // Type of segmentation for the outer layers
227227

228228
private:
229229
static std::unique_ptr<o2::trk::GeometryTGeo> sInstance;

Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ struct TRKBaseParam : public o2::conf::ConfigurableParamHelper<TRKBaseParam> {
4646
eOverallGeom overallGeom = kDefaultRadii; // Overall geometry option, to be used in Detector::buildTRKMiddleOuterLayers
4747

4848
eLayout layoutML = kTurboStaves; // Type of segmentation for the middle layers
49-
eLayout layoutOL = kStaggered; // Type of segmentation for the outer layers
49+
eLayout layoutOT = kStaggered; // Type of segmentation for the outer layers
5050
eVDLayout layoutVD = kIRIS4; // VD detector layout design
5151

5252
eLayout getLayoutML() const { return layoutML; }
53-
eLayout getLayoutOL() const { return layoutOL; }
53+
eLayout getLayoutOT() const { return layoutOT; }
5454
eVDLayout getLayoutVD() const { return layoutVD; }
5555

5656
O2ParamDef(TRKBaseParam, "TRKBase");

Detectors/Upgrades/ALICE3/TRK/base/src/GeometryTGeo.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ void GeometryTGeo::Build(int loadTrans)
7777
}
7878

7979
mLayoutML = o2::trk::TRKBaseParam::Instance().getLayoutML();
80-
mLayoutOL = o2::trk::TRKBaseParam::Instance().getLayoutOL();
80+
mLayoutOT = o2::trk::TRKBaseParam::Instance().getLayoutOT();
8181

82-
LOG(debug) << "Layout ML: " << mLayoutML << ", Layout OL: " << mLayoutOL;
82+
LOG(debug) << "Layout ML: " << mLayoutML << ", Layout OL: " << mLayoutOT;
8383

8484
mNumberOfLayersMLOT = extractNumberOfLayersMLOT();
8585
mNumberOfPetalsVD = extractNumberOfPetalsVD();
@@ -405,7 +405,7 @@ TString GeometryTGeo::getMatrixPath(int index) const
405405
// handling cylindrical configuration for ML and/or OT
406406
// needed bercause of the different numbering scheme in the geometry for the cylindrical case wrt the staggered and turbo ones
407407
if (subDetID == 1) {
408-
if ((layer < 4 && mLayoutML == eLayout::kCylinder) || (layer > 3 && mLayoutOL == eLayout::kCylinder)) {
408+
if ((layer < 4 && mLayoutML == eLayout::kCylinder) || (layer > 3 && mLayoutOT == eLayout::kCylinder)) {
409409
stave = 1;
410410
mod = 1;
411411
chip = 1;

Detectors/Upgrades/ALICE3/TRK/macros/test/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
nEvents=10
33

44
# Simulating
5-
o2-sim-serial-run5 -n $nEvents -g pythia8hi -m TRK --configKeyValues "TRKBase.layoutML=kTurboStaves;TRKBase.layoutOL=kStaggered;">& sim_TRK.log
5+
o2-sim-serial-run5 -n $nEvents -g pythia8hi -m TRK --configKeyValues "TRKBase.layoutML=kTurboStaves;TRKBase.layoutOT=kStaggered;">& sim_TRK.log
66

77
# Digitizing
88
o2-sim-digitizer-workflow -b >& digiTRK.log

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ void Detector::buildTRKMiddleOuterLayers()
146146
mLayers[3].setLayout(trkPars.layoutML);
147147

148148
// Outer tracker
149-
mLayers[4].setLayout(trkPars.layoutOL);
150-
mLayers[5].setLayout(trkPars.layoutOL);
151-
mLayers[6].setLayout(trkPars.layoutOL);
152-
mLayers[7].setLayout(trkPars.layoutOL);
149+
mLayers[4].setLayout(trkPars.layoutOT);
150+
mLayers[5].setLayout(trkPars.layoutOT);
151+
mLayers[6].setLayout(trkPars.layoutOT);
152+
mLayers[7].setLayout(trkPars.layoutOT);
153153
}
154154

155155
void Detector::configFromFile(std::string fileName)

Detectors/Upgrades/ALICE3/TRK/workflow/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Note that the `trackingparams` field can contain multiple sets of parameters for
9898
First, generate simulation data:
9999

100100
```bash
101-
o2-sim-serial-run5 -n 200 -g pythia8hi -m TRK --configKeyValues "Diamond.width[0]=0.01;Diamond.width[1]=0.01;Diamond.width[2]=5;TRKBase.layoutML=kTurboStaves;TRKBase.layoutOL=kStaggered;"
101+
o2-sim-serial-run5 -n 200 -g pythia8hi -m TRK --configKeyValues "Diamond.width[0]=0.01;Diamond.width[1]=0.01;Diamond.width[2]=5;TRKBase.layoutML=kTurboStaves;TRKBase.layoutOT=kStaggered;"
102102
```
103103

104104
This produces, among other files:

0 commit comments

Comments
 (0)