Skip to content

Commit

Permalink
Match all specs when writing decoded MID digits (#10774)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstocco authored Feb 15, 2023
1 parent b7abcff commit f003738
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
outputFilename.c_str(),
treeFilename.c_str(),
-1,
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ColumnData>>{InputSpec{"mid_data", o2::header::gDataOriginMID, "DATA"}, "MIDDigit"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ROFRecord>>{InputSpec{"mid_data_rof", o2::header::gDataOriginMID, "DATAROF"}, "MIDROFRecords"})());
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ColumnData>>{InputSpec{"mid_data", o2::header::gDataOriginMID, "DATA", 0}, "MIDDigit"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ColumnData>>{InputSpec{"mid_data_1", o2::header::gDataOriginMID, "DATA", 1}, "MIDNoise"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ColumnData>>{InputSpec{"mid_data_2", o2::header::gDataOriginMID, "DATA", 2}, "MIDDead"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ROFRecord>>{InputSpec{"mid_data_rof", o2::header::gDataOriginMID, "DATAROF", 0}, "MIDROFRecords"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ROFRecord>>{InputSpec{"mid_data_rof_1", o2::header::gDataOriginMID, "DATAROF", 1}, "MIDROFRecordsNoise"},
MakeRootTreeWriterSpec::BranchDefinition<std::vector<o2::mid::ROFRecord>>{InputSpec{"mid_data_rof_2", o2::header::gDataOriginMID, "DATAROF", 2}, "MIDROFRecordsDead"})());

return specs;
}

0 comments on commit f003738

Please sign in to comment.