JeffersonLab / JANA2

Multi-threaded HENP Event Reconstruction
https://jeffersonlab.github.io/JANA2/
Other
6 stars 9 forks source link

Simplify JEventProcessor API #292

Closed nathanwbrei closed 2 months ago

nathanwbrei commented 2 months ago

JEventProcessor now provides a callback void Process(const JEvent&) as an eventual replacement for void Process(const std::shared_ptr<const JEvent>&). It is usable immediately, though you have to call SetCallbackStyle(CallbackStyle::ExpertMode); in the constructor in order to enable it.