All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
lar_pandora::LArDetectorGap Class Reference

drift volume class to hold properties of drift volume More...

#include <LArPandoraGeometryComponents.h>

Public Member Functions

 LArDetectorGap (const float x1, const float y1, const float z1, const float x2, const float y2, const float z2)
 Constructor. More...
 
float GetX1 () const
 Get lower X coordinate. More...
 
float GetY1 () const
 Get lower y coordinate. More...
 
float GetZ1 () const
 Get lower Z coordinate. More...
 
float GetX2 () const
 Get upper X coordinate. More...
 
float GetY2 () const
 Get upper Y coordinate. More...
 
float GetZ2 () const
 Get upper Z coordinate. More...
 

Static Public Member Functions

static float GetMaxGapSize () noexcept
 Get maximum gap size. More...
 

Private Attributes

float m_x1
 
float m_y1
 
float m_z1
 
float m_x2
 
float m_y2
 
float m_z2
 

Detailed Description

drift volume class to hold properties of drift volume

Definition at line 20 of file LArPandoraGeometryComponents.h.

Constructor & Destructor Documentation

lar_pandora::LArDetectorGap::LArDetectorGap ( const float  x1,
const float  y1,
const float  z1,
const float  x2,
const float  y2,
const float  z2 
)
inline

Constructor.

Parameters
x1lower X coordinate
y1lower Y coordinate
z1lower Z coordinate
x2upper X coordinate
y2upper Y coordinate
z2upper Z coordinate

Definition at line 320 of file LArPandoraGeometryComponents.h.

Member Function Documentation

float lar_pandora::LArDetectorGap::GetMaxGapSize ( )
inlinestaticnoexcept

Get maximum gap size.

Definition at line 380 of file LArPandoraGeometryComponents.h.

381  {
382  return 30.f; // TODO: 30cm should be fine but can we do better than a hard-coded number here?
383  }
float lar_pandora::LArDetectorGap::GetX1 ( ) const
inline

Get lower X coordinate.

Definition at line 332 of file LArPandoraGeometryComponents.h.

333  {
334  return m_x1;
335  }
float lar_pandora::LArDetectorGap::GetX2 ( ) const
inline

Get upper X coordinate.

Definition at line 356 of file LArPandoraGeometryComponents.h.

357  {
358  return m_x2;
359  }
float lar_pandora::LArDetectorGap::GetY1 ( ) const
inline

Get lower y coordinate.

Definition at line 340 of file LArPandoraGeometryComponents.h.

341  {
342  return m_y1;
343  }
float lar_pandora::LArDetectorGap::GetY2 ( ) const
inline

Get upper Y coordinate.

Definition at line 364 of file LArPandoraGeometryComponents.h.

365  {
366  return m_y2;
367  }
float lar_pandora::LArDetectorGap::GetZ1 ( ) const
inline

Get lower Z coordinate.

Definition at line 348 of file LArPandoraGeometryComponents.h.

349  {
350  return m_z1;
351  }
float lar_pandora::LArDetectorGap::GetZ2 ( ) const
inline

Get upper Z coordinate.

Definition at line 372 of file LArPandoraGeometryComponents.h.

373  {
374  return m_z2;
375  }

Member Data Documentation

float lar_pandora::LArDetectorGap::m_x1
private

Definition at line 75 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDetectorGap::m_x2
private

Definition at line 78 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDetectorGap::m_y1
private

Definition at line 76 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDetectorGap::m_y2
private

Definition at line 79 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDetectorGap::m_z1
private

Definition at line 77 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDetectorGap::m_z2
private

Definition at line 80 of file LArPandoraGeometryComponents.h.


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