LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_pandora::LArDriftVolume Class Reference

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

#include "LArPandoraGeometryComponents.h"

Public Member Functions

 LArDriftVolume (const unsigned int volumeID, const bool isPositiveDrift, const float wirePitchU, const float wirePitchV, const float wirePitchW, const float wireAngleU, const float wireAngleV, const float wireAngleW, const float centerX, const float centerY, const float centerZ, const float widthX, const float widthY, const float widthZ, const float sigmaUVZ, const LArDaughterDriftVolumeList &tpcVolumeList)
 Constructor. More...
 
unsigned int GetVolumeID () const
 Return unique ID. More...
 
bool IsPositiveDrift () const
 Return drift direction (true if positive) More...
 
float GetWirePitchU () const
 Return wire pitch in U view. More...
 
float GetWirePitchV () const
 Return wire pictch in V view. More...
 
float GetWirePitchW () const
 Return wire pitch in W view. More...
 
float GetWireAngleU () const
 Return wire angle in U view (Pandora convention) More...
 
float GetWireAngleV () const
 Return wire angle in V view (Pandora convention) More...
 
float GetWireAngleW () const
 Return wire angle in W view (Pandora convention) More...
 
float GetCenterX () const
 Return X position at centre of drift volume. More...
 
float GetCenterY () const
 Return Y position at centre of drift volume. More...
 
float GetCenterZ () const
 Return Z position at centre of drift volume. More...
 
float GetWidthX () const
 Return X span of drift volume. More...
 
float GetWidthY () const
 Return Y span of drift volume. More...
 
float GetWidthZ () const
 Return Z span of drift volume. More...
 
float GetSigmaUVZ () const
 Return sigmaUVZ parameter (used for matching views) More...
 
const LArDaughterDriftVolumeListGetTpcVolumeList () const
 Return list of daughter drift volumes associated with this drift volume. More...
 

Private Attributes

unsigned int m_volumeID
 
bool m_isPositiveDrift
 
float m_wirePitchU
 
float m_wirePitchV
 
float m_wirePitchW
 
float m_wireAngleU
 
float m_wireAngleV
 
float m_wireAngleW
 
float m_centerX
 
float m_centerY
 
float m_centerZ
 
float m_widthX
 
float m_widthY
 
float m_widthZ
 
float m_sigmaUVZ
 
LArDaughterDriftVolumeList m_tpcVolumeList
 

Detailed Description

drift volume class to hold properties of drift volume

Definition at line 173 of file LArPandoraGeometryComponents.h.

Constructor & Destructor Documentation

lar_pandora::LArDriftVolume::LArDriftVolume ( const unsigned int  volumeID,
const bool  isPositiveDrift,
const float  wirePitchU,
const float  wirePitchV,
const float  wirePitchW,
const float  wireAngleU,
const float  wireAngleV,
const float  wireAngleW,
const float  centerX,
const float  centerY,
const float  centerZ,
const float  widthX,
const float  widthY,
const float  widthZ,
const float  sigmaUVZ,
const LArDaughterDriftVolumeList tpcVolumeList 
)

Constructor.

Parameters
volumeIDunique ID number
isPositiveDriftdirection of drift
wirePitchUwire pitch (U view)
wirePitchVwire pitch (V view)
wirePitchWwire pitch (W view)
wireAngleUwire angle (U view)
wireAngleVwire angle (V view)
wireAngleWwire angle (W view)
centerXcentre of volume (X)
centerYcentre of volume (Y)
centerZcentre of volume (Z)
widthXwidth of volume (X)
widthYwidth of volume (Y)
widthZwidth of volume (Z)
thetaUwire angle to vertical (U)
thetaVwire angle to vertical (V)
sigmaUVZmatching between views
tpcVolumeListinput list of TPC volumes

Definition at line 455 of file LArPandoraGeometry.cxx.

471  : m_volumeID(volumeID)
472  , m_isPositiveDrift(isPositiveDrift)
473  , m_wirePitchU(wirePitchU)
474  , m_wirePitchV(wirePitchV)
475  , m_wirePitchW(wirePitchW)
476  , m_wireAngleU(wireAngleU)
477  , m_wireAngleV(wireAngleV)
478  , m_wireAngleW(wireAngleW)
479  , m_centerX(centerX)
480  , m_centerY(centerY)
481  , m_centerZ(centerZ)
482  , m_widthX(widthX)
483  , m_widthY(widthY)
484  , m_widthZ(widthZ)
485  , m_sigmaUVZ(sigmaUVZ)
486  , m_tpcVolumeList(tpcVolumeList)
487  {}
LArDaughterDriftVolumeList m_tpcVolumeList

Member Function Documentation

float lar_pandora::LArDriftVolume::GetCenterX ( ) const
inline

Return X position at centre of drift volume.

Definition at line 514 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_centerX.

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

515  {
516  return m_centerX;
517  }
float lar_pandora::LArDriftVolume::GetCenterY ( ) const
inline

Return Y position at centre of drift volume.

Definition at line 521 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_centerY.

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

522  {
523  return m_centerY;
524  }
float lar_pandora::LArDriftVolume::GetCenterZ ( ) const
inline

Return Z position at centre of drift volume.

Definition at line 528 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_centerZ.

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

529  {
530  return m_centerZ;
531  }
float lar_pandora::LArDriftVolume::GetSigmaUVZ ( ) const
inline

Return sigmaUVZ parameter (used for matching views)

Definition at line 556 of file LArPandoraGeometryComponents.h.

557  {
558  return m_sigmaUVZ;
559  }
const LArDaughterDriftVolumeList & lar_pandora::LArDriftVolume::GetTpcVolumeList ( ) const
inline

Return list of daughter drift volumes associated with this drift volume.

Definition at line 563 of file LArPandoraGeometryComponents.h.

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

564  {
565  return m_tpcVolumeList;
566  }
LArDaughterDriftVolumeList m_tpcVolumeList
unsigned int lar_pandora::LArDriftVolume::GetVolumeID ( ) const
inline

Return unique ID.

Definition at line 458 of file LArPandoraGeometryComponents.h.

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

459  {
460  return m_volumeID;
461  }
float lar_pandora::LArDriftVolume::GetWidthX ( ) const
inline

Return X span of drift volume.

Definition at line 535 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_widthX.

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

536  {
537  return m_widthX;
538  }
float lar_pandora::LArDriftVolume::GetWidthY ( ) const
inline

Return Y span of drift volume.

Definition at line 542 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_widthY.

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

543  {
544  return m_widthY;
545  }
float lar_pandora::LArDriftVolume::GetWidthZ ( ) const
inline

Return Z span of drift volume.

Definition at line 549 of file LArPandoraGeometryComponents.h.

References lar_pandora::LArDaughterDriftVolume::m_widthZ.

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

550  {
551  return m_widthZ;
552  }
float lar_pandora::LArDriftVolume::GetWireAngleU ( ) const
inline

Return wire angle in U view (Pandora convention)

Definition at line 493 of file LArPandoraGeometryComponents.h.

494  {
495  return m_wireAngleU;
496  }
float lar_pandora::LArDriftVolume::GetWireAngleV ( ) const
inline

Return wire angle in V view (Pandora convention)

Definition at line 500 of file LArPandoraGeometryComponents.h.

501  {
502  return m_wireAngleV;
503  }
float lar_pandora::LArDriftVolume::GetWireAngleW ( ) const
inline

Return wire angle in W view (Pandora convention)

Definition at line 507 of file LArPandoraGeometryComponents.h.

508  {
509  return m_wireAngleW;
510  }
float lar_pandora::LArDriftVolume::GetWirePitchU ( ) const
inline

Return wire pitch in U view.

Definition at line 472 of file LArPandoraGeometryComponents.h.

473  {
474  return m_wirePitchU;
475  }
float lar_pandora::LArDriftVolume::GetWirePitchV ( ) const
inline

Return wire pictch in V view.

Definition at line 479 of file LArPandoraGeometryComponents.h.

480  {
481  return m_wirePitchV;
482  }
float lar_pandora::LArDriftVolume::GetWirePitchW ( ) const
inline

Return wire pitch in W view.

Definition at line 486 of file LArPandoraGeometryComponents.h.

487  {
488  return m_wirePitchW;
489  }
bool lar_pandora::LArDriftVolume::IsPositiveDrift ( ) const
inline

Return drift direction (true if positive)

Definition at line 465 of file LArPandoraGeometryComponents.h.

466  {
467  return m_isPositiveDrift;
468  }

Member Data Documentation

float lar_pandora::LArDriftVolume::m_centerX
private

Definition at line 303 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_centerY
private

Definition at line 304 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_centerZ
private

Definition at line 305 of file LArPandoraGeometryComponents.h.

bool lar_pandora::LArDriftVolume::m_isPositiveDrift
private

Definition at line 296 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_sigmaUVZ
private

Definition at line 309 of file LArPandoraGeometryComponents.h.

LArDaughterDriftVolumeList lar_pandora::LArDriftVolume::m_tpcVolumeList
private

Definition at line 311 of file LArPandoraGeometryComponents.h.

unsigned int lar_pandora::LArDriftVolume::m_volumeID
private

Definition at line 295 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_widthX
private

Definition at line 306 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_widthY
private

Definition at line 307 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_widthZ
private

Definition at line 308 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wireAngleU
private

Definition at line 300 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wireAngleV
private

Definition at line 301 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wireAngleW
private

Definition at line 302 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wirePitchU
private

Definition at line 297 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wirePitchV
private

Definition at line 298 of file LArPandoraGeometryComponents.h.

float lar_pandora::LArDriftVolume::m_wirePitchW
private

Definition at line 299 of file LArPandoraGeometryComponents.h.


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