Iguana 1.0.0
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Algorithm.h
1#pragma once
2
3#include "iguana/algorithms/clas12/rga/FiducialFilterPass2/Algorithm.h"
4
5namespace iguana::clas12 {
6
11 {
12 // the deprecated algorithm should inherit from the renamed algorithm, to avoid downstream build failures
14
15 public:
16
17 // make sure base-class specialized `Run` functions (overloads) are not shadowed by any `Run` function overrides here
19
20 // override `Start`, `Run` and `Stop`
21 // provide the new name and the Iguana version number, for a runtime failure
22 DEPRECATE_IGUANA_ALGORITHM(ThrowSinceRenamed("clas12::rga::FiducialFilterPass2", "1.0.0");)
23 };
24
25}
#define DEPRECATE_IGUANA_ALGORITHM(CODE)
#define DEFINE_IGUANA_SUBALGORITHM(ALGO_NAME, ALGO_FULL_NAME, BASE_NAME)
void ThrowSinceRenamed(std::string const &new_name, std::string const &version) const noexcept(false)
Algorithm: RENAMED to iguana::clas12::rga::FiducialFilterPass2
Definition Algorithm.h:11
Algorithm: Filter the REC::Particle bank using subsystem-specific fiducial cuts
Definition Algorithm.h:41
bool Run(hipo::banklist &banks) const override
Run Function: Process an event's hipo::banklist
General CLAS12 algorithms.
Definition Algorithm.h:5