LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::LArTrackTrajectoryPoint Class Reference

LArTrackTrajectoryPoint class. More...

#include "LArPfoObjects.h"

Inheritance diagram for lar_content::LArTrackTrajectoryPoint:

Public Member Functions

 LArTrackTrajectoryPoint (const float projectedDistance, const LArTrackState &larTrackState)
 Constructor. More...
 
 LArTrackTrajectoryPoint (const float projectedDistance, const LArTrackState &larTrackState, const int index)
 Constructor. More...
 
int GetIndex () const
 Get the index associated with the trajectory point. More...
 

Private Attributes

int m_index
 The index associated with the trajectory point. More...
 

Detailed Description

LArTrackTrajectoryPoint class.

Definition at line 74 of file LArPfoObjects.h.

Constructor & Destructor Documentation

lar_content::LArTrackTrajectoryPoint::LArTrackTrajectoryPoint ( const float  projectedDistance,
const LArTrackState larTrackState 
)
inline

Constructor.

Parameters
projectedDistancethe projected distance
larTrackStatethe lar track state

Definition at line 202 of file LArPfoObjects.h.

202  :
203  std::pair<float, LArTrackState>(projectedDistance, larTrackState),
204  m_index(-1)
205 {
206 }
int m_index
The index associated with the trajectory point.
lar_content::LArTrackTrajectoryPoint::LArTrackTrajectoryPoint ( const float  projectedDistance,
const LArTrackState larTrackState,
const int  index 
)
inline

Constructor.

Parameters
projectedDistancethe projected distance
larTrackStatethe lar track state
indexthe index associated with the trajectory point

Definition at line 210 of file LArPfoObjects.h.

210  :
211  std::pair<float, LArTrackState>(projectedDistance, larTrackState),
212  m_index(index)
213 {
214 }
int m_index
The index associated with the trajectory point.

Member Function Documentation

int lar_content::LArTrackTrajectoryPoint::GetIndex ( ) const
inline

Get the index associated with the trajectory point.

Returns
the index associated with the trajectory point

Definition at line 218 of file LArPfoObjects.h.

References m_index.

219 {
220  return m_index;
221 }
int m_index
The index associated with the trajectory point.

Member Data Documentation

int lar_content::LArTrackTrajectoryPoint::m_index
private

The index associated with the trajectory point.

Definition at line 102 of file LArPfoObjects.h.

Referenced by GetIndex().


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