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

ShowerExtent. More...

#include "LArTwoDSlidingShowerFitResult.h"

Public Member Functions

 ShowerExtent (const float xCoordinate, const float highEdgeZ, const float lowEdgeZ)
 Constructor. More...
 
float GetXCoordinate () const
 
float GetHighEdgeZ () const
 
float GetLowEdgeZ () const
 

Private Attributes

float m_xCoordinate
 The x coordinate. More...
 
float m_highEdgeZ
 The shower high edge z coordinate. More...
 
float m_lowEdgeZ
 The shower low edge z coordinate. More...
 

Detailed Description

ShowerExtent.

Definition at line 123 of file LArTwoDSlidingShowerFitResult.h.

Constructor & Destructor Documentation

lar_content::ShowerExtent::ShowerExtent ( const float  xCoordinate,
const float  highEdgeZ,
const float  lowEdgeZ 
)
inline

Constructor.

Parameters
xCoordinatethe x coordinate
highEdgeZthe shower high edge z coordinate
lowEdgeZthe shower low edge z coordinate

Definition at line 189 of file LArTwoDSlidingShowerFitResult.h.

189  :
190  m_xCoordinate(xCoordinate),
191  m_highEdgeZ(std::max(edge1, edge2)),
192  m_lowEdgeZ(std::min(edge1, edge2))
193 {
194 }
Int_t max
Definition: plot.C:27
float m_lowEdgeZ
The shower low edge z coordinate.
Int_t min
Definition: plot.C:26
float m_highEdgeZ
The shower high edge z coordinate.

Member Function Documentation

float lar_content::ShowerExtent::GetHighEdgeZ ( ) const
inline
Parameters
Getthe shower high edge z coordinate
Returns
the shower high edge z coordinate

Definition at line 205 of file LArTwoDSlidingShowerFitResult.h.

References m_highEdgeZ.

206 {
207  return m_highEdgeZ;
208 }
float m_highEdgeZ
The shower high edge z coordinate.
float lar_content::ShowerExtent::GetLowEdgeZ ( ) const
inline
Parameters
Getthe shower low edge z coordinate
Returns
the shower low edge z coordinate

Definition at line 212 of file LArTwoDSlidingShowerFitResult.h.

References m_lowEdgeZ.

213 {
214  return m_lowEdgeZ;
215 }
float m_lowEdgeZ
The shower low edge z coordinate.
float lar_content::ShowerExtent::GetXCoordinate ( ) const
inline
Parameters
Getthe x coordinate
Returns
the x coordinate

Definition at line 198 of file LArTwoDSlidingShowerFitResult.h.

References m_xCoordinate.

199 {
200  return m_xCoordinate;
201 }

Member Data Documentation

float lar_content::ShowerExtent::m_highEdgeZ
private

The shower high edge z coordinate.

Definition at line 158 of file LArTwoDSlidingShowerFitResult.h.

Referenced by GetHighEdgeZ().

float lar_content::ShowerExtent::m_lowEdgeZ
private

The shower low edge z coordinate.

Definition at line 159 of file LArTwoDSlidingShowerFitResult.h.

Referenced by GetLowEdgeZ().

float lar_content::ShowerExtent::m_xCoordinate
private

The x coordinate.

Definition at line 157 of file LArTwoDSlidingShowerFitResult.h.

Referenced by GetXCoordinate().


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