LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 115 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 343 of file LArPandoraGeometry.cxx.

346  :
347  m_volumeID(volumeID),
348  m_isPositiveDrift(isPositiveDrift),
349  m_wirePitchU(wirePitchU),
350  m_wirePitchV(wirePitchV),
351  m_wirePitchW(wirePitchW),
352  m_wireAngleU(wireAngleU),
353  m_wireAngleV(wireAngleV),
354  m_wireAngleW(wireAngleW),
355  m_centerX(centerX),
356  m_centerY(centerY),
357  m_centerZ(centerZ),
358  m_widthX(widthX),
359  m_widthY(widthY),
360  m_widthZ(widthZ),
361  m_sigmaUVZ(sigmaUVZ),
362  m_tpcVolumeList(tpcVolumeList)
363 {
364 }
LArDaughterDriftVolumeList m_tpcVolumeList

Member Function Documentation

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

Return X position at centre of drift volume.

Definition at line 463 of file LArPandoraGeometry.h.

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

464 {
465  return m_centerX;
466 }
float lar_pandora::LArDriftVolume::GetCenterY ( ) const
inline

Return Y position at centre of drift volume.

Definition at line 470 of file LArPandoraGeometry.h.

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

471 {
472  return m_centerY;
473 }
float lar_pandora::LArDriftVolume::GetCenterZ ( ) const
inline

Return Z position at centre of drift volume.

Definition at line 477 of file LArPandoraGeometry.h.

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

478 {
479  return m_centerZ;
480 }
float lar_pandora::LArDriftVolume::GetSigmaUVZ ( ) const
inline

Return sigmaUVZ parameter (used for matching views)

Definition at line 505 of file LArPandoraGeometry.h.

506 {
507  return m_sigmaUVZ;
508 }
const LArDaughterDriftVolumeList & lar_pandora::LArDriftVolume::GetTpcVolumeList ( ) const

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

Definition at line 368 of file LArPandoraGeometry.cxx.

References m_tpcVolumeList.

369 {
370  return m_tpcVolumeList;
371 }
LArDaughterDriftVolumeList m_tpcVolumeList
unsigned int lar_pandora::LArDriftVolume::GetVolumeID ( ) const
inline

Return unique ID.

Definition at line 407 of file LArPandoraGeometry.h.

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

408 {
409  return m_volumeID;
410 }
float lar_pandora::LArDriftVolume::GetWidthX ( ) const
inline

Return X span of drift volume.

Definition at line 484 of file LArPandoraGeometry.h.

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

485 {
486  return m_widthX;
487 }
float lar_pandora::LArDriftVolume::GetWidthY ( ) const
inline

Return Y span of drift volume.

Definition at line 491 of file LArPandoraGeometry.h.

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

492 {
493  return m_widthY;
494 }
float lar_pandora::LArDriftVolume::GetWidthZ ( ) const
inline

Return Z span of drift volume.

Definition at line 498 of file LArPandoraGeometry.h.

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

499 {
500  return m_widthZ;
501 }
float lar_pandora::LArDriftVolume::GetWireAngleU ( ) const
inline

Return wire angle in U view (Pandora convention)

Definition at line 442 of file LArPandoraGeometry.h.

443 {
444  return m_wireAngleU;
445 }
float lar_pandora::LArDriftVolume::GetWireAngleV ( ) const
inline

Return wire angle in V view (Pandora convention)

Definition at line 449 of file LArPandoraGeometry.h.

450 {
451  return m_wireAngleV;
452 }
float lar_pandora::LArDriftVolume::GetWireAngleW ( ) const
inline

Return wire angle in W view (Pandora convention)

Definition at line 456 of file LArPandoraGeometry.h.

457 {
458  return m_wireAngleW;
459 }
float lar_pandora::LArDriftVolume::GetWirePitchU ( ) const
inline

Return wire pitch in U view.

Definition at line 421 of file LArPandoraGeometry.h.

422 {
423  return m_wirePitchU;
424 }
float lar_pandora::LArDriftVolume::GetWirePitchV ( ) const
inline

Return wire pictch in V view.

Definition at line 428 of file LArPandoraGeometry.h.

429 {
430  return m_wirePitchV;
431 }
float lar_pandora::LArDriftVolume::GetWirePitchW ( ) const
inline

Return wire pitch in W view.

Definition at line 435 of file LArPandoraGeometry.h.

436 {
437  return m_wirePitchW;
438 }
bool lar_pandora::LArDriftVolume::IsPositiveDrift ( ) const
inline

Return drift direction (true if positive)

Definition at line 414 of file LArPandoraGeometry.h.

415 {
416  return m_isPositiveDrift;
417 }

Member Data Documentation

float lar_pandora::LArDriftVolume::m_centerX
private

Definition at line 234 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_centerY
private

Definition at line 235 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_centerZ
private

Definition at line 236 of file LArPandoraGeometry.h.

bool lar_pandora::LArDriftVolume::m_isPositiveDrift
private

Definition at line 227 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_sigmaUVZ
private

Definition at line 240 of file LArPandoraGeometry.h.

LArDaughterDriftVolumeList lar_pandora::LArDriftVolume::m_tpcVolumeList
private

Definition at line 242 of file LArPandoraGeometry.h.

Referenced by GetTpcVolumeList().

unsigned int lar_pandora::LArDriftVolume::m_volumeID
private

Definition at line 226 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthX
private

Definition at line 237 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthY
private

Definition at line 238 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_widthZ
private

Definition at line 239 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleU
private

Definition at line 231 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleV
private

Definition at line 232 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wireAngleW
private

Definition at line 233 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchU
private

Definition at line 228 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchV
private

Definition at line 229 of file LArPandoraGeometry.h.

float lar_pandora::LArDriftVolume::m_wirePitchW
private

Definition at line 230 of file LArPandoraGeometry.h.


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