We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee3aaa commit d9b672aCopy full SHA for d9b672a
1 file changed
PWGLF/Tasks/Strangeness/strangecasctrack.cxx
@@ -156,14 +156,15 @@ struct strangecasctrack {
156
auto timeStamp = timestamp;
157
158
std::string efficiencyCCDBPath = [&]() {
159
- if (doProcesspp)
+ if (doProcesspp) {
160
return efficiencyCCDBPath_pp;
161
- if (doProcesspO)
+ } else if (doProcesspO) {
162
return efficiencyCCDBPath_pO;
163
- if (doProcessPbPb)
+ } else if (doProcessPbPb) {
164
return efficiencyCCDBPath_PbPb;
165
- if (doProcessOO)
+ } else {
166
return efficiencyCCDBPath_OO;
167
+ }
168
}();
169
170
TList* listEfficiencies = ccdb->getForTimeStamp<TList>(efficiencyCCDBPath, timeStamp);
0 commit comments