Skip to content

Commit e7cc066

Browse files
committed
Change carbon fiber colour to very dark grey, and add it to stave volume to get consistent colours. Also update sensor height to 2.9cm in line with new documents, and fix bug in ML stave positioning to get staggering right.
1 parent 1615376 commit e7cc066

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Detectors/Upgrades/ALICE3/FT3/simulation/include/FT3Simulation/FT3ModuleConstants.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace o2::ft3::ModuleConstants
4343
*/
4444
// First set all layout constants for the rest of the function
4545
const double single_sensor_width = 2.5;
46-
const double single_sensor_height = 3.2;
46+
const double single_sensor_height = 2.9;
4747
const double inactive_width = 0.2;
4848
const double sensor2x1_gap = 0.02;
4949
const double stackGap = sensor2x1_gap; // gap between 2xN module stacks
@@ -103,7 +103,7 @@ const int SiInactiveColor = kRed;
103103
const int glueColor = kBlue;
104104
const int CuColor = kOrange;
105105
const int kaptonColor = kYellow;
106-
const int carbonColor = kBlack;
106+
const int carbonFiberColor = kGray + 1;
107107

108108
// Struct for stave position configuration (varies between IT/OT)
109109
struct StaveConfig {
@@ -177,7 +177,7 @@ const double x_midpoint_spacing = 4.5;
177177
const std::vector<bool> staveOnFront =
178178
{
179179
1, 0, 1, 0, 1, 0, 1, 0, // L
180-
0, 1, 0, 1, 0, 1, 0, 1 // R
180+
1, 0, 1, 0, 1, 0, 1, 0 // R
181181
};
182182
} // namespace ML_StavePositions
183183

Detectors/Upgrades/ALICE3/FT3/simulation/src/FT3Module.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ void FT3Module::addStaveVolume(
326326
(volumeName).c_str(),
327327
staveShape,
328328
carbonFiberMed);
329+
staveVolume->SetLineColor(Constants::carbonFiberColor);
330+
staveVolume->SetFillColorAlpha(Constants::carbonFiberColor, 0.4);
331+
329332
TGeoRotation* rot = new TGeoRotation();
330333
rot->RotateX(-90); // lift from xy plane into xz plane
331334
/*

0 commit comments

Comments
 (0)