Skip to content

Commit 8e0941a

Browse files
committed
Enable shared mem for ZDC hits
1 parent a4ae90e commit 8e0941a

File tree

1 file changed

+13
-0
lines changed
  • Detectors/ZDC/simulation/include/ZDCSimulation

1 file changed

+13
-0
lines changed

Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,17 @@ class Detector : public o2::Base::DetImpl<Detector>
130130
}
131131
}
132132

133+
#ifdef USESHM
134+
namespace o2
135+
{
136+
namespace Base
137+
{
138+
template <>
139+
struct UseShm<o2::zdc::Detector> {
140+
static constexpr bool value = true;
141+
};
142+
} // namespace Base
143+
} // namespace o2
144+
#endif
145+
133146
#endif

0 commit comments

Comments
 (0)