3#include "iguana/algorithms/Algorithm.h"
20 void Start(hipo::banklist& banks)
override;
21 bool Run(hipo::banklist& banks)
const override;
30 hipo::bank
const& rec_particle_bank,
31 hipo::bank
const& mc_particle_bank,
32 hipo::bank& result_bank)
const;
37 hipo::banklist::size_type b_rec_particle_bank;
38 hipo::banklist::size_type b_mc_particle_bank;
39 hipo::banklist::size_type b_result;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Algorithm: Simple MC truth matching by proximity
bool Run(hipo::bank const &rec_particle_bank, hipo::bank const &mc_particle_bank, hipo::bank &result_bank) const
Run Function: Process an event's hipo::bank objects
void Stop() override
Finalize this algorithm after all events are processed.
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks.
bool Run(hipo::banklist &banks) const override
Run Function: Process an event's hipo::banklist
General CLAS12 algorithms.