File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ struct jEPFlowAnalysis {
191191 if (coll.qvecAmp ()[detId] < 1e-5 || coll.qvecAmp ()[refAId] < 1e-5 || coll.qvecAmp ()[refBId] < 1e-5 )
192192 return ;
193193
194- for (int i = 0 ; i < cfgnMode; i++) { // loop over different harmonic orders
195- harmInd = cfgnTotalSystem * i; // harmonic index to access corresponding Q-vector as all Q-vectors are in same vector
194+ for (int i = 0 ; i < cfgnMode; i++) { // loop over different harmonic orders
195+ harmInd = cfgnTotalSystem * i; // harmonic index to access corresponding Q-vector as all Q-vectors are in same vector
196196 eps[0 ] = helperEP.GetEventPlane (coll.qvecShiftedRe ()[detId + harmInd], coll.qvecShiftedIm ()[detId + harmInd], i + 2 );
197197 eps[1 ] = helperEP.GetEventPlane (coll.qvecShiftedRe ()[refAId + harmInd], coll.qvecShiftedIm ()[refAId + harmInd], i + 2 );
198198 eps[2 ] = helperEP.GetEventPlane (coll.qvecShiftedRe ()[refBId + harmInd], coll.qvecShiftedIm ()[refBId + harmInd], i + 2 );
@@ -314,7 +314,6 @@ struct jEPFlowAnalysis {
314314 deltapsiDet += ((1 / (1.0 * ishift)) * (-coeffshiftxDet * std::cos (ishift * static_cast <float >(i + 2 ) * eps[0 ]) + coeffshiftyDet * std::sin (ishift * static_cast <float >(i + 2 ) * eps[0 ])));
315315 deltapsiRefA += ((1 / (1.0 * ishift)) * (-coeffshiftxRefA * std::cos (ishift * static_cast <float >(i + 2 ) * eps[1 ]) + coeffshiftyRefA * std::sin (ishift * static_cast <float >(i + 2 ) * eps[1 ])));
316316 deltapsiRefB += ((1 / (1.0 * ishift)) * (-coeffshiftxRefB * std::cos (ishift * static_cast <float >(i + 2 ) * eps[2 ]) + coeffshiftyRefB * std::sin (ishift * static_cast <float >(i + 2 ) * eps[2 ])));
317-
318317 }
319318
320319 eps[0 ] += deltapsiDet;
You can’t perform that action at this time.
0 commit comments