Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RawPixelDecoder<Mapping>::RawPixelDecoder()
mTimerDecode.Stop();
mTimerFetchData.Stop();
mSelfName = o2::utils::Str::concat_string(Mapping::getName(), "Decoder");
DPLRawParser<>::setCheckIncompleteHBF(false); // Disable incomplete HBF checking, see ErrPacketCounterJump check in GBTLink.cxx
mInputFilter = {InputSpec{"filter", ConcreteDataTypeMatcher{Mapping::getOrigin(), o2::header::gDataDescriptionRawData}}}; // by default take all raw data
DPLRawParser<>::setCheckIncompleteHBF(false); // Disable incomplete HBF checking, see ErrPacketCounterJump check in GBTLink.cxx
}

///______________________________________________________________
Expand Down Expand Up @@ -235,6 +234,11 @@ void RawPixelDecoder<Mapping>::setupLinks(InputRecord& inputs)
auto nLinks = mGBTLinks.size();
auto origin = (mUserDataOrigin == o2::header::gDataOriginInvalid) ? mMAP.getOrigin() : mUserDataOrigin;
auto datadesc = (mUserDataDescription == o2::header::gDataDescriptionInvalid) ? o2::header::gDataDescriptionRawData : mUserDataDescription;

if (mInputFilter.empty()) { // if no filter set externally, create a global one from imposed or default origin / description
mInputFilter.emplace_back("filter", ConcreteDataTypeMatcher{origin, datadesc});
}

// if we see requested data type input with 0xDEADBEEF subspec and 0 payload this means that the "delayed message"
// mechanism created it in absence of real data from upstream. Processor should send empty output to not block the workflow
{
Expand Down