3#include "iguana/algorithms/Algorithm.h"
4#include <Math/Vector3D.h>
5#include <Math/Vector4D.h>
56 void Start(hipo::banklist& banks)
override;
57 void Run(hipo::banklist& banks)
const override;
63 hipo::banklist::size_type b_particle;
64 hipo::banklist::size_type b_inc_kin;
65 hipo::banklist::size_type b_result;
78 std::set<int> o_hadron_pdgs;
#define DEFINE_IGUANA_ALGORITHM(ALGO_NAME, ALGO_FULL_NAME)
Base class for all algorithms to inherit from.
Algorithm: Calculate semi-inclusive hadron kinematic quantities defined in iguana::physics::SingleHad...
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.
Set of hadron kinematics variables.
int pindex
REC::Particle row (pindex) of the hadron
double xF
: Feynman-x of the hadron
double phiH
: -azimuthal angle between the lepton-scattering plane and the plane; if the value is tools::UNDEF,...
double PhPerp
: transverse momentum of the hadron in the -frame (transverse to )
int pdg
PDG code of the hadron.
double z
: Momentum fraction of the fragmenting parton carried by the hadron
double xi
: Longitudinal momentum fraction of the nucleon carried by the hadron
double MX
: Missing mass of the hadron