CPAlgorithms: fixes for KLFitter
This MR fixes the running of KLFitter in AB and AA releases:
- !77883 (merged) changed the behaviour of the output containers, I correct the logic here. @kchoi please make sure that you can still run your custom code with these changes.
- KLFitter runs in AA with warnings but somehow crashes in AB? The error is below. Maybe @dguest @dbaronmo can take a look.
(StatusCode CP::AsgxAODNTupleMakerAlg::ContainerProcessor::process(const SG::AuxVectorBase&, const TClass&)): No collection proxy provided by type: DataVector<xAOD::KLFitterResult>
Edit: compilation in AA/AB now fixed, credit to @dbaronmo
Edited by Baptiste Ravina