Iguana 0.0.0
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 {
7
15
17
18 public:
19
20 void Start(hipo::banklist& banks) override;
21 void Run(hipo::banklist& banks) const override;
22 void Stop() override;
23
34 vector_element_t const px,
35 vector_element_t const py,
36 vector_element_t const pz,
37 vector_element_t const E) const;
38
44
45 private:
46
47 hipo::banklist::size_type b_ft_particle;
48 double electron_mass;
49
50 };
51
52}
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Type definitions for common objects used in algorithms.
Base class for all algorithms to inherit from.
Definition Algorithm.h:40
Algorithm: Forward Tagger energy correction
Definition Algorithm.h:14
void Stop() override
Finalize this algorithm after all events are processed.
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 ...
vector_element_t CorrectEnergy(vector_element_t const E) const
Action Function:
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
CLAS12 algorithms.
Definition Algorithm.h:5
double vector_element_t
Vector element type.
Definition TypeDefs.h:11
4-momentum type
Definition TypeDefs.h:24