LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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.

326  : m_x1(x1), m_y1(y1), m_z1(z1), m_x2(x2), m_y2(y2), m_z2(z2)
327  {}
Float_t y1[n_points_granero]
Definition: compare.C:5
Float_t x1[n_points_granero]
Definition: compare.C:5
Float_t y2[n_points_geant4]
Definition: compare.C:26
Float_t x2[n_points_geant4]
Definition: compare.C:26

Member Function Documentation

float lar_pandora::LArDetectorGap::GetMaxGapSize ( )
inlinestaticnoexcept

Get maximum gap size.

Definition at line 373 of file LArPandoraGeometryComponents.h.

Referenced by lar_pandora::LArPandoraGeometry::LoadDetectorGaps().

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

Get lower y coordinate.

Definition at line 338 of file LArPandoraGeometryComponents.h.

References m_y1.

Referenced by lar_pandora::ProtoDUNEDualPhase::CreateLineGapParametersFromDetectorGaps().

339  {
340  return m_y1;
341  }
float lar_pandora::LArDetectorGap::GetY2 ( ) const
inline

Get upper Y coordinate.

Definition at line 359 of file LArPandoraGeometryComponents.h.

References m_y2.

Referenced by lar_pandora::ProtoDUNEDualPhase::CreateLineGapParametersFromDetectorGaps().

360  {
361  return m_y2;
362  }
float lar_pandora::LArDetectorGap::GetZ1 ( ) const
inline

Get lower Z coordinate.

Definition at line 345 of file LArPandoraGeometryComponents.h.

References m_z1.

Referenced by lar_pandora::ProtoDUNEDualPhase::CreateLineGapParametersFromDetectorGaps().

346  {
347  return m_z1;
348  }
float lar_pandora::LArDetectorGap::GetZ2 ( ) const
inline

Get upper Z coordinate.

Definition at line 366 of file LArPandoraGeometryComponents.h.

References m_z2.

Referenced by lar_pandora::ProtoDUNEDualPhase::CreateLineGapParametersFromDetectorGaps().

367  {
368  return m_z2;
369  }

Member Data Documentation

float lar_pandora::LArDetectorGap::m_x1
private

Definition at line 75 of file LArPandoraGeometryComponents.h.

Referenced by GetX1().

float lar_pandora::LArDetectorGap::m_x2
private

Definition at line 78 of file LArPandoraGeometryComponents.h.

Referenced by GetX2().

float lar_pandora::LArDetectorGap::m_y1
private

Definition at line 76 of file LArPandoraGeometryComponents.h.

Referenced by GetY1().

float lar_pandora::LArDetectorGap::m_y2
private

Definition at line 79 of file LArPandoraGeometryComponents.h.

Referenced by GetY2().

float lar_pandora::LArDetectorGap::m_z1
private

Definition at line 77 of file LArPandoraGeometryComponents.h.

Referenced by GetZ1().

float lar_pandora::LArDetectorGap::m_z2
private

Definition at line 80 of file LArPandoraGeometryComponents.h.

Referenced by GetZ2().


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