|
19 | 19 | #include "Common/CCDB/ctpRateFetcher.h" |
20 | 20 | #include "Common/Core/trackUtilities.h" |
21 | 21 | #include "Common/DataModel/EventSelection.h" |
22 | | -#include "Common/DataModel/TrackSelectionTables.h" |
23 | 22 |
|
24 | 23 | #include <CCDB/BasicCCDBManager.h> |
25 | 24 | #include <CommonConstants/LHCConstants.h> |
@@ -116,7 +115,7 @@ using UnfilteredTracks = soa::Join<aod::Tracks, aod::TracksCov, aod::TracksExtra |
116 | 115 | struct LumiVertex { |
117 | 116 | Produces<o2::aod::EventInfo> rowEventInfo; |
118 | 117 | Produces<o2::aod::EventInfoBC> rowEventInfoBC; |
119 | | - Service<o2::ccdb::BasicCCDBManager> ccdb; |
| 118 | + Service<o2::ccdb::BasicCCDBManager> ccdb{}; |
120 | 119 | const char* ccdbPathGrp = "GLO/Config/GRPMagField"; |
121 | 120 | const char* ccdbPathLut = "GLO/Param/MatLUT"; |
122 | 121 | const char* ccdburl = "http://alice-ccdb.cern.ch"; |
@@ -280,8 +279,8 @@ struct LumiVertex { |
280 | 279 |
|
281 | 280 | static bool hasFT0ACCoincidence(uint8_t triggerMask) |
282 | 281 | { |
283 | | - return (triggerMask & (1 << o2::ft0::Triggers::bitA)) && |
284 | | - (triggerMask & (1 << o2::ft0::Triggers::bitC)); |
| 282 | + return (triggerMask & (1U << o2::ft0::Triggers::bitA)) != 0U && |
| 283 | + (triggerMask & (1U << o2::ft0::Triggers::bitC)) != 0U; |
285 | 284 | } |
286 | 285 |
|
287 | 286 | static bool hasAnyFT0Trigger(const std::bitset<64>& ctpInputMask) |
@@ -687,7 +686,7 @@ struct LumiVertex { |
687 | 686 |
|
688 | 687 | const uint64_t relativeTimestamp = getRelativeTimestamp(bc); |
689 | 688 | const uint64_t globalBC = bc.globalBC(); |
690 | | - const int32_t localBC = static_cast<int32_t>(globalBC % o2::constants::lhc::LHCMaxBunches); |
| 689 | + const auto localBC = static_cast<int32_t>(globalBC % o2::constants::lhc::LHCMaxBunches); |
691 | 690 | const std::bitset<64> ctpInputMask(bc.inputMask()); |
692 | 691 | const bool hasFT0 = bc.has_ft0(); |
693 | 692 | const uint8_t ft0TriggerMask = |
|
0 commit comments