56 using TriggerInputType = std::vector<o2::emcal::TriggerRecord>;
62 auto creator = [dto, tro, mco, subspec, propagateMC](
const char* treename,
const char*
filename,
int nofEvents, Reader::PublishingMode publishingMode,
const char* branchname,
const char* triggerbranchname,
const char* mcbranchname) {
64 return std::make_shared<Reader>(treename,
70 Reader::BranchDefinition<T>{
Output{dto.
origin, dto.description, subspec}, branchname},
71 Reader::BranchDefinition<TriggerInputType>{
Output{tro.
origin, tro.description, subspec}, triggerbranchname});
73 return std::make_shared<Reader>(treename,
77 Reader::BranchDefinition<T>{
Output{dto.
origin, dto.description, subspec}, branchname},
78 Reader::BranchDefinition<TriggerInputType>{
Output{tro.
origin, tro.description, subspec}, triggerbranchname});
std::function< std::shared_ptr< Reader >(const char *, const char *, int, Reader::PublishingMode, const char *, const char *, const char *)> Creator