Skip to content

Commit 2161ef1

Browse files
authored
Update PseudorapidityDensityMFT.cxx
1 parent c81e533 commit 2161ef1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PWGLF/Tasks/GlobalEventProperties/PseudorapidityDensityMFT.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
#include <cmath>
5555
#include <cstdint>
5656
#include <cstdlib>
57+
#include <string>
58+
#include <unordered_map>
5759
#include <unordered_set>
5860
#include <vector>
5961

@@ -270,7 +272,7 @@ struct PseudorapidityDensityMFT {
270272

271273
grpmag = ccdbMgr->getForTimeStamp<o2::parameters::GRPMagField>(grpmagPathMag.value, bc.timestamp());
272274
if (!grpmag) {
273-
LOGF(warning, "GRPMagField not found in CCDB for ts=%lld", (long long)bc.timestamp());
275+
LOGF(warning, "GRPMagField not found in CCDB for ts=%lld", static_cast<int64_t>(bc.timestamp()));
274276
bzMFT = 0.f;
275277
magRunNumber = bc.runNumber();
276278
return;

0 commit comments

Comments
 (0)