Iguana LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Algorithm.h
1#pragma once
2
3#include "iguana/algorithms/Algorithm.h"
4
5namespace iguana::physics {
6
14 {
15
17
18 private: // hooks
19 void StartHook(hipo::banklist& banks) override;
20 bool RunHook(hipo::banklist& banks) const override;
21
22 public:
23
28 bool Run(
29 hipo::bank const& inc_kin_bank,
30 hipo::bank& result_bank) const;
31
38 DepolarizationVars Compute(double const Q2, double const x, double const y, double const targetM) const;
39
40 private:
41
42 // banklist indices
43 hipo::banklist::size_type b_inc_kin;
44 hipo::banklist::size_type b_result;
45
46 // `b_result` bank item indices
47 int i_epsilon;
48 int i_A;
49 int i_B;
50 int i_C;
51 int i_V;
52 int i_W;
53 };
54
55}
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Definition Algorithm.h:73
Algorithm: Calculate depolarization factors
Definition Algorithm.h:14
DepolarizationVars Compute(double const Q2, double const x, double const y, double const targetM) const
Action Function: compute depolarization factors
bool Run(hipo::bank const &inc_kin_bank, hipo::bank &result_bank) const
Run Function: Process an event's hipo::bank objects
Physics algorithms.
Definition Algorithm.h:5
Set of variables created by creator algorithm iguana::physics::Depolarization.
Definition BankDefs.h:130