Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Detectors/Upgrades/ALICE3/FT3/simulation/src/FT3Module.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ void FT3Module::addSingleSensorVolume(
TGeoVolume* sensor;
TGeoManager* geoManager = gGeoManager;
// ACTIVE AREA
std::string sensor_name = "FT3Sensor_" + std::to_string(direction) + "_" + std::to_string(layerNumber) + "_" + std::to_string(stave_idx) + "_" + std::to_string(volume_count);
std::string sensor_name = "FT3Sensor_Active_" + std::to_string(direction) + "_" + std::to_string(layerNumber) + "_" + std::to_string(stave_idx) + "_" + std::to_string(volume_count);
sensor = geoManager->MakeBox(sensor_name.c_str(), siliconMed, Constants::active_width / 2,
Constants::single_sensor_height / 2, Constants::siliconThickness / 2);
sensor->SetLineColor(Constants::SiColor);
Expand All @@ -471,7 +471,7 @@ void FT3Module::addSingleSensorVolume(
y_mid,
z_mid) // TGeoTranslation
); // addNode
(volume_count)++;

// INACTIVE STRIP ON LEFT OR RIGHT
double inactive_x_mid = isLeft ? (active_x_mid - Constants::active_width / 2 - Constants::inactive_width / 2)
: (active_x_mid + Constants::active_width / 2 + Constants::inactive_width / 2);
Expand Down