Skip to content

Commit

Permalink
STFDecoder accept new dataSpec format
Browse files Browse the repository at this point in the history
  • Loading branch information
martenole committed Dec 11, 2023
1 parent 23e9319 commit 924ed29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Detectors/ITSMFT/common/workflow/src/STFDecoderSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ void STFDecoder<Mapping>::init(InitContext& ic)
mDecoder = std::make_unique<RawPixelDecoder<Mapping>>();
auto v0 = o2::utils::Str::tokenize(mInputSpec, ':');
auto v1 = o2::utils::Str::tokenize(v0[1], '/');
auto v2 = o2::utils::Str::tokenize(v1[1], '?');
header::DataOrigin dataOrig;
header::DataDescription dataDesc;
dataOrig.runtimeInit(v1[0].c_str());
dataDesc.runtimeInit(v1[1].c_str());
dataDesc.runtimeInit(v2[0].c_str());
mDecoder->setUserDataOrigin(dataOrig);
mDecoder->setUserDataDescription(dataDesc);
mDecoder->init(); // is this no-op?
Expand Down

0 comments on commit 924ed29

Please sign in to comment.