EDEpReader
Loading...
Searching...
No Matches
EDEPTrajectoryPoint Class Reference

Represents a point on a trajectory. More...

#include <EDEPTrajectoryPoint.h>

Public Member Functions

 EDEPTrajectoryPoint ()=default
 Default constructor for EDEPTrajectoryPoint in dictionaries.
 
 EDEPTrajectoryPoint (const TG4TrajectoryPoint &trajectory_hit)
 Constructor for EDEPTrajectoryPoint.
 
 ~EDEPTrajectoryPoint ()
 Destructor for EDEPTrajectoryPoint.
 
bool operator== (const EDEPTrajectoryPoint &p)
 
const TLorentzVector & GetPosition () const
 Get the position of the trajectory point.
 
const TVector3 & GetMomentum () const
 Get the momentum of the trajectory point.
 
const int & GetProcess () const
 Get the process associated with the trajectory point.
 
const int & GetSubprocess () const
 Get the subprocess associated with the trajectory point.
 

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 & trajectory_hit)
inline

Constructor for EDEPTrajectoryPoint.

Parameters
trajectory_hitThe TG4TrajectoryPoint object containing hit information.

Member Function Documentation

◆ GetMomentum()

const TVector3 & EDEPTrajectoryPoint::GetMomentum ( ) const
inline

Get the momentum of the trajectory point.

Returns
The momentum as a TVector3.

◆ GetPosition()

const TLorentzVector & EDEPTrajectoryPoint::GetPosition ( ) const
inline

Get the position of the trajectory point.

Returns
The position as a TLorentzVector.

◆ 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: