3#include "iguana/algorithms/Algorithm.h"
27 void Start(hipo::banklist& banks)
override;
28 void Run(hipo::banklist& banks)
const override;
35 int GetSector(
float const& x,
float const& y,
float const& z)
const;
40 hipo::banklist::size_type b_particle;
41 hipo::banklist::size_type b_traj;
42 hipo::banklist::size_type b_result;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Algorithm: Link particle bank to bank REC::Traj
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks
void Run(hipo::banklist &banks) const override
Run this algorithm for an event.
void Stop() override
Finalize this algorithm after all events are processed.
int GetSector(float const &x, float const &y, float const &z) const