Draft: A first try for adding an EventContext aware shallowCopy. The bit clunky part...
A first try for adding an EventContext aware shallowCopy.
The bit clunky part is the AnalysisBase cases where we do not really have an EventContext
that can be used.
We move the implementation in one common functions Then we have
- Function accepting cont and EventContext, this is available only for
Athena
, returning smart ptr. - Function accepting cont and ptr to EventContext, this is usable from AnalysisBase , although the ptr is
nullptr
there. Returns smart ptr. - The existing function signature no smart ptr for now (Compatibility).
If at some stage we have a complete EventContext
type and we can create one we can make the one with ref also dual-use.
Christos
Edited by Christos Anastopoulos