Skip to content

Commit 28054bd

Browse files
committed
linter
1 parent 233f50b commit 28054bd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,10 @@ struct FlowGenericFramework {
609609
AxisSpec v0aAxis = {1800, 0, 180000, "N_{ch} (V0A)"};
610610
AxisSpec multpvAxis = {3500, 0, 3500, "N_{ch} (PV)"};
611611
AxisSpec occAxis = {500, 0, 5000, "occupancy"};
612-
AxisSpec multAxis = (doprocessOnTheFly && !cfgUseNch) ? bAxis : (cfgUseNch) ? nchAxis
613-
: centAxis;
612+
AxisSpec multAxis = (doprocessOnTheFly) ? bAxis : centAxis;
613+
if (cfgUseNch) {
614+
multAxis = nchAxis;
615+
}
614616
AxisSpec dcaZAXis = {200, -2, 2, "DCA_{z} (cm)"};
615617
AxisSpec dcaXYAXis = {200, -1, 1, "DCA_{xy} (cm)"};
616618
AxisSpec singleCount = {1, 0, 1};
@@ -1087,7 +1089,7 @@ struct FlowGenericFramework {
10871089
if (cfg.mEfficiency == nullptr) {
10881090
LOGF(fatal, "Could not load efficiency histogram from %s", cfgEfficiency.cfgEfficiencyPath.value.c_str());
10891091
}
1090-
LOGF(info, "Loaded efficiency histogram from %s (%p)", cfgEfficiency.cfgEfficiencyPath.value.c_str(), (void*)cfg.mEfficiency);
1092+
LOGF(info, "Loaded efficiency histogram from %s", cfgEfficiency.cfgEfficiencyPath.value.c_str());
10911093
} else {
10921094
std::vector<std::string> species = {"ch", "pi", "ka", "pr", "k0", "lambda"};
10931095
for (const auto& sp : species) {

0 commit comments

Comments
 (0)