5 #ifndef EVENT_BOOKKEEPER_TOOLS__CUT_BOOKKEEPERS_LOCAL_CACHE_H
6 #define EVENT_BOOKKEEPER_TOOLS__CUT_BOOKKEEPERS_LOCAL_CACHE_H
16 std::vector<std::unique_ptr<xAOD::CutBookkeeperContainer>>
cont;
17 std::vector<std::unique_ptr<xAOD::CutBookkeeperAuxContainer>>
aux;
20 std::size_t
size()
const {
return cont.size(); }
34 for (std::size_t
i = 0;
i <
toAdd; ++
i) {
35 auto container = std::make_unique<xAOD::CutBookkeeperContainer>();
36 auto auxContainer = std::make_unique<xAOD::CutBookkeeperAuxContainer>();
37 container->setStore(auxContainer.get());
38 target.cont.push_back(std::move(container));
39 target.aux.push_back(std::move(auxContainer));
44 #endif // EVENT_BOOKKEEPER_TOOLS__CUT_BOOKKEEPERS_LOCAL_CACHE_H