Skip to content

Commit 28ab00c

Browse files
authored
[ALICE3]: Add FD3 hit (#16118)
1 parent 9c10136 commit 28ab00c

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎DataFormats/Detectors/Common/include/DetectorsCommonDataFormats/SimTraits.h‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class SimTraits
100100
/*RCH*/ VS{ "RCHHit" },
101101
/*MI3*/ VS{ "MI3Hit" },
102102
/*ECL*/ VS{ "ECLHit" },
103-
/*FD */ VS{ "FDHit" }
103+
/*FD3*/ VS{ "FD3Hit" }
104104
#endif
105105
};
106106
// clang-format on
@@ -176,6 +176,10 @@ namespace focal
176176
{
177177
class Hit;
178178
}
179+
namespace fd3
180+
{
181+
class Hit;
182+
}
179183
namespace detectors
180184
{
181185

@@ -260,6 +264,10 @@ template <>
260264
struct DetIDToHitTypes<o2::detectors::DetID::FCT> {
261265
using HitType = o2::itsmft::Hit;
262266
};
267+
template <>
268+
struct DetIDToHitTypes<o2::detectors::DetID::FD3> {
269+
using HitType = o2::fd3::Hit;
270+
};
263271
#endif
264272

265273
} // namespace detectors

‎DataFormats/Detectors/Common/src/DetID.cxx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ constexpr DetID::ID DetID::IT3;
3434
constexpr DetID::ID DetID::TRK;
3535
constexpr DetID::ID DetID::FT3;
3636
constexpr DetID::ID DetID::FCT;
37+
constexpr DetID::ID DetID::FD3;
3738
#endif
3839

3940
constexpr int DetID::nDetectors;

0 commit comments

Comments
 (0)