Skip to content

Commit ebf0393

Browse files
authored
[ALICE3] Copy class of ITSMFT Hit for TRK Hit (#15194)
1 parent ea6b15c commit ebf0393

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ o2_target_root_dictionary(TRKSimulation
3939
include/TRKSimulation/VDLayer.h
4040
include/TRKSimulation/VDGeometryBuilder.h
4141
include/TRKSimulation/VDSensorRegistry.h
42-
include/TRKSimulation/DPLDigitizerParam.h)
42+
include/TRKSimulation/DPLDigitizerParam.h)

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)