diff --git a/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx b/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx index c3aa6faece7..111e1f8e92b 100644 --- a/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx +++ b/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx @@ -126,8 +126,10 @@ struct flowJSPCAnalysis { // histManager.FillTrackQA<0>(track, cBin, collision.posZ()); using JInputClassIter = typename TrackT::iterator; - if constexpr (std::experimental::is_detected::value) wNUA=track.weightNUA(); - if constexpr (std::experimental::is_detected::value) wEff=track.weightEff(); + if constexpr (std::experimental::is_detected::value) + wNUA = track.weightNUA(); + if constexpr (std::experimental::is_detected::value) + wEff = track.weightEff(); histManager.fillTrackQA<1>(track, cBin, wEff, wNUA, collision.posZ()); if constexpr (std::experimental::is_detected::value) {