sandreco  1.0.8
A modular reconstruction software for SAND
EDEPTrajectoryPoint Class Reference

Represents a point on a trajectory. More...

#include <EDEPTrajectoryPoint.h>

Public Member Functions

 EDEPTrajectoryPoint (const TG4TrajectoryPoint &p)
 Constructor for EDEPTrajectoryPoint. More...
 
 ~EDEPTrajectoryPoint ()
 Destructor for EDEPTrajectoryPoint.
 
bool operator== (const EDEPTrajectoryPoint &p) const
 
const sand::vec_4d & GetPosition () const
 Get the position of the trajectory point. More...
 
const sand::mom_3d & GetMomentum () const
 Get the momentum of the trajectory point. More...
 
const int & GetProcess () const
 Get the process associated with the trajectory point. More...
 
const int & GetSubprocess () const
 Get the subprocess associated with the trajectory point. More...
 

Detailed Description

Represents a point on a trajectory.

This class encapsulates information about a point on a trajectory, such as its position, momentum, process, and subprocess.

Constructor & Destructor Documentation

◆ EDEPTrajectoryPoint()

EDEPTrajectoryPoint::EDEPTrajectoryPoint ( const TG4TrajectoryPoint &  p)
inlineexplicit

Constructor for EDEPTrajectoryPoint.

Parameters
trajectory_hitThe TG4TrajectoryPoint object containing hit information.

Member Function Documentation

◆ GetMomentum()

const sand::mom_3d& EDEPTrajectoryPoint::GetMomentum ( ) const
inline

Get the momentum of the trajectory point.

Returns
The momentum as a XYZVector.

◆ GetPosition()

const sand::vec_4d& EDEPTrajectoryPoint::GetPosition ( ) const
inline

Get the position of the trajectory point.

Returns
The position as a XYZTVector.

◆ GetProcess()

const int& EDEPTrajectoryPoint::GetProcess ( ) const
inline

Get the process associated with the trajectory point.

Returns
The process as an integer.

◆ GetSubprocess()

const int& EDEPTrajectoryPoint::GetSubprocess ( ) const
inline

Get the subprocess associated with the trajectory point.

Returns
The subprocess as an integer.

The documentation for this class was generated from the following file: