3#include "iguana/algorithms/Algorithm.h"
17 void StartHook(hipo::banklist& banks)
override;
18 bool RunHook(hipo::banklist& banks)
const override;
28 hipo::bank& particleBank,
29 hipo::bank
const& sectorBank,
30 hipo::bank
const& configBank)
const;
79 hipo::banklist::size_type b_particle;
80 hipo::banklist::size_type b_sector;
81 hipo::banklist::size_type b_config;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
common objects used in algorithms
double vector_element_t
Vector element type.
Algorithm(std::string_view name)
Algorithm: Momentum Corrections
bool Run(hipo::bank &particleBank, hipo::bank const §orBank, hipo::bank const &configBank) const
Run Function: Process an event's hipo::bank objects
double CorrectionOutbending(vector_element_t const px, vector_element_t const py, vector_element_t const pz, int const sec, int const pid) const
Action Function: Calculate the correction factor for outbending data
Momentum3 Transform(vector_element_t const px, vector_element_t const py, vector_element_t const pz, int const sec, int const pid, float const torus) const
Action Function: Apply the momentum correction
double CorrectionInbending(vector_element_t const px, vector_element_t const py, vector_element_t const pz, int const sec, int const pid) const
Action Function: Calculate the correction factor for inbending data
double EnergyLossInbending(vector_element_t const px, vector_element_t const py, vector_element_t const pz, int const pid) const
Action Function: Energy loss correction for inbending data
double EnergyLossOutbending(vector_element_t const px, vector_element_t const py, vector_element_t const pz, int const pid) const
Action Function: Energy loss correction for outbending data
CLAS12 Run Group A algorithms.