LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 71 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 199 of file LArPfoObjects.h.

199  :
200  std::pair<float, LArTrackState>(projectedDistance, larTrackState),
201  m_index(-1)
202 {
203 }
int m_index
The index associated with the trajectory point.
Definition: LArPfoObjects.h:99
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 207 of file LArPfoObjects.h.

207  :
208  std::pair<float, LArTrackState>(projectedDistance, larTrackState),
209  m_index(index)
210 {
211 }
int m_index
The index associated with the trajectory point.
Definition: LArPfoObjects.h:99

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 215 of file LArPfoObjects.h.

References m_index.

216 {
217  return m_index;
218 }
int m_index
The index associated with the trajectory point.
Definition: LArPfoObjects.h:99

Member Data Documentation

int lar_content::LArTrackTrajectoryPoint::m_index
private

The index associated with the trajectory point.

Definition at line 99 of file LArPfoObjects.h.

Referenced by GetIndex().


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