4#include "iguana/algorithms/Validator.h"
20 void Start(hipo::banklist& banks)
override;
21 void Run(hipo::banklist& banks)
const override;
26 hipo::banklist::size_type b_particle;
27 hipo::banklist::size_type b_sector;
29 double const m_p_max = 12.0;
30 double const m_deltaP_max = 1.0;
31 double const m_deltaP_zoom = 0.2;
33 std::vector<int>
const u_pdg_list = {
34 particle::PDG::electron,
35 particle::PDG::pi_plus,
36 particle::PDG::pi_minus,
37 particle::PDG::proton};
39 TString m_output_file_basename;
41 mutable std::unordered_map<int, std::vector<TH2D*>> u_deltaPvsP;
#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::MomentumCorrection validator
void Run(hipo::banklist &banks) const override
Run this algorithm for an event.
void Start(hipo::banklist &banks) override
Initialize this algorithm before any events are processed, with the intent to process banks
void Stop() override
Finalize this algorithm after all events are processed.