LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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.

289  :
290  m_position(position),
291  m_hitType(hitType),
292  m_sigma(sigma)
293 {
294 }
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 305 of file ThreeDHitCreationAlgorithm.h.

References m_hitType.

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

Get the sampling position.

Returns
the sampling position

Definition at line 298 of file ThreeDHitCreationAlgorithm.h.

References m_position.

299 {
300  return m_position;
301 }
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 312 of file ThreeDHitCreationAlgorithm.h.

References m_sigma.

313 {
314  return m_sigma;
315 }

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: