File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ struct PseudorapidityDensityMFT {
11151115 {
11161116 float c_gen = -1 ;
11171117 bool atLeastOne = false ;
1118- int moreThanOne = 0 ;
1118+ // int moreThanOne = 0;
11191119 for (auto & collision : collisions) {
11201120 float c_rec = -1 ;
11211121 if constexpr (C::template contains<aod::CentFT0Cs>()) {
@@ -1132,7 +1132,7 @@ struct PseudorapidityDensityMFT {
11321132 }
11331133 }
11341134 atLeastOne = true ;
1135- ++moreThanOne;
1135+ // ++moreThanOne;
11361136 auto z = collision.posZ ();
11371137
11381138 if constexpr (C::template contains<aod::CentFT0Cs>()) {
Original file line number Diff line number Diff line change @@ -355,10 +355,11 @@ struct ZDCAnalysis {
355355 float multFDA = 0 ;
356356 float multFDC = 0 ;
357357 if (foundBC.has_fdd ()) {
358- for (auto amplitude : foundBC.fdd ().chargeA ()) {
358+ auto const & fdd = foundBC.fdd ();
359+ for (auto const & amplitude : fdd.chargeA ()) {
359360 multFDA += amplitude;
360361 }
361- for (auto amplitude : foundBC. fdd () .chargeC ()) {
362+ for (auto const & amplitude : fdd.chargeC ()) {
362363 multFDC += amplitude;
363364 }
364365 } else {
You can’t perform that action at this time.
0 commit comments