Line | Branch | Exec | Source |
---|---|---|---|
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 | |||
12 | /// @brief `iguana::physics::SingleHadronKinematics` validator | ||
13 | class SingleHadronKinematicsValidator : public Validator | ||
14 | { | ||
15 | |||
16 |
6/14✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 1 times.
✗ Branch 5 not taken.
✓ Branch 6 taken 1 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 1 times.
✗ Branch 9 not taken.
✓ Branch 10 taken 1 times.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
|
8 | DEFINE_IGUANA_VALIDATOR(SingleHadronKinematicsValidator, physics::SingleHadronKinematicsValidator) |
17 | |||
18 | public: | ||
19 | |||
20 | void Start(hipo::banklist& banks) override; | ||
21 | void Run(hipo::banklist& banks) const override; | ||
22 | void Stop() override; | ||
23 | |||
24 | private: | ||
25 | |||
26 | hipo::banklist::size_type b_result; | ||
27 | |||
28 |
1/2✓ Branch 0 taken 7 times.
✗ Branch 1 not taken.
|
21 | struct Plot1D { |
29 | TH1D* hist; | ||
30 | std::function<double(hipo::bank const&, int const)> get_val; | ||
31 | }; | ||
32 | std::vector<Plot1D> plot_list; | ||
33 | |||
34 | TString m_output_file_basename; | ||
35 | TFile* m_output_file; | ||
36 | }; | ||
37 | |||
38 | } | ||
39 |