Iguana
1.2.1
Implementation Guardian of Analysis Algorithms
Toggle main menu visibility
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
10
namespace
iguana::physics
{
11
13
class
SingleHadronKinematicsValidator
:
public
Validator
14
{
15
16
DEFINE_IGUANA_VALIDATOR
(
SingleHadronKinematicsValidator
,
physics::SingleHadronKinematicsValidator
)
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_IGUANA_VALIDATOR
#define DEFINE_IGUANA_VALIDATOR(VDOR_NAME, VDOR_FULL_NAME)
Definition
AlgorithmBoilerplate.h:62
iguana::Validator::Validator
Validator(std::string_view name="validator")
Definition
Validator.h:27
iguana::physics::SingleHadronKinematicsValidator
iguana::physics::SingleHadronKinematics validator
Definition
Validator.h:14
iguana::physics
Physics algorithms.
Definition
Algorithm.h:5
iguana_v1.2.1
src
iguana
algorithms
physics
SingleHadronKinematics
Validator.h
Generated by
1.18.0