3#include "iguana/algorithms/Algorithm.h"
17 void ConfigHook()
override;
18 void StartHook(hipo::banklist& banks)
override;
19 bool RunHook(hipo::banklist& banks)
const override;
26 bool Run(hipo::bank& particleBank)
const;
37 std::deque<bool>
Filter(std::vector<int>
const pids)
const;
42 hipo::banklist::size_type b_particle;
45 std::string o_particle_bank;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Algorithm(std::string_view name)
Algorithm: Filter the particle bank (REC::Particle, or similar) bank by PID from the Event Builder
bool Run(hipo::bank &particleBank) const
Run Function: Process an event's hipo::bank objects
std::deque< bool > Filter(std::vector< int > const pids) const
Action Function: checks if the PDG pid is a part of the list of user-specified PDGs
bool Filter(int const pid) const
Action Function: checks if the PDG pid is a part of the list of user-specified PDGs
General CLAS12 algorithms.