Skip to content

Commit db4ded5

Browse files
committed
Fix MegaLinter errors
1 parent 60baaba commit db4ded5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include <string>
4646
#include <unordered_map>
4747
#include <vector>
48+
#include <utility>
4849

4950
using namespace o2;
5051
using namespace o2::framework;
@@ -673,7 +674,7 @@ struct FlowSP {
673674
return grpo->getNominalL3Field();
674675
}
675676

676-
std::pair<float, long> getCrossingAngleCCDB(uint64_t timestamp)
677+
std::pair<float, uint16_t> getCrossingAngleCCDB(uint64_t timestamp)
677678
{
678679
// TODO done only once (and not per run). Will be replaced by CCDBConfigurable
679680
auto grpo = ccdb->getForTimeStamp<o2::parameters::GRPLHCIFData>("GLO/Config/GRPLHCIF", timestamp);
@@ -682,7 +683,7 @@ struct FlowSP {
682683
return {0, 0};
683684
}
684685
float crossingAngle = grpo->getCrossingAngle();
685-
long crossingAngleTime = grpo->getCrossingAngleTime();
686+
uint16_t crossingAngleTime = grpo->getCrossingAngleTime();
686687
return {crossingAngle, crossingAngleTime};
687688
}
688689

0 commit comments

Comments
 (0)