Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::TrackState Class Reference

TrackState class. More...

#include "TrackState.h"

Inheritance diagram for pandora::TrackState:
Collaboration diagram for pandora::TrackState:

Public Member Functions

 TrackState (float x, float y, float z, float px, float py, float pz)
 Constructor, from position and momentum components.
 
 TrackState (const CartesianVector &position, const CartesianVector &momentum)
 Constructor, from position and momentum vectors.
 
const CartesianVectorGetPosition () const
 Get the track position vector.
 
const CartesianVectorGetMomentum () const
 Get the track momentum vector.
 

Private Attributes

CartesianVector m_position
 The position space point.
 
CartesianVector m_momentum
 The momentum vector.
 

Detailed Description

TrackState class.

Definition at line 21 of file TrackState.h.

Constructor & Destructor Documentation

◆ TrackState() [1/2]

pandora::TrackState::TrackState ( float  x,
float  y,
float  z,
float  px,
float  py,
float  pz 
)

Constructor, from position and momentum components.

Parameters
xthe x position coordinate
ythe y position coordinate
zthe z position coordinate
pxthe momentum x component
pythe momentum y component
pzthe momentum z component

Definition at line 14 of file TrackState.cc.

◆ TrackState() [2/2]

pandora::TrackState::TrackState ( const CartesianVector position,
const CartesianVector momentum 
)

Constructor, from position and momentum vectors.

Parameters
positionthe track position space pointe
momentumthe momentum vector

Definition at line 22 of file TrackState.cc.

Member Function Documentation

◆ GetMomentum()

const CartesianVector & pandora::TrackState::GetMomentum ( ) const
inline

Get the track momentum vector.

Returns
the track momentum vector

Definition at line 80 of file TrackState.h.

Here is the caller graph for this function:

◆ GetPosition()

const CartesianVector & pandora::TrackState::GetPosition ( ) const
inline

Get the track position vector.

Returns
the track position vector

Definition at line 73 of file TrackState.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_momentum

CartesianVector pandora::TrackState::m_momentum
private

The momentum vector.

Definition at line 60 of file TrackState.h.

◆ m_position

CartesianVector pandora::TrackState::m_position
private

The position space point.

Definition at line 59 of file TrackState.h.


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