9#include "iguana/algorithms/Algorithm.h"
61 void Start(hipo::banklist& banks)
override;
62 bool Run(hipo::banklist& banks)
const override;
82 bool Run(hipo::bank& particleBank)
const;
116 hipo::banklist::size_type b_particle;
131 double o_exampleDouble;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Algorithm: This is a template algorithm, used as an example showing how to write an algorithm.
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks.
void Stop() override
Finalize this algorithm after all events are processed.
bool Filter(int const pid) const
Action Function: checks if the PDG pid is positive; this is an example action function,...
bool Run(hipo::bank &particleBank) const
Run Function: Process an event's hipo::bank objects
bool Run(hipo::banklist &banks) const override
Run Function: Process an event's hipo::banklist