Skip to content

Commit 7842094

Browse files
authored
move to RDHv6 (#503)
1 parent 7708c37 commit 7842094

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/ITS/src/ITSOnlineTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void ITSOnlineTask::initialize(o2::framework::InitContext& /*ctx*/)
8787
mDecoder = new o2::itsmft::RawPixelDecoder<o2::itsmft::ChipMappingITS>();
8888
mDecoder->init();
8989
mDecoder->setNThreads(mNThreads);
90-
mDecoder->setFormat(GBTLink::OldFormat); //set old format rdh v4, will be changed to RDHv6 (NewFormat)
90+
mDecoder->setFormat(GBTLink::NewFormat); //Using RDHv6 (NewFormat)
9191
mDecoder->setUserDataOrigin(header::DataOrigin("DS")); //set user data origin in dpl
9292
mChipsBuffer.resize(mGeom->getNumberOfChips());
9393
}
@@ -420,7 +420,7 @@ void ITSOnlineTask::monitorData(o2::framework::ProcessingContext& ctx)
420420
StaveStart = StaveBoundary[i + 1];
421421
}
422422
for (auto it = parser.begin(), end = parser.end(); it != end; ++it) {
423-
auto const* rdh = it.get_if<o2::header::RAWDataHeaderV4>();
423+
auto const* rdh = it.get_if<o2::header::RAWDataHeaderV6>(); //Decoding new data format (RDHv6)
424424
int istave = (int)(rdh->feeId & 0x00ff);
425425
int ilink = (int)((rdh->feeId & 0x0f00) >> 8);
426426
istave += StaveStart;

0 commit comments

Comments
 (0)