Skip to content

add support for passing std::unique_ptr into SgTEvent::record

Nils Erik Krumnack requested to merge krumnack/athena:unique_ptr_record into 21.2

The goal is to allow users to do something like this:

auto jets = std::make_unique<xAOD::JetContainer> ();
...
ANA_CHECK (evtStore()->record (std::move (jets), "myjets"));

The old mechanism is still supported, but I'd much rather start teaching people to pass around smart pointers instead of just bare pointers.

Merge request reports

Loading