Skip to content

Commit

Permalink
ctpinputs-decoding-ctf to ignore-ctpinputs-decoding-ctf
Browse files Browse the repository at this point in the history
  • Loading branch information
lietava authored and shahor02 committed Oct 2, 2023
1 parent 8d38e3b commit e254b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Detectors/CTP/workflow/src/EntropyDecoderSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void EntropyDecoderSpec::finaliseCCDB(o2::framework::ConcreteDataMatcher& matche
void EntropyDecoderSpec::init(o2::framework::InitContext& ic)
{
mCTFCoder.init<CTF>(ic);
bool decodeinps = ic.options().get<bool>("ctpinputs-decoding-ctf");
bool decodeinps = !ic.options().get<bool>("ignore-ctpinputs-decoding-ctf");
mCTFCoder.setDecodeInps(decodeinps);
LOG(info) << "Decode inputs:" << decodeinps;
}
Expand Down Expand Up @@ -95,7 +95,7 @@ DataProcessorSpec getEntropyDecoderSpec(int verbosity, unsigned int sspec)
outputs,
AlgorithmSpec{adaptFromTask<EntropyDecoderSpec>(verbosity)},
Options{{"ctf-dict", VariantType::String, "ccdb", {"CTF dictionary: empty or ccdb=CCDB, none=no external dictionary otherwise: local filename"}},
{"ctpinputs-decoding-ctf", VariantType::Bool, false, {"Inputs alignment: true - CTF decoder - has to be compatible with reco: allowed options: 10,01,00"}},
{"ignore-ctpinputs-decoding-ctf", VariantType::Bool, false, {"Inputs alignment: false - CTF decoder - has to be compatible with reco: allowed options: 10,01,00"}},
{"ans-version", VariantType::String, {"version of ans entropy coder implementation to use"}}}};
}

Expand Down

0 comments on commit e254b2a

Please sign in to comment.