8#include "iguana/algorithms/Algorithm.h"
9#include "iguana/algorithms/AlgorithmSequence.h"
29 void Start(hipo::banklist& banks)
override{};
30 void Run(hipo::banklist& banks)
const override{};
52 std::string m_output_dir;
Base class for all algorithms to inherit from.
Base class for all algorithm validators to inherit from.
void Run(hipo::banklist &banks) const override
Run this algorithm for an event.
void Stop() override
Finalize this algorithm after all events are processed.
void SetOutputDirectory(std::string_view output_dir)
Validator(std::string_view name="validator")
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks
std::mutex m_mutex
Mutex for locking procedures such as histogram filling in Validator::Run
std::optional< std::string > GetOutputDirectory()
std::unique_ptr< AlgorithmSequence > m_algo_seq
An iguana::AlgorithmSequence to be used for this validator.
General, top-level namespace for algorithms and infrastructure. For algorithms and bindings,...