Skip to content

Commit d9b672a

Browse files
committed
Fix
1 parent cee3aaa commit d9b672a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

PWGLF/Tasks/Strangeness/strangecasctrack.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,15 @@ struct strangecasctrack {
156156
auto timeStamp = timestamp;
157157

158158
std::string efficiencyCCDBPath = [&]() {
159-
if (doProcesspp)
159+
if (doProcesspp) {
160160
return efficiencyCCDBPath_pp;
161-
if (doProcesspO)
161+
} else if (doProcesspO) {
162162
return efficiencyCCDBPath_pO;
163-
if (doProcessPbPb)
163+
} else if (doProcessPbPb) {
164164
return efficiencyCCDBPath_PbPb;
165-
if (doProcessOO)
165+
} else {
166166
return efficiencyCCDBPath_OO;
167+
}
167168
}();
168169

169170
TList* listEfficiencies = ccdb->getForTimeStamp<TList>(efficiencyCCDBPath, timeStamp);

0 commit comments

Comments
 (0)