From 44bef8c7fec0cf5cf198828ef5da15916da0b558 Mon Sep 17 00:00:00 2001 From: Podist Kurashvili Date: Tue, 3 Sep 2024 13:23:09 +0200 Subject: [PATCH] fixed hits --- .../Common/include/DetectorsCommonDataFormats/SimTraits.h | 3 ++- Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h b/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h index 8f9cbcfbdba43..4f68107b172df 100644 --- a/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h +++ b/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h @@ -99,7 +99,8 @@ class SimTraits /*TF3*/ VS{ "TF3Hit" }, /*RCH*/ VS{ "RCHHit" }, /*MI3*/ VS{ "MI3Hit" }, - /*ECL*/ VS{ "ECLHit" } + /*ECL*/ VS{ "ECLHit" }, + /*FVD*/ VS{ "FVDHit" } #endif }; // clang-format on diff --git a/Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx b/Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx index efd308ca0486e..ecdc11d3b09d1 100644 --- a/Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx +++ b/Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx @@ -192,10 +192,10 @@ void Detector::CreateMaterials() Float_t epsil = 0.03; // tracking precision [cm] Float_t stmin = -0.001; // minimum step due to continuous processes [cm] (negative value: choose it automatically) - LOG(info) << "FVD: createMaterials(): fieldType " << fieldType << ", maxField " << maxField; + LOG(info) << "FVD: CreateMaterials(): fieldType " << fieldType << ", maxField " << maxField; - o2::base::Detector::Mixture(++matId, "Scintillator$", aScint, zScint, dScint, nScint, wScint); - o2::base::Detector::Medium(Scintillator, "Scintillator$", matId, unsens, fieldType, maxField, + o2::base::Detector::Mixture(++matId, "Scintillator", aScint, zScint, dScint, nScint, wScint); + o2::base::Detector::Medium(Scintillator, "Scintillator", matId, unsens, fieldType, maxField, tmaxfd, stemax, deemax, epsil, stmin); }