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

ConnectionPathway class. More...

#include "LArProtoShower.h"

Public Member Functions

 ConnectionPathway ()
 Default constructor. More...
 
 ConnectionPathway (const pandora::CartesianVector &startPosition, const pandora::CartesianVector &startDirection)
 Constructor. More...
 
const pandora::CartesianVector & GetStartPosition () const
 Get the start position of the connection pathway. More...
 
const pandora::CartesianVector & GetStartDirection () const
 Get the start direction of the connection pathway. More...
 

Private Attributes

pandora::CartesianVector m_startPosition
 the start position of the connection pathway More...
 
pandora::CartesianVector m_startDirection
 the initial direction of the connection pathway More...
 

Detailed Description

ConnectionPathway class.

Definition at line 93 of file LArProtoShower.h.

Constructor & Destructor Documentation

lar_content::ConnectionPathway::ConnectionPathway ( )
inline

Default constructor.

Definition at line 140 of file LArProtoShower.h.

140  :
141  m_startPosition(0.f, 0.f, 0.f),
142  m_startDirection(0.f, 0.f, 0.f)
143 {
144 }
TFile f
Definition: plotHisto.C:6
pandora::CartesianVector m_startPosition
the start position of the connection pathway
pandora::CartesianVector m_startDirection
the initial direction of the connection pathway
lar_content::ConnectionPathway::ConnectionPathway ( const pandora::CartesianVector &  startPosition,
const pandora::CartesianVector &  startDirection 
)
inline

Constructor.

Parameters
startPositionthe start position of the connection pathway
startDirectionthe initial direction of the connection pathway

Definition at line 132 of file LArProtoShower.h.

132  :
133  m_startPosition(startPosition),
134  m_startDirection(startDirection)
135 {
136 }
pandora::CartesianVector m_startPosition
the start position of the connection pathway
pandora::CartesianVector m_startDirection
the initial direction of the connection pathway

Member Function Documentation

const pandora::CartesianVector & lar_content::ConnectionPathway::GetStartDirection ( ) const
inline
const pandora::CartesianVector & lar_content::ConnectionPathway::GetStartPosition ( ) const
inline

Get the start position of the connection pathway.

Returns
the start position

Definition at line 148 of file LArProtoShower.h.

References m_startPosition.

Referenced by lar_content::ProtoShowerMatchingTool::AreDirectionsConsistent(), lar_content::LArConnectionPathwayHelper::FindClosestSpinePosition(), and lar_content::LArConnectionPathwayHelper::ProjectShowerStartByDirection().

149 {
150  return m_startPosition;
151 }
pandora::CartesianVector m_startPosition
the start position of the connection pathway

Member Data Documentation

pandora::CartesianVector lar_content::ConnectionPathway::m_startDirection
private

the initial direction of the connection pathway

Definition at line 125 of file LArProtoShower.h.

Referenced by GetStartDirection().

pandora::CartesianVector lar_content::ConnectionPathway::m_startPosition
private

the start position of the connection pathway

Definition at line 124 of file LArProtoShower.h.

Referenced by GetStartPosition().


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