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 <LArPandoraGeometry.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 LArPandoraGeometry.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 424 of file LArPandoraGeometry.h.

Member Function Documentation

float lar_pandora::LArDetectorGap::GetMaxGapSize ( )
inlinestaticnoexcept

Get maximum gap size.

Definition at line 484 of file LArPandoraGeometry.h.

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

Get lower X coordinate.

Definition at line 436 of file LArPandoraGeometry.h.

437  {
438  return m_x1;
439  }
float lar_pandora::LArDetectorGap::GetX2 ( ) const
inline

Get upper X coordinate.

Definition at line 460 of file LArPandoraGeometry.h.

461  {
462  return m_x2;
463  }
float lar_pandora::LArDetectorGap::GetY1 ( ) const
inline

Get lower y coordinate.

Definition at line 444 of file LArPandoraGeometry.h.

445  {
446  return m_y1;
447  }
float lar_pandora::LArDetectorGap::GetY2 ( ) const
inline

Get upper Y coordinate.

Definition at line 468 of file LArPandoraGeometry.h.

469  {
470  return m_y2;
471  }
float lar_pandora::LArDetectorGap::GetZ1 ( ) const
inline

Get lower Z coordinate.

Definition at line 452 of file LArPandoraGeometry.h.

453  {
454  return m_z1;
455  }
float lar_pandora::LArDetectorGap::GetZ2 ( ) const
inline

Get upper Z coordinate.

Definition at line 476 of file LArPandoraGeometry.h.

477  {
478  return m_z2;
479  }

Member Data Documentation

float lar_pandora::LArDetectorGap::m_x1
private

Definition at line 75 of file LArPandoraGeometry.h.

float lar_pandora::LArDetectorGap::m_x2
private

Definition at line 78 of file LArPandoraGeometry.h.

float lar_pandora::LArDetectorGap::m_y1
private

Definition at line 76 of file LArPandoraGeometry.h.

float lar_pandora::LArDetectorGap::m_y2
private

Definition at line 79 of file LArPandoraGeometry.h.

float lar_pandora::LArDetectorGap::m_z1
private

Definition at line 77 of file LArPandoraGeometry.h.

float lar_pandora::LArDetectorGap::m_z2
private

Definition at line 80 of file LArPandoraGeometry.h.


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