diff --git a/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h b/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h index 72782d4ed7bdf..08c1f3a3097a5 100644 --- a/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h +++ b/DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h @@ -100,7 +100,7 @@ class SimTraits /*RCH*/ VS{ "RCHHit" }, /*MI3*/ VS{ "MI3Hit" }, /*ECL*/ VS{ "ECLHit" }, - /*FD */ VS{ "FDHit" } + /*FD3*/ VS{ "FD3Hit" } #endif }; // clang-format on @@ -176,6 +176,10 @@ namespace focal { class Hit; } +namespace fd3 +{ +class Hit; +} namespace detectors { @@ -260,6 +264,10 @@ template <> struct DetIDToHitTypes { using HitType = o2::itsmft::Hit; }; +template <> +struct DetIDToHitTypes { + using HitType = o2::fd3::Hit; +}; #endif } // namespace detectors diff --git a/DataFormats/Detectors/Common/src/DetID.cxx b/DataFormats/Detectors/Common/src/DetID.cxx index 6b5fe0ed5c762..f5f1e54e5277e 100644 --- a/DataFormats/Detectors/Common/src/DetID.cxx +++ b/DataFormats/Detectors/Common/src/DetID.cxx @@ -34,6 +34,7 @@ constexpr DetID::ID DetID::IT3; constexpr DetID::ID DetID::TRK; constexpr DetID::ID DetID::FT3; constexpr DetID::ID DetID::FCT; +constexpr DetID::ID DetID::FD3; #endif constexpr int DetID::nDetectors;