22 defineParameter(
"InputWidth", 2 );
23 defineParameter(
"OutputWidth", 2 );
40 TCS_EXCEPTION(
"jXE sort alg expects exactly single jXE TOB, got " << input.size());
44 int missingET = quadraticSumBW(mets[0].Ex(), mets[0].Ey());
48 missingET = std::clamp(missingET, 0, (1<<13) - 1 );
52 TRG_MSG_DEBUG(
"MET phi values " << metphi <<
" from x/y = " << mets[0].Ex() <<
"/" << mets[0].Ey() <<
"( ET = " << missingET <<
")" );
53 output.push_back(
GenericTOB( missingET, 0, metphi ) );
62 return this->sortBitCorrect(input, output);