Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArTrackState Class Reference

LArTrackState class. More...

#include "LArPfoObjects.h"

Inheritance diagram for lar_content::LArTrackState:
Collaboration diagram for lar_content::LArTrackState:

Public Member Functions

 LArTrackState (const pandora::CartesianVector &position, const pandora::CartesianVector &direction, const pandora::CaloHit *const pCaloHit)
 Constructor.
 
 LArTrackState (const pandora::CartesianVector &position, const pandora::CartesianVector &direction)
 Constructor.
 
const pandora::CartesianVectorGetDirection () const
 Return direction at this trajectory point.
 
const pandora::CaloHitGetCaloHit () const
 Return calo hit at this trajectory point.
 
const CartesianVectorGetPosition () const
 Get the track position vector.
 
const CartesianVectorGetMomentum () const
 Get the track momentum vector.
 

Private Attributes

const pandora::CaloHitm_pCaloHit
 
CartesianVector m_position
 The position space point.
 
CartesianVector m_momentum
 The momentum vector.
 

Detailed Description

LArTrackState class.

Definition at line 29 of file LArPfoObjects.h.

Constructor & Destructor Documentation

◆ LArTrackState() [1/2]

lar_content::LArTrackState::LArTrackState ( const pandora::CartesianVector position,
const pandora::CartesianVector direction,
const pandora::CaloHit *const  pCaloHit 
)

Constructor.

Parameters
positionthe position
directionthe direction
pCaloHitthe address of the associated calo hit

Definition at line 18 of file LArPfoObjects.cc.

◆ LArTrackState() [2/2]

lar_content::LArTrackState::LArTrackState ( const pandora::CartesianVector position,
const pandora::CartesianVector direction 
)

Constructor.

Parameters
positionthe position
directionthe direction

Definition at line 26 of file LArPfoObjects.cc.

Member Function Documentation

◆ GetCaloHit()

const CaloHit * lar_content::LArTrackState::GetCaloHit ( ) const

Return calo hit at this trajectory point.

Parameters
theaddress of the calo hit at this trajectory point

Definition at line 41 of file LArPfoObjects.cc.

◆ GetDirection()

const CartesianVector & lar_content::LArTrackState::GetDirection ( ) const

Return direction at this trajectory point.

Returns
the direction at this trajectory point

Definition at line 34 of file LArPfoObjects.cc.

Here is the call graph for this function:

◆ GetMomentum()

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

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
inlineinherited

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
privateinherited

The momentum vector.

Definition at line 60 of file TrackState.h.

◆ m_pCaloHit

const pandora::CaloHit* lar_content::LArTrackState::m_pCaloHit
private

Definition at line 64 of file LArPfoObjects.h.

◆ m_position

CartesianVector pandora::TrackState::m_position
privateinherited

The position space point.

Definition at line 59 of file TrackState.h.


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