Iguana LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Validator.h
1#pragma once
2
3#include "iguana/algorithms/Validator.h"
4
5#include <TCanvas.h>
6#include <TFile.h>
7#include <TH1.h>
8#include <TH2.h>
9
10namespace iguana::physics {
11
14 {
15
17
18 private: // hooks
19 void StartHook(hipo::banklist& banks) override;
20 bool RunHook(hipo::banklist& banks) const override;
21 void StopHook() override;
22
23 private:
24
25 hipo::banklist::size_type b_result;
26
27 struct Plot1D {
28 TH1D* hist;
29 std::function<double(hipo::bank const&, int const)> get_val;
30 };
31 std::vector<Plot1D> plot_list;
32
33 TString m_output_file_basename;
34 TFile* m_output_file;
35 };
36
37}
#define DEFINE_IGUANA_VALIDATOR(VDOR_NAME, VDOR_FULL_NAME)
Validator(std::string_view name="validator")
Definition Validator.h:27
iguana::physics::SingleHadronKinematics validator
Definition Validator.h:14
Physics algorithms.
Definition Algorithm.h:5