Iguana
1.0.0
Implementation Guardian of Analysis Algorithms
Toggle main menu visibility
Loading...
Searching...
No Matches
Algorithm.h
1
#pragma once
2
3
#include "iguana/algorithms/clas12/rga/FTEnergyCorrection/Algorithm.h"
4
5
namespace
iguana::clas12
{
6
9
class
FTEnergyCorrection
:
public
rga::FTEnergyCorrection
10
{
11
// the deprecated algorithm should inherit from the renamed algorithm, to avoid downstream build failures
12
DEFINE_IGUANA_SUBALGORITHM
(
FTEnergyCorrection
,
clas12::FTEnergyCorrection
,
clas12::rga::FTEnergyCorrection
)
13
14
public
:
15
16
// make sure base-class specialized `Run` functions (overloads) are not shadowed by any `Run` function overrides here
17
using
rga::FTEnergyCorrection::Run
;
18
19
// override `Start`, `Run` and `Stop`
20
// provide the new name and the Iguana version number, for a runtime failure
21
DEPRECATE_IGUANA_ALGORITHM
(
ThrowSinceRenamed
(
"clas12::rga::FTEnergyCorrection"
,
"1.0.0"
);)
22
};
23
24
}
DEPRECATE_IGUANA_ALGORITHM
#define DEPRECATE_IGUANA_ALGORITHM(CODE)
Definition
AlgorithmBoilerplate.h:86
DEFINE_IGUANA_SUBALGORITHM
#define DEFINE_IGUANA_SUBALGORITHM(ALGO_NAME, ALGO_FULL_NAME, BASE_NAME)
Definition
AlgorithmBoilerplate.h:46
iguana::Algorithm::ThrowSinceRenamed
void ThrowSinceRenamed(std::string const &new_name, std::string const &version) const noexcept(false)
iguana::clas12::FTEnergyCorrection
Algorithm: RENAMED to iguana::clas12::rga::FTEnergyCorrection
Definition
Algorithm.h:10
iguana::clas12::rga::FTEnergyCorrection
Algorithm: Forward Tagger energy correction
Definition
Algorithm.h:15
iguana::clas12::rga::FTEnergyCorrection::Run
bool Run(hipo::banklist &banks) const override
Run Function: Process an event's hipo::banklist
iguana::clas12
General CLAS12 algorithms.
Definition
Algorithm.h:5
iguana_v1.0.0
src
iguana
algorithms
clas12
FTEnergyCorrection
Algorithm.h
Generated by
1.18.0