Skip to content

Commit 6a45e13

Browse files
authored
FOCAL / fix for mac (#1733)
* fix for mac * fix for mac
1 parent e8fae3c commit 6a45e13

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Modules/FOCAL/src/TestbeamRawTask.cxx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ void TestbeamRawTask::monitorData(o2::framework::ProcessingContext& ctx)
360360
} else {
361361
ILOG(Debug, Support) << "New HBF or Timeframe" << ENDM;
362362
currentfee = o2::raw::RDHUtils::getFEEID(rdh);
363-
ILOG(Debug, Support) << "Using FEE ID: 0x" << std::hex << currentfee << std::dec << ENDM;
363+
stringstream ss;
364+
ss << "Using FEE ID: 0x" << std::hex << currentfee << std::dec;
365+
ILOG(Debug, Support) << ss.str() << ENDM;
364366
rawbuffer.clear();
365367
}
366368
}
@@ -372,7 +374,9 @@ void TestbeamRawTask::monitorData(o2::framework::ProcessingContext& ctx)
372374
auto payloadsize = o2::raw::RDHUtils::getMemorySize(rdh) - o2::raw::RDHUtils::getHeaderSize(rdh);
373375
auto fee = static_cast<int>(o2::raw::RDHUtils::getFEEID(rdh));
374376
ILOG(Debug, Support) << "Next RDH: " << ENDM;
375-
ILOG(Debug, Support) << "Found fee 0x" << std::hex << fee << std::dec << " (System " << (fee == 0xcafe ? "Pads" : "Pixels") << ")" << ENDM;
377+
stringstream ss;
378+
ss << "Found fee 0x" << std::hex << fee << std::dec << " (System " << (fee == 0xcafe ? "Pads" : "Pixels") << ")";
379+
ILOG(Debug, Support) << ss.str() << ENDM;
376380
ILOG(Debug, Support) << "Found trigger BC: " << o2::raw::RDHUtils::getTriggerBC(rdh) << ENDM;
377381
ILOG(Debug, Support) << "Found trigger Oribt: " << o2::raw::RDHUtils::getTriggerOrbit(rdh) << ENDM;
378382
ILOG(Debug, Support) << "Found payload size: " << payloadsize << ENDM;

0 commit comments

Comments
 (0)