Loading [MathJax]/jax/output/HTML-CSS/config.js
Iguana 0.9.0
Implementation Guardian of Analysis Algorithms
Algorithm.h
1#pragma once
2
3#include "iguana/algorithms/Algorithm.h"
4
5namespace iguana::clas12 {
6
21 {
22
24
25 public:
26
27 void Start(hipo::banklist& banks) override;
28 void Run(hipo::banklist& banks) const override;
29 void Stop() override;
30
31 private:
32
34 hipo::banklist::size_type b_particle;
35 hipo::banklist::size_type b_calorimeter;
36 hipo::banklist::size_type b_result;
37
38 // `b_result` bank item indices
39 int i_pindex;
40 int i_pcal_found;
41 int i_pcal_sector;
42 int i_pcal_lu;
43 int i_pcal_lv;
44 int i_pcal_lw;
45 int i_pcal_energy;
46 int i_ecin_found;
47 int i_ecin_sector;
48 int i_ecin_lu;
49 int i_ecin_lv;
50 int i_ecin_lw;
51 int i_ecin_energy;
52 int i_ecout_found;
53 int i_ecout_sector;
54 int i_ecout_lu;
55 int i_ecout_lv;
56 int i_ecout_lw;
57 int i_ecout_energy;
58 };
59
60}
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Definition Algorithm.h:46
Algorithm: Link particle bank to bank REC::Calorimeter
Definition Algorithm.h:21
void Run(hipo::banklist &banks) const override
Run this algorithm for an event.
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.
CLAS12 algorithms.
Definition Algorithm.h:5