Add FunTupleEvent algorithm (Replacement for EventTuple)
Replacement for EventTuple
i.e. FunTupleEvent
. This algorithm does not take any input and is configured with void functors. This is contrast to FunTupleParticles
that takes TES of spruced candidates and is configured with non-void functors i.e. functors that expects the spruced candidate as input (note void functors can also be configured with FunTuplePartices
to store event-level variables however on a candidate-by-candidate basis).
Note also that much of the changes introduced in reorganisation:
- Getting rid of
ParticleTupleProp.cpp
and defining everything inParticleTupleProp.h
. - Moving custom error code out of
FunTuple.cpp
intoErrorCode.h
. - Moving various
fill_
methods intoFillTuple.h
.
Closes DaVinci#84 (closed)
TODO:
-
Solve the compilation error regarding custom error having multiple definitions due STATUSCODE_ENUM_DECL
andSTATUSCODE_ENUM_IMPL
. -
Add python wrapper for FunTupleEvent
. -
Add a simple pytest
forFunTupleEvent
. -
Add DaVinci example
To be tested with: DaVinci!838 (merged)
Edited by Abhijit Mathad