Public Member Functions | Private Attributes | List of all members
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 }
static int max(int a, int b)
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
Definition: statistics.h:55
float m_lowEdgeZ
The shower low edge z coordinate.
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.

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.

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.

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.

float lar_content::ShowerExtent::m_lowEdgeZ
private

The shower low edge z coordinate.

Definition at line 159 of file LArTwoDSlidingShowerFitResult.h.

float lar_content::ShowerExtent::m_xCoordinate
private

The x coordinate.

Definition at line 157 of file LArTwoDSlidingShowerFitResult.h.


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