3#include "iguana/algorithms/Algorithm.h"
20 void Start(hipo::banklist& banks)
override;
21 bool Run(hipo::banklist& banks)
const override;
29 hipo::bank
const& inc_kin_bank,
30 hipo::bank& result_bank)
const;
43 hipo::banklist::size_type b_inc_kin;
44 hipo::banklist::size_type b_result;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Algorithm: Calculate depolarization factors
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
DepolarizationVars Compute(double const Q2, double const x, double const y, double const targetM) const
Action Function: compute depolarization factors
void Stop() override
Finalize this algorithm after all events are processed.
bool Run(hipo::bank const &inc_kin_bank, hipo::bank &result_bank) const
Run Function: Process an event's hipo::bank objects
Set of variables created by creator algorithm iguana::physics::Depolarization.