Public Member Functions | Private Attributes | List of all members
lar_pandora::LArDriftVolume Class Reference

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

#include <LArPandoraGeometry.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 LArPandoraGeometry.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 467 of file LArPandoraGeometry.cxx.

483  : m_volumeID(volumeID)
484  , m_isPositiveDrift(isPositiveDrift)
485  , m_wirePitchU(wirePitchU)
486  , m_wirePitchV(wirePitchV)
487  , m_wirePitchW(wirePitchW)
488  , m_wireAngleU(wireAngleU)
489  , m_wireAngleV(wireAngleV)
490  , m_wireAngleW(wireAngleW)
491  , m_centerX(centerX)
492  , m_centerY(centerY)
493  , m_centerZ(centerZ)
494  , m_widthX(widthX)
495  , m_widthY(widthY)
496  , m_widthZ(widthZ)
497  , m_sigmaUVZ(sigmaUVZ)
498  , m_tpcVolumeList(tpcVolumeList)
499  {}
LArDaughterDriftVolumeList m_tpcVolumeList

Member Function Documentation

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

Return X position at centre of drift volume.

Definition at line 642 of file LArPandoraGeometry.h.

643  {
644  return m_centerX;
645  }
float lar_pandora::LArDriftVolume::GetCenterY ( ) const
inline

Return Y position at centre of drift volume.

Definition at line 650 of file LArPandoraGeometry.h.

651  {
652  return m_centerY;
653  }
float lar_pandora::LArDriftVolume::GetCenterZ ( ) const
inline

Return Z position at centre of drift volume.

Definition at line 658 of file LArPandoraGeometry.h.

659  {
660  return m_centerZ;
661  }
float lar_pandora::LArDriftVolume::GetSigmaUVZ ( ) const
inline

Return sigmaUVZ parameter (used for matching views)

Definition at line 690 of file LArPandoraGeometry.h.

691  {
692  return m_sigmaUVZ;
693  }
const LArDaughterDriftVolumeList & lar_pandora::LArDriftVolume::GetTpcVolumeList ( ) const
inline

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

Definition at line 698 of file LArPandoraGeometry.h.

699  {
700  return m_tpcVolumeList;
701  }
LArDaughterDriftVolumeList m_tpcVolumeList
unsigned int lar_pandora::LArDriftVolume::GetVolumeID ( ) const
inline

Return unique ID.

Definition at line 578 of file LArPandoraGeometry.h.

579  {
580  return m_volumeID;
581  }
float lar_pandora::LArDriftVolume::GetWidthX ( ) const
inline

Return X span of drift volume.

Definition at line 666 of file LArPandoraGeometry.h.

667  {
668  return m_widthX;
669  }
float lar_pandora::LArDriftVolume::GetWidthY ( ) const
inline

Return Y span of drift volume.

Definition at line 674 of file LArPandoraGeometry.h.

675  {
676  return m_widthY;
677  }
float lar_pandora::LArDriftVolume::GetWidthZ ( ) const
inline

Return Z span of drift volume.

Definition at line 682 of file LArPandoraGeometry.h.

683  {
684  return m_widthZ;
685  }
float lar_pandora::LArDriftVolume::GetWireAngleU ( ) const
inline

Return wire angle in U view (Pandora convention)

Definition at line 618 of file LArPandoraGeometry.h.

619  {
620  return m_wireAngleU;
621  }
float lar_pandora::LArDriftVolume::GetWireAngleV ( ) const
inline

Return wire angle in V view (Pandora convention)

Definition at line 626 of file LArPandoraGeometry.h.

627  {
628  return m_wireAngleV;
629  }
float lar_pandora::LArDriftVolume::GetWireAngleW ( ) const
inline

Return wire angle in W view (Pandora convention)

Definition at line 634 of file LArPandoraGeometry.h.

635  {
636  return m_wireAngleW;
637  }
float lar_pandora::LArDriftVolume::GetWirePitchU ( ) const
inline

Return wire pitch in U view.

Definition at line 594 of file LArPandoraGeometry.h.

595  {
596  return m_wirePitchU;
597  }
float lar_pandora::LArDriftVolume::GetWirePitchV ( ) const
inline

Return wire pictch in V view.

Definition at line 602 of file LArPandoraGeometry.h.

603  {
604  return m_wirePitchV;
605  }
float lar_pandora::LArDriftVolume::GetWirePitchW ( ) const
inline

Return wire pitch in W view.

Definition at line 610 of file LArPandoraGeometry.h.

611  {
612  return m_wirePitchW;
613  }
bool lar_pandora::LArDriftVolume::IsPositiveDrift ( ) const
inline

Return drift direction (true if positive)

Definition at line 586 of file LArPandoraGeometry.h.

587  {
588  return m_isPositiveDrift;
589  }

Member Data Documentation

float lar_pandora::LArDriftVolume::m_centerX
private

Definition at line 303 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_centerY
private

Definition at line 304 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_centerZ
private

Definition at line 305 of file LArPandoraGeometry.h.

bool lar_pandora::LArDriftVolume::m_isPositiveDrift
private

Definition at line 296 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_sigmaUVZ
private

Definition at line 309 of file LArPandoraGeometry.h.

LArDaughterDriftVolumeList lar_pandora::LArDriftVolume::m_tpcVolumeList
private

Definition at line 311 of file LArPandoraGeometry.h.

unsigned int lar_pandora::LArDriftVolume::m_volumeID
private

Definition at line 295 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthX
private

Definition at line 306 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthY
private

Definition at line 307 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthZ
private

Definition at line 308 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleU
private

Definition at line 300 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleV
private

Definition at line 301 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleW
private

Definition at line 302 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchU
private

Definition at line 297 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchV
private

Definition at line 298 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchW
private

Definition at line 299 of file LArPandoraGeometry.h.


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