4#include "iguana/algorithms/Validator.h"
19 void Start(hipo::banklist& banks)
override;
20 void Run(hipo::banklist& banks)
const override;
25 hipo::banklist::size_type b_particle;
29 std::vector<int>
const u_pdg_list = {
30 particle::PDG::electron,
31 particle::PDG::pi_plus,
32 particle::PDG::pi_minus,
33 particle::PDG::proton,
34 particle::PDG::neutron};
36 std::vector<int>
const u_pdgtocut_list = {
37 particle::PDG::electron};
39 std::vector<double>
const u_cuts_list = {
43 TString m_output_file_basename;
45 mutable std::unordered_map<int, std::vector<TH1D*>> u_zvertexplots;
#define DEFINE_IGUANA_VALIDATOR(VDOR_NAME, VDOR_FULL_NAME)
Type definitions for common objects used in algorithms.
Base class for all algorithm validators to inherit from.
iguana::clas12::ZVertexFilter validator
void Run(hipo::banklist &banks) const override
Run this algorithm for an event.
void Stop() override
Finalize this algorithm after all events are processed.
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks