Skip to content

Add FunTupleEvent algorithm (Replacement for EventTuple)

Abhijit Mathad requested to merge AM_funtuple_event into master

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 in ParticleTupleProp.h.
  • Moving custom error code out of FunTuple.cpp into ErrorCode.h.
  • Moving various fill_ methods into FillTuple.h.

Closes DaVinci#84 (closed)

TODO:

  • Solve the compilation error regarding custom error having multiple definitions due STATUSCODE_ENUM_DECL and STATUSCODE_ENUM_IMPL.
  • Add python wrapper for FunTupleEvent.
  • Add a simple pytest for FunTupleEvent.
  • Add DaVinci example

To be tested with: DaVinci!838 (merged)

Edited by Abhijit Mathad

Merge request reports