@@ -433,68 +433,68 @@ struct ZdcQVectors {
433433
434434 selected = std::fabs (collision.posZ ()) < cfgVtxZ;
435435 if (selected) {
436- selectionBits |= ( uint16_t ) (0x1u << evSel_Zvtx);
436+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_Zvtx);
437437 fillCutAnalysis (collision, bunchCrossing, evSel_Zvtx);
438438 }
439439
440440 selected = collision.sel8 ();
441441 if (selected) {
442- selectionBits |= ( uint16_t ) (0x1u << evSel_sel8);
442+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_sel8);
443443 fillCutAnalysis (collision, bunchCrossing, evSel_sel8);
444444 }
445445
446446 auto occupancy = collision.trackOccupancyInTimeRange ();
447447 selected = occupancy <= EvSel.cfgMaxOccupancy ;
448448 if (selected) {
449- selectionBits |= ( uint16_t ) (0x1u << evSel_occupancy);
449+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_occupancy);
450450 fillCutAnalysis (collision, bunchCrossing, evSel_occupancy);
451451 }
452452
453453 selected = collision.selection_bit (o2::aod::evsel::kNoSameBunchPileup );
454454 if (selected) {
455- selectionBits |= ( uint16_t ) (0x1u << evSel_kNoSameBunchPileup);
455+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kNoSameBunchPileup);
456456 fillCutAnalysis (collision, bunchCrossing, evSel_kNoSameBunchPileup);
457457 }
458458
459459 selected = collision.selection_bit (o2::aod::evsel::kIsGoodZvtxFT0vsPV );
460460 if (selected) {
461- selectionBits |= ( uint16_t ) (0x1u << evSel_kIsGoodZvtxFT0vsPV);
461+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kIsGoodZvtxFT0vsPV);
462462 fillCutAnalysis (collision, bunchCrossing, evSel_kIsGoodZvtxFT0vsPV);
463463 }
464464
465465 selected = collision.selection_bit (o2::aod::evsel::kNoCollInTimeRangeStandard );
466466 if (selected) {
467- selectionBits |= ( uint16_t ) (0x1u << evSel_kNoCollInTimeRangeStandard);
467+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kNoCollInTimeRangeStandard);
468468 fillCutAnalysis (collision, bunchCrossing, evSel_kNoCollInTimeRangeStandard);
469469 }
470470
471471 selected = collision.selection_bit (o2::aod::evsel::kNoCollInTimeRangeNarrow );
472472 if (selected) {
473- selectionBits |= ( uint16_t ) (0x1u << evSel_kNoCollInTimeRangeNarrow);
473+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kNoCollInTimeRangeNarrow);
474474 fillCutAnalysis (collision, bunchCrossing, evSel_kNoCollInTimeRangeNarrow);
475475 }
476476
477477 selected = collision.selection_bit (o2::aod::evsel::kIsVertexITSTPC );
478478 if (selected) {
479- selectionBits |= ( uint16_t ) (0x1u << evSel_kIsVertexITSTPC);
479+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kIsVertexITSTPC);
480480 fillCutAnalysis (collision, bunchCrossing, evSel_kIsVertexITSTPC);
481481 }
482482
483483 selected = collision.selection_bit (o2::aod::evsel::kIsGoodITSLayersAll );
484484 if (selected) {
485- selectionBits |= ( uint16_t ) (0x1u << evSel_kIsGoodITSLayersAll);
485+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kIsGoodITSLayersAll);
486486 fillCutAnalysis (collision, bunchCrossing, evSel_kIsGoodITSLayersAll);
487487 }
488488
489489 selected = collision.selection_bit (o2::aod::evsel::kIsGoodITSLayer0123 );
490490 if (selected) {
491- selectionBits |= ( uint16_t ) (0x1u << evSel_kIsGoodITSLayer0123);
491+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_kIsGoodITSLayer0123);
492492 fillCutAnalysis (collision, bunchCrossing, evSel_kIsGoodITSLayer0123);
493493 }
494494
495495 selected = rctChecker (collision);
496496 if (selected) {
497- selectionBits |= ( uint16_t ) (0x1u << evSel_RCTFlagsZDC);
497+ selectionBits |= static_cast < uint16_t > (0x1u << evSel_RCTFlagsZDC);
498498 fillCutAnalysis (collision, bunchCrossing, evSel_RCTFlagsZDC);
499499 }
500500
0 commit comments