Skip to content

Commit d13ebbb

Browse files
committed
Fix output file name for checkResid streamers
1 parent 86a999e commit d13ebbb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Detectors/GlobalTrackingWorkflow/study/src/CheckResidSpec.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void CheckResidSpec::init(InitContext& ic)
132132
int maxLanes = ic.services().get<const o2::framework::DeviceSpec>().maxInputTimeslices;
133133
std::string nm = params.outname;
134134
if (maxLanes > 1) {
135-
o2::conf::ConfigurableParam::updateFromString(fmt::format("checkresid.outname={}_{}", nm, lane));
135+
o2::conf::ConfigurableParam::updateFromString(fmt::format("checkresid.outname={}_t{}", nm, lane));
136136
}
137137
if (mDraw) {
138138
mFillHistos = true;
@@ -173,8 +173,7 @@ void CheckResidSpec::init(InitContext& ic)
173173
mNThreads = 1;
174174
#endif
175175
if (mFillTree) {
176-
nm += ".root";
177-
mDBGOut = std::make_unique<o2::utils::TreeStreamRedirector>(nm.c_str(), "recreate");
176+
mDBGOut = std::make_unique<o2::utils::TreeStreamRedirector>(fmt::format("{}.root", params.outname).c_str(), "recreate");
178177
}
179178
}
180179

0 commit comments

Comments
 (0)