We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb26757 commit a8502f7Copy full SHA for a8502f7
PWGCF/Flow/Tasks/flowGfwTask.cxx
@@ -886,10 +886,11 @@ struct FlowGfwTask {
886
double ft0mAmp = 0;
887
888
if (foundBC.has_ft0()) {
889
- for (const auto& amplitude : foundBC.ft0().amplitudeA()) {
+ auto ft0 = foundBC.ft0();
890
+ for (const auto& amplitude : ft0.amplitudeA()) {
891
ft0aAmp += amplitude;
892
}
- for (const auto& amplitude : foundBC.ft0().amplitudeC()) {
893
+ for (const auto& amplitude : ft0.amplitudeC()) {
894
ft0cAmp += amplitude;
895
896
} else {
0 commit comments