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_particle;
26 hipo::banklist::size_type b_result;
27
28 mutable TH1D* lepton_p_dist;
29 mutable TH1D* lepton_theta_dist;
30 mutable TH1D* lepton_phi_dist;
31 mutable TH1D* lepton_vz_dist;
32 mutable TH2D* Q2_vs_x;
33 mutable TH2D* Q2_vs_W;
34 mutable TH1D* y_dist;
35 mutable TH1D* nu_dist;
36
37 TString m_output_file_basename;
38 TFile* m_output_file;
39 };
40
41}
#define DEFINE_IGUANA_VALIDATOR(VDOR_NAME, VDOR_FULL_NAME)
Validator(std::string_view name="validator")
Definition Validator.h:27
iguana::physics::InclusiveKinematics validator
Definition Validator.h:14
Physics algorithms.
Definition Algorithm.h:5