Replacement of MCTupleToolPrimaries
A strategy is needed to find a replacement to MCTupleToolPrimaries, which provides the MCPVX, MCPVY and MCPVZ. A possible strategy is a functor combination like: F.MAP(F.POSITION) @ F.ALL_MCPV @ F.TES(“/Event/MC/Header”)
- The F.TES(“/Event/MC/Header”) is a functor that takes TES path of LHCb::MCHeader and outputs it.
- Then a new functor
F.ALL_MCPV
, which needs to be added, takes as inputMCHeader
and gives you a list of MCPVs. - Then we simply need to loop over the MCPVs (job of F.MAP) and call get the position vector for each MCPV (job of
F.POSITION
).
One thing to check is if the unpacker understands that when we reade the MC/Header, we also want to unpack the MC/Vertices.