File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments