Iguana
LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Algorithm.h
1
#pragma once
2
3
#include "iguana/algorithms/clas12/rga/FiducialFilterPass1/Algorithm.h"
4
5
namespace
iguana::example
{
6
10
class
ExampleSubclassAlgorithm
:
public
clas12::rga::FiducialFilterPass1
11
{
12
// use `DEFINE_IGUANA_SUBALGORITHM` rather than the usual `DEFINE_IGUANA_ALGORITHM`;
13
// include the base-class algorithm as an argument
14
DEFINE_IGUANA_SUBALGORITHM
(
ExampleSubclassAlgorithm
,
example::ExampleSubclassAlgorithm
,
clas12::rga::FiducialFilterPass1
)
15
16
private
:
// hooks
17
// if you don't declare a hook, the base-class algorithm's implementation will be used;
18
// in this example, we use all the base-class hooks
19
};
20
21
}
DEFINE_IGUANA_SUBALGORITHM
#define DEFINE_IGUANA_SUBALGORITHM(ALGO_NAME, ALGO_FULL_NAME, BASE_NAME)
Definition
AlgorithmBoilerplate.h:47
iguana::clas12::rga::FiducialFilterPass1
Algorithm: Filter the REC::Particle bank by applying DC (drift chamber) and ECAL (electromagnetic cal...
Definition
Algorithm.h:19
iguana::example::ExampleSubclassAlgorithm
Algorithm: example demonstrating inheritance from another algorithm
Definition
Algorithm.h:11
iguana::example
Example algorithms.
Definition
Algorithm.h:18
iguana_src
src
iguana
algorithms
example
ExampleSubclassAlgorithm
Algorithm.h
Generated by
1.16.1