Skip to content

Commit 66611ba

Browse files
committed
Add McParticleExtension spawner to decayer
1 parent 35869b2 commit 66611ba

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

ALICE3/TableProducer/OTF/onTheFlyDecayer.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,12 @@ struct OnTheFlyDecayer {
212212
}
213213
};
214214

215+
struct OnTheFlyDecayerExtensionSpawner {
216+
Spawns<aod::McParticles_001Extension> spawnMcParticlesExtensions;
217+
void init(InitContext const&) {}
218+
};
219+
215220
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
216221
{
217-
return WorkflowSpec{adaptAnalysisTask<OnTheFlyDecayer>(cfgc)};
222+
return WorkflowSpec{adaptAnalysisTask<OnTheFlyDecayer>(cfgc), adaptAnalysisTask<OnTheFlyDecayerExtensionSpawner>(cfgc)};
218223
}

0 commit comments

Comments
 (0)