Skip to content

Commit 400a6f3

Browse files
aalkinsawenzel
authored andcommitted
cleanup kine-publisher
1 parent 80cee65 commit 400a6f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run/o2sim_kine_publisher.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
using namespace o2::framework;
2222
using namespace o2::steer;
2323

24-
struct KinePublisher {
24+
struct O2simKinePublisher {
2525
Configurable<std::string> kineFileName{"kineFileName", "o2sim", "name of the _Kine.root file (without '_Kine.root')"};
2626
Configurable<int> aggregate{"aggregate-timeframe", 300, "Number of events to put in a timeframe"};
2727

@@ -60,7 +60,7 @@ struct KinePublisher {
6060

6161
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
6262
{
63-
DataProcessorSpec spec = adaptAnalysisTask<KinePublisher>(cfgc, TaskName{"o2sim-kine-publisher"});
63+
auto spec = adaptAnalysisTask<O2simKinePublisher>(cfgc);
6464
spec.outputs.emplace_back("MC", "MCHEADER", 0, Lifetime::Timeframe);
6565
spec.outputs.emplace_back("MC", "MCTRACKS", 0, Lifetime::Timeframe);
6666
spec.requiredServices.push_back(o2::framework::ArrowSupport::arrowBackendSpec());

0 commit comments

Comments
 (0)