@@ -185,7 +185,7 @@ struct ZdcExtraTableProducer {
185185 void process (ColEvSels const & cols, BCsRun3 const & /* bcs*/ , aod::Zdcs const & /* zdcs*/ )
186186 {
187187 // collision-based event selection
188- constexpr int kNTowers = 4 ; // number of ZDC towers
188+ constexpr int NTowers = 4 ; // number of ZDC towers
189189
190190 for (auto const & collision : cols) {
191191 const auto & foundBC = collision.foundBC_as <BCsRun3>();
@@ -229,7 +229,7 @@ struct ZdcExtraTableProducer {
229229 double pmqZNA[4 ] = {};
230230 //
231231 if (isZNChit) {
232- for (int it = 0 ; it < kNTowers ; it++) {
232+ for (int it = 0 ; it < NTowers ; it++) {
233233 pmqZNC[it] = (zdc.energySectorZNC ())[it];
234234 sumZNC += pmqZNC[it];
235235 }
@@ -244,7 +244,7 @@ struct ZdcExtraTableProducer {
244244 }
245245 }
246246 if (isZNAhit) {
247- for (int it = 0 ; it < kNTowers ; it++) {
247+ for (int it = 0 ; it < NTowers ; it++) {
248248 pmqZNA[it] = (zdc.energySectorZNA ())[it];
249249 sumZNA += pmqZNA[it];
250250 }
@@ -272,7 +272,7 @@ struct ZdcExtraTableProducer {
272272 float numXZNA = 0 ., numYZNA = 0 ., denZNA = 0 .;
273273
274274 // Calculate weighted sums of the x and y coordinates
275- for (int i = 0 ; i < kNTowers ; i++) {
275+ for (int i = 0 ; i < NTowers ; i++) {
276276 if (pmqZNC[i] > 0 .) {
277277 float wZNC = std::pow (pmqZNC[i], kAlpha );
278278 numXZNC -= X[i] * wZNC; // numerator x (minus sign due to opposite orientation of ZNC)
0 commit comments