Skip to content

Commit c4c4219

Browse files
committed
add centrality, validated
1 parent ebe1715 commit c4c4219

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

PWGHF/HFC/Tasks/taskFlow.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,28 +1226,28 @@ struct HfTaskFlow {
12261226
if (mEfficiencyTpc == nullptr) {
12271227
LOGF(fatal, "Could not load efficiency histogram for TPC tracks from %s", configTask.loadEfficienciesForTpc.value.c_str());
12281228
}
1229-
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForTpc.value.c_str(), (void*)mEfficiencyTpc);
1229+
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForTpc.value.c_str(), static_cast<void*>(mEfficiencyTpc));
12301230
}
12311231
if (configTask.loadEfficienciesForMft.value.empty() == false) {
12321232
mEfficiencyMft = ccdb->getForTimeStamp<TH3D>(configTask.loadEfficienciesForTpc, timestamp);
12331233
if (mEfficiencyMft == nullptr) {
12341234
LOGF(fatal, "Could not load efficiency histogram for MFT tracks from %s", configTask.loadEfficienciesForMft.value.c_str());
12351235
}
1236-
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForMft.value.c_str(), (void*)mEfficiencyMft);
1236+
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForMft.value.c_str(), static_cast<void*>(mEfficiencyMft));
12371237
}
12381238
if (configTask.loadEfficienciesForNch.value.empty() == false) {
12391239
mEfficiencyNch = ccdb->getForTimeStamp<TH1D>(configTask.loadEfficienciesForNch, timestamp);
12401240
if (!mEfficiencyNch) {
12411241
LOGF(fatal, "Could not load efficiency histogram for Nch estimator from %s", configTask.loadEfficienciesForNch.value.c_str());
12421242
}
1243-
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForNch.value.c_str(), (void*)mEfficiencyNch);
1243+
LOGF(info, "Loaded efficiency histogram from %s (%p)", configTask.loadEfficienciesForNch.value.c_str(), static_cast<void*>(mEfficiencyNch));
12441244
}
12451245
if (configTask.loadCentralityWeight.value.empty() == false) {
12461246
mCentralityWeight = ccdb->getForTimeStamp<TH1D>(configTask.loadCentralityWeight, timestamp);
12471247
if (mCentralityWeight == nullptr) {
12481248
LOGF(fatal, "Could not load centrality weight correction from %s", configTask.loadCentralityWeight.value.c_str());
12491249
}
1250-
LOGF(info, "Loaded centrality weight from %s (%p)", configTask.loadCentralityWeight.value.c_str(), (void*)mCentralityWeight);
1250+
LOGF(info, "Loaded centrality weight from %s (%p)", configTask.loadCentralityWeight.value.c_str(), static_cast<void*>(mCentralityWeight));
12511251
}
12521252
areCorrectionsLoaded = true;
12531253
}

0 commit comments

Comments
 (0)