Skip to content

Commit

Permalink
Add CTP Lumi to rawTF-reader outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Oct 13, 2023
1 parent f7c4df4 commit 4f15319
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Detectors/Raw/TFReaderDD/src/TFReaderSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ o2f::DataProcessorSpec o2::rawdd::getTFReaderSpec(o2::rawdd::TFReaderInp& rinp)
continue;
}
// in case detectors were processed on FLP
if (id == DetID::CTP) {
spec.outputs.emplace_back(o2f::OutputSpec{o2f::OutputSpec{DetID::getDataOrigin(DetID::CTP), "LUMI", 0}});
rinp.hdVec.emplace_back(o2h::DataHeader{"LUMI", DetID::getDataOrigin(DetID::CTP), 0, 0}); // in abcence of real data this will be sent
}
if (id == DetID::TOF) {
spec.outputs.emplace_back(o2f::OutputSpec{o2f::ConcreteDataTypeMatcher{DetID::getDataOrigin(DetID::TOF), "CRAWDATA"}});
rinp.hdVec.emplace_back(o2h::DataHeader{"CRAWDATA", DetID::getDataOrigin(DetID::TOF), 0xDEADBEEF, 0}); // in abcence of real data this will be sent
Expand Down

0 comments on commit 4f15319

Please sign in to comment.