From f44c5e51e4c95dcaed1e5400820a3afe82c5d179 Mon Sep 17 00:00:00 2001 From: Daniel Battistini Date: Tue, 28 Jan 2025 16:50:59 +0100 Subject: [PATCH] rename config variable --- .../ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h | 4 ++-- Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h b/Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h index ce100f2d0447c..81356b86fbb79 100644 --- a/Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h +++ b/Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/TRKBaseParam.h @@ -29,8 +29,8 @@ enum eLayout { struct TRKBaseParam : public o2::conf::ConfigurableParamHelper { std::string configFile = ""; float serviceTubeX0 = 0.02f; // X0 Al2O3 - eLayout layoutML = kCylinder; // Type of segmentation for the Middle Layers - eLayout layoutOT = kCylinder; // Type of segmentation for the Outer Tracker + eLayout layoutML = kCylinder; // Type of segmentation for the middle layers + eLayout layoutOL = kCylinder; // Type of segmentation for the outer layers O2ParamDef(TRKBaseParam, "TRKBase"); }; diff --git a/Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx b/Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx index afff7a528447e..b9015ce578caf 100644 --- a/Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx +++ b/Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx @@ -124,10 +124,10 @@ void Detector::buildTRKNewVacuumVessel() mLayers[6].setLayout(trkPars.layoutML); // Outer tracker - mLayers[7].setLayout(trkPars.layoutOT); - mLayers[8].setLayout(trkPars.layoutOT); - mLayers[9].setLayout(trkPars.layoutOT); - mLayers[10].setLayout(trkPars.layoutOT); + mLayers[7].setLayout(trkPars.layoutOL); + mLayers[8].setLayout(trkPars.layoutOL); + mLayers[9].setLayout(trkPars.layoutOL); + mLayers[10].setLayout(trkPars.layoutOL); } void Detector::configFromFile(std::string fileName)