LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar_content::ThreeDHitCreationAlgorithm::TrajectorySample Class Reference

Trajectory samples record the results of sampling a particles in a particular view. More...

#include "ThreeDHitCreationAlgorithm.h"

Public Member Functions

 TrajectorySample (const pandora::CartesianVector &position, const pandora::HitType hitType, const double sigma)
 Constructor. More...
 
const pandora::CartesianVector & GetPosition () const
 Get the sampling position. More...
 
pandora::HitType GetHitType () const
 Get the sampling hit type. More...
 
double GetSigma () const
 Get the sampling sigma. More...
 

Private Attributes

pandora::CartesianVector m_position
 The sampling position. More...
 
pandora::HitType m_hitType
 The sampling hit type. More...
 
double m_sigma
 The sampling sigma. More...
 

Detailed Description

Trajectory samples record the results of sampling a particles in a particular view.

Definition at line 33 of file ThreeDHitCreationAlgorithm.h.

Constructor & Destructor Documentation

lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::TrajectorySample ( const pandora::CartesianVector &  position,
const pandora::HitType  hitType,
const double  sigma 
)
inline

Constructor.

Definition at line 288 of file ThreeDHitCreationAlgorithm.h.

288  :
289  m_position(position),
290  m_hitType(hitType),
291  m_sigma(sigma)
292 {
293 }
pandora::CartesianVector m_position
The sampling position.

Member Function Documentation

pandora::HitType lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::GetHitType ( ) const
inline

Get the sampling hit type.

Returns
the sampling hit type

Definition at line 304 of file ThreeDHitCreationAlgorithm.h.

References m_hitType.

305 {
306  return m_hitType;
307 }
const pandora::CartesianVector & lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::GetPosition ( ) const
inline

Get the sampling position.

Returns
the sampling position

Definition at line 297 of file ThreeDHitCreationAlgorithm.h.

References m_position.

298 {
299  return m_position;
300 }
pandora::CartesianVector m_position
The sampling position.
double lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::GetSigma ( ) const
inline

Get the sampling sigma.

Returns
the sampling sigma

Definition at line 311 of file ThreeDHitCreationAlgorithm.h.

References m_sigma.

312 {
313  return m_sigma;
314 }

Member Data Documentation

pandora::HitType lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::m_hitType
private

The sampling hit type.

Definition at line 64 of file ThreeDHitCreationAlgorithm.h.

Referenced by GetHitType().

pandora::CartesianVector lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::m_position
private

The sampling position.

Definition at line 63 of file ThreeDHitCreationAlgorithm.h.

Referenced by GetPosition().

double lar_content::ThreeDHitCreationAlgorithm::TrajectorySample::m_sigma
private

The sampling sigma.

Definition at line 65 of file ThreeDHitCreationAlgorithm.h.

Referenced by GetSigma().


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