19 void ConfigHook()
override;
20 void StartHook(hipo::banklist& banks)
override;
21 bool RunHook(hipo::banklist& banks)
const override;
32 hipo::bank
const& particle_bank,
33 hipo::bank
const& config_bank,
34 hipo::bank& result_bank)
const;
41 concurrent_key_t
PrepareEvent(
int const runnum,
double const beam_energy = -1)
const;
53 concurrent_key_t
const key)
const;
65 std::optional<int>
const FindScatteredLepton(hipo::bank
const& particle_bank, concurrent_key_t
const key)
const;
67 void Reload(
int const runnum,
double const user_beam_energy, concurrent_key_t key)
const;
70 hipo::banklist::size_type b_particle;
71 hipo::banklist::size_type b_config;
72 hipo::banklist::size_type b_result;
89 std::string o_particle_bank;
90 mutable std::unique_ptr<ConcurrentParam<int>> o_runnum;
91 mutable std::unique_ptr<ConcurrentParam<std::vector<double>>> o_target_PxPyPzM;
92 mutable std::unique_ptr<ConcurrentParam<std::vector<double>>> o_beam_PxPyPzM;
95 double o_override_beam_energy;
96 double o_theta_between_FD_and_FT;
98 enum method_reconstruction {
101 enum method_lepton_finder {
102 highest_energy_FD_trigger,
105 method_reconstruction o_method_reconstruction;
106 method_lepton_finder o_method_lepton_finder;
InclusiveKinematicsVars ComputeFromLepton(vector_element_t const lepton_px, vector_element_t const lepton_py, vector_element_t const lepton_pz, concurrent_key_t const key) const
Action Function: compute kinematics from the scattered lepton.