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

FitSegment class. More...

#include "LArTwoDSlidingFitObjects.h"

Public Member Functions

 FitSegment (const int startLayer, const int endLayer, const double startX, const double endX)
 Constructor.
 
int GetStartLayer () const
 Get start layer.
 
int GetEndLayer () const
 Get end layer.
 
double GetMinX () const
 Get the minimum x value.
 
double GetMaxX () const
 Get the maximum x value.
 
bool IsIncreasingX () const
 Whether the x coordinate increases between the start and end layers.
 

Private Attributes

int m_startLayer
 The start layer.
 
int m_endLayer
 The end layer.
 
double m_minX
 The minimum x value.
 
double m_maxX
 The maximum x value.
 
bool m_isIncreasingX
 Whether the x coordinate increases between the start and end layers.
 

Detailed Description

FitSegment class.

Definition at line 234 of file LArTwoDSlidingFitObjects.h.

Constructor & Destructor Documentation

◆ FitSegment()

lar_content::FitSegment::FitSegment ( const int  startLayer,
const int  endLayer,
const double  startX,
const double  endX 
)
inline

Constructor.

Parameters
startLayerthe start layer
endLayerthe end layer
startXthe x position at the start layer
endXthe x position at the end layer

Definition at line 464 of file LArTwoDSlidingFitObjects.h.

Member Function Documentation

◆ GetEndLayer()

int lar_content::FitSegment::GetEndLayer ( ) const
inline

Get end layer.

Returns
the end layer

Definition at line 482 of file LArTwoDSlidingFitObjects.h.

Here is the caller graph for this function:

◆ GetMaxX()

double lar_content::FitSegment::GetMaxX ( ) const
inline

Get the maximum x value.

Returns
the maximum x value

Definition at line 496 of file LArTwoDSlidingFitObjects.h.

Here is the caller graph for this function:

◆ GetMinX()

double lar_content::FitSegment::GetMinX ( ) const
inline

Get the minimum x value.

Returns
the minimum x value

Definition at line 489 of file LArTwoDSlidingFitObjects.h.

Here is the caller graph for this function:

◆ GetStartLayer()

int lar_content::FitSegment::GetStartLayer ( ) const
inline

Get start layer.

Returns
the start layer

Definition at line 475 of file LArTwoDSlidingFitObjects.h.

Here is the caller graph for this function:

◆ IsIncreasingX()

bool lar_content::FitSegment::IsIncreasingX ( ) const
inline

Whether the x coordinate increases between the start and end layers.

Returns
boolean

Definition at line 503 of file LArTwoDSlidingFitObjects.h.

Member Data Documentation

◆ m_endLayer

int lar_content::FitSegment::m_endLayer
private

The end layer.

Definition at line 284 of file LArTwoDSlidingFitObjects.h.

◆ m_isIncreasingX

bool lar_content::FitSegment::m_isIncreasingX
private

Whether the x coordinate increases between the start and end layers.

Definition at line 287 of file LArTwoDSlidingFitObjects.h.

◆ m_maxX

double lar_content::FitSegment::m_maxX
private

The maximum x value.

Definition at line 286 of file LArTwoDSlidingFitObjects.h.

◆ m_minX

double lar_content::FitSegment::m_minX
private

The minimum x value.

Definition at line 285 of file LArTwoDSlidingFitObjects.h.

◆ m_startLayer

int lar_content::FitSegment::m_startLayer
private

The start layer.

Definition at line 283 of file LArTwoDSlidingFitObjects.h.


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