@@ -763,7 +763,7 @@ class EventSelectionModule
763763 bcPatternB = grplhcif->getBunchFilling ().getBCPattern ();
764764 bcsPattern = grplhcif->getBunchFilling ().getFilledBCs ();
765765 if (runLightIons >= 0 ) {
766- for (unsigned long i = 0 ; i < bcsPattern.size (); i++)
766+ for (uint32_t i = 0 ; i < bcsPattern.size (); i++)
767767 LOGP (debug, " bcsPattern: i={} bc={}" , i, bcsPattern.at (i));
768768 }
769769
@@ -775,7 +775,7 @@ class EventSelectionModule
775775
776776 // special treatment of light ion runs
777777 if (lastRun >= 564356 && lastRun <= 564472 ) {
778- for (unsigned long i = 0 ; i < sizeof (runListLightIons) / sizeof (*runListLightIons); i++) {
778+ for (uint32_t i = 0 ; i < sizeof (runListLightIons) / sizeof (*runListLightIons); i++) {
779779 if (runListLightIons[i] == lastRun) {
780780 runLightIons = lastRun;
781781 // extract parameterization for diff of vZ by FT0 vs by tracks
@@ -1012,7 +1012,7 @@ class EventSelectionModule
10121012 if (runLightIons >= 0 ) {
10131013 foundGlobalBC = globalBC;
10141014 // find closest nominal bc in pattern
1015- for (unsigned long i = 0 ; i < bcsPattern.size (); i++) {
1015+ for (uint32_t i = 0 ; i < bcsPattern.size (); i++) {
10161016 int32_t localBC = globalBC % nBCsPerOrbit;
10171017 int32_t bcFromPattern = bcsPattern.at (i);
10181018 int64_t bcDiff = bcFromPattern - localBC;
@@ -1049,7 +1049,7 @@ class EventSelectionModule
10491049 if (bestGlobalBC > 0 ) {
10501050 foundGlobalBC = bestGlobalBC;
10511051 // find closest nominal bc in pattern
1052- for (unsigned long j = 0 ; j < bcsPattern.size (); j++) {
1052+ for (uint32_t j = 0 ; j < bcsPattern.size (); j++) {
10531053 int32_t bcFromPatternBest = bcsPattern.at (j);
10541054 int64_t bcDiff = bcFromPatternBest - (bestGlobalBC % nBCsPerOrbit);
10551055 if (std::abs (bcDiff) <= 20 ) {
@@ -1108,9 +1108,9 @@ class EventSelectionModule
11081108 }
11091109 // alternative matching: looking for collisions with the same nominal BC
11101110 if (runLightIons >= 0 ) {
1111- for (unsigned long iCol = 0 ; iCol < vBCinPatternPerColl.size (); iCol++) {
1111+ for (uint32_t iCol = 0 ; iCol < vBCinPatternPerColl.size (); iCol++) {
11121112 int64_t foundNominalBC = vBCinPatternPerColl[iCol];
1113- for (unsigned long jCol = 0 ; jCol < vBCinPatternPerColl.size (); jCol++) {
1113+ for (uint32_t jCol = 0 ; jCol < vBCinPatternPerColl.size (); jCol++) {
11141114 int64_t foundNominalBC2 = vBCinPatternPerColl[jCol];
11151115 if (foundNominalBC2 == foundNominalBC) {
11161116 vCollisionsPileupPerColl[iCol]++;
0 commit comments