9#ifndef RECON_EVENT_BEAMELECTRONTRUTH_H_
10#define RECON_EVENT_BEAMELECTRONTRUTH_H_
71 void setXYZ(
double x,
double y,
double z) {
Represents the truth information on beam electrons at the target.
double binnedX_
x coordinate (with TS resolution)
void Print() const
Print a description of this object.
double getX()
Get x coordinate of the beam electron.
virtual ~BeamElectronTruth()
Class destructor.
void setBarX(double x)
Set x bar number of the found beam electron.
double pz_
z momentum component
void setBinnedY(double y)
SetBinned y coordinate of the found beam electron.
double barY_
TS horizontal bar number overlapping with y coordinate.
double binnedY_
y coordinate (with TS resolution)
double getBarX()
Get x bar number of the found beam electron.
double getBarY()
Get y bar number of the found beam electron.
void setY(double y)
Set y coordinate of the found beam electron.
double getBinnedY()
GetBinned y coordinate of the beam electron.
double px_
x momentum component
void setBinnedXY(double x, double y)
Set all three binned spatial coordinates at once.
bool operator<(BeamElectronTruth &rhs)
some sorting operator is mandatory sort on hit Z coordinate
double getBinnedX()
Get binned x coordinate of the beam electron.
double getPy()
Get py component of the beam electron momentum.
double getPx()
Get px component of the beam electron momentum.
double py_
y momentum component
BeamElectronTruth()=default
Class constructor.
void setThreeMomentum(double px, double py, double pz)
Set the entire three-momentum at once.
void setXYZ(double x, double y, double z)
Set all three spatial coordinates at once.
double z_
z coordinate ("truth" resolution, in practice, set to taget z = 0
void setBarXY(double x, double y)
Set both bar number coordinates at once.
double getZ()
Get z coordinate of the beam electron.
void setZ(double z)
Set z coordinate of the found beam electron.
double getPz()
Get pz component of the beam electron momentum.
double x_
x coordinate ("truth" resolution, but within merging tolerance)
double y_
y coordinate ("truth" resolution, but within merging tolerance)
double barX_
TS vertical bar number overlapping with x coordinate.
void setX(double x)
Set x coordinate of the found beam electron.
double getY()
Get y coordinate of the beam electron.
void setBarY(double y)
Set y bar number of the found beam electron.
void setBinnedX(double x)
SetBinned x coordinate of the found beam electron.
void Clear()
Clear the data in the object.