Skip to content

Commit 91018e9

Browse files
committed
Add Tree_<detlist>_ to tree-based common dictionary filename
1 parent e700eda commit 91018e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/CTF/workflow/src/CTFWriterSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ void CTFWriterSpec::storeDictionaries()
562562
// monolitic dictionary in tree format
563563
mDictTimeStamp = uint32_t(std::time(nullptr));
564564
auto getFileName = [this](bool curr) {
565-
return fmt::format("{}{}_{}_{}.root", this->mDictDir, o2::base::NameConf::CTFDICT, curr ? this->mDictTimeStamp : this->mPrevDictTimeStamp, curr ? this->mNCTF : this->mNCTFPrevDict);
565+
return fmt::format("{}{}Tree_{}_{}_{}.root", this->mDictDir, o2::base::NameConf::CTFDICT, DetID::getNames(this->mDets, '-'), curr ? this->mDictTimeStamp : this->mPrevDictTimeStamp, curr ? this->mNCTF : this->mNCTFPrevDict);
566566
};
567567
auto dictFileName = getFileName(true);
568568
mDictFileOut.reset(TFile::Open(dictFileName.c_str(), "recreate"));

0 commit comments

Comments
 (0)