Skip to content

Commit 721ff95

Browse files
committed
make sure MFT digi2raw creates 1 file per link if requested
1 parent e3c3f63 commit 721ff95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/ITSMFT/MFT/simulation/src/digi2raw.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ void setupLinks(o2::itsmft::MC2RawEncoder<MAP>& m2r, std::string_view outDir, st
264264
} else if (fileFor == "cru") {
265265
outFileLink = o2::utils::Str::concat_string(outDir, "/", outPrefix, "_cru", std::to_string(link->cruID), ".raw");
266266
} else if (fileFor == "link") {
267-
outFileLink = o2::utils::Str::concat_string(outDir, "/", outPrefix, "_cru", std::to_string(cruID),
268-
"_link", std::to_string(linkID), "_ep", std::to_string(link->endPointID), ".raw");
267+
outFileLink = o2::utils::Str::concat_string(outDir, "/", outPrefix, "_cru", std::to_string(link->cruID),
268+
"_link", std::to_string(linkID), "_ep", std::to_string(link->endPointID), "_feeid", std::to_string(link->feeID), ".raw");
269269
} else {
270270
throw std::runtime_error("invalid option provided for file grouping");
271271
}

0 commit comments

Comments
 (0)