Skip to content

Commit 0c2b0fe

Browse files
authored
Fix Hit class to inherit from ITSMFT Hit
1 parent f8dff02 commit 0c2b0fe

File tree

1 file changed

+5
-1
lines changed
  • Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation

1 file changed

+5
-1
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/Hit.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919

2020
namespace o2::trk
2121
{
22-
using Hit = o2::itsmft::Hit; // For now we rely on the same Hit class as ITSMFT, but we can extend it with TRK-specific information if needed in the future
22+
class Hit : public o2::itsmft::Hit
23+
{
24+
public:
25+
using o2::itsmft::Hit::Hit; // Inherit constructors
26+
};
2327
} // namespace o2::trk
2428

2529
#endif

0 commit comments

Comments
 (0)