Skip to content

Commit

Permalink
rename config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbattistini committed Jan 28, 2025
1 parent 0709e22 commit f44c5e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ enum eLayout {
struct TRKBaseParam : public o2::conf::ConfigurableParamHelper<TRKBaseParam> {
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");
};
Expand Down
8 changes: 4 additions & 4 deletions Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f44c5e5

Please sign in to comment.