Iguana LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Algorithm.h
1#pragma once
2
3#include "iguana/algorithms/Algorithm.h"
5
6namespace iguana::clas12::rga {
7
15 {
16
18
19 private: // hooks
20 void StartHook(hipo::banklist& banks) override;
21 bool RunHook(hipo::banklist& banks) const override;
22
23 public:
24
28 bool Run(hipo::bank& ftParticleBank) const;
29
40 vector_element_t const px,
41 vector_element_t const py,
42 vector_element_t const pz,
43 vector_element_t const E) const;
44
50
51 private:
52
53 hipo::banklist::size_type b_ft_particle;
54 double electron_mass;
55 };
56
57}
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
common objects used in algorithms
double vector_element_t
Vector element type.
Definition TypeDefs.h:12
Algorithm(std::string_view name)
Definition Algorithm.h:73
Algorithm: Forward Tagger energy correction
Definition Algorithm.h:15
vector_element_t CorrectEnergy(vector_element_t const E) const
Action Function:
Momentum4 Transform(vector_element_t const px, vector_element_t const py, vector_element_t const pz, vector_element_t const E) const
Action Function: Transformation function that returns 4-vector of electron with corrected energy for ...
bool Run(hipo::bank &ftParticleBank) const
Run Function: Process an event's hipo::bank objects
CLAS12 Run Group A algorithms.
Definition Algorithm.h:5
4-momentum type
Definition TypeDefs.h:25