Iguana LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Validator.h
1#pragma once
2
4#include "iguana/algorithms/Validator.h"
5
6#include <TFile.h>
7#include <TH1.h>
8
9namespace iguana::clas12 {
10
13 {
14
16
17 private: // hooks
18 void StartHook(hipo::banklist& banks) override;
19 bool RunHook(hipo::banklist& banks) const override;
20 void StopHook() override;
21
22 private:
23
24 hipo::banklist::size_type b_particle;
25
26 // add pdgs not to cut to check we're
27 // only cutting on right particles
28 std::vector<int> const u_pdg_list = {
29 particle::PDG::electron,
30 particle::PDG::pi_plus,
31 particle::PDG::pi_minus,
32 particle::PDG::proton,
33 particle::PDG::neutron};
34
35 TString m_output_file_basename;
36 TFile* m_output_file;
37 mutable std::unordered_map<int, std::vector<TH1D*>> u_zvertexplots;
38 };
39
40}
#define DEFINE_IGUANA_VALIDATOR(VDOR_NAME, VDOR_FULL_NAME)
common objects used in algorithms
Validator(std::string_view name="validator")
Definition Validator.h:27
iguana::clas12::ZVertexFilter validator
Definition Validator.h:13
General CLAS12 algorithms.
Definition Algorithm.h:5