LArPandoraGeometry class.
More...
#include "LArPandoraGeometry.h"
|
static void | LoadDetectorGaps (LArDetectorGapList &listOfGaps, const bool useActiveBoundingBox) |
| Load the 2D gaps that go with the chosen geometry.
|
|
static void | LoadGeometry (LArDriftVolumeList &outputVolumeList, LArDriftVolumeMap &outputVolumeMap, const bool useActiveBoundingBox) |
| Load drift volume geometry.
|
|
static unsigned int | GetVolumeID (const LArDriftVolumeMap &driftVolumeMap, const unsigned int cstat, const unsigned int tpc) |
| Get drift volume ID from a specified cryostat/tpc pair.
|
|
static unsigned int | GetDaughterVolumeID (const LArDriftVolumeMap &driftVolumeMap, const unsigned int cstat, const unsigned int tpc) |
| Get daughter volume ID from a specified cryostat/tpc pair.
|
|
static geo::View_t | GetGlobalView (const unsigned int cstat, const unsigned int tpc, const geo::View_t hit_View) |
| Convert to global coordinate system.
|
|
|
static unsigned int | GetTpcID (const unsigned int cstat, const unsigned int tpc) |
| Generate a unique identifier for each TPC.
|
|
static bool | ShouldSwitchUV (const unsigned int cstat, const unsigned int tpc) |
| Return whether U/V should be switched in global coordinate system for this cryostat/tpc.
|
|
static bool | ShouldSwitchUV (const bool isPositiveDrift) |
| Return whether U/V should be switched in global coordinate system for this drift direction.
|
|
static void | LoadGeometry (LArDriftVolumeList &driftVolumeList, const bool useActiveBoundingBox) |
| This method will group TPCs into drift volumes (these are regions of the detector that share a common drift direction, common range of X coordinates, and common detector parameters such as wire pitch and wire angle).
|
|
static void | LoadGlobalDaughterGeometry (const LArDriftVolumeList &driftVolumeList, LArDriftVolumeList &daughterVolumeList) |
| This method will create one or more daughter volumes (these share a common drift orientation along the X-axis, have parallel or near-parallel wire angles, and similar wire pitches)
|
|
◆ GetDaughterVolumeID()
unsigned int lar_pandora::LArPandoraGeometry::GetDaughterVolumeID |
( |
const LArDriftVolumeMap & |
driftVolumeMap, |
|
|
const unsigned int |
cstat, |
|
|
const unsigned int |
tpc |
|
) |
| |
|
static |
Get daughter volume ID from a specified cryostat/tpc pair.
- Parameters
-
driftVolumeMap | the output mapping between cryostat/tpc and drift volumes |
cstat | the input cryostat unique ID |
tpc | the input tpc unique ID |
Definition at line 136 of file LArPandoraGeometry.cxx.
◆ GetGlobalView()
geo::View_t lar_pandora::LArPandoraGeometry::GetGlobalView |
( |
const unsigned int |
cstat, |
|
|
const unsigned int |
tpc, |
|
|
const geo::View_t |
hit_View |
|
) |
| |
|
static |
Convert to global coordinate system.
- Parameters
-
cstat | the input cryostat |
tpc | the input tpc |
hit_View | the input view |
Definition at line 167 of file LArPandoraGeometry.cxx.
◆ GetTpcID()
unsigned int lar_pandora::LArPandoraGeometry::GetTpcID |
( |
const unsigned int |
cstat, |
|
|
const unsigned int |
tpc |
|
) |
| |
|
staticprivate |
Generate a unique identifier for each TPC.
- Parameters
-
cstat | the input cryostat |
tpc | the input tpc |
Definition at line 188 of file LArPandoraGeometry.cxx.
◆ GetVolumeID()
unsigned int lar_pandora::LArPandoraGeometry::GetVolumeID |
( |
const LArDriftVolumeMap & |
driftVolumeMap, |
|
|
const unsigned int |
cstat, |
|
|
const unsigned int |
tpc |
|
) |
| |
|
static |
Get drift volume ID from a specified cryostat/tpc pair.
- Parameters
-
driftVolumeMap | the output mapping between cryostat/tpc and drift volumes |
cstat | the input cryostat unique ID |
tpc | the input tpc unique ID |
Definition at line 116 of file LArPandoraGeometry.cxx.
◆ LoadDetectorGaps()
void lar_pandora::LArPandoraGeometry::LoadDetectorGaps |
( |
LArDetectorGapList & |
listOfGaps, |
|
|
const bool |
useActiveBoundingBox |
|
) |
| |
|
static |
Load the 2D gaps that go with the chosen geometry.
- Parameters
-
listOfGaps | the output list of 2D gaps. |
useActiveBoundingBox | when true use ActiveBoundingBox instead of the default midpoint. Meant to handle offsets and things in a better way. |
Definition at line 25 of file LArPandoraGeometry.cxx.
◆ LoadGeometry() [1/2]
void lar_pandora::LArPandoraGeometry::LoadGeometry |
( |
LArDriftVolumeList & |
driftVolumeList, |
|
|
const bool |
useActiveBoundingBox |
|
) |
| |
|
staticprivate |
This method will group TPCs into drift volumes (these are regions of the detector that share a common drift direction, common range of X coordinates, and common detector parameters such as wire pitch and wire angle).
- Parameters
-
driftVolumeList | to receive the populated drift volume list |
useActiveBoundingBox | when true use ActiveBoundingBox instead of the default midpoint. Meant to handle offsets and things in a better way. |
Definition at line 224 of file LArPandoraGeometry.cxx.
◆ LoadGeometry() [2/2]
Load drift volume geometry.
- Parameters
-
outputVolumeList | the output list of drift volumes |
outputVolumeMap | the output mapping between cryostat/tpc and drift volumes |
useActiveBoundingBox | when true use ActiveBoundingBox instead of the default midpoint. Meant to handle offsets and things in a better way. |
Definition at line 95 of file LArPandoraGeometry.cxx.
◆ LoadGlobalDaughterGeometry()
This method will create one or more daughter volumes (these share a common drift orientation along the X-axis, have parallel or near-parallel wire angles, and similar wire pitches)
- Parameters
-
driftVolumeList | to receive the input drift volume list |
parentVolumeList | to receive the output daughter drift volume list |
Definition at line 395 of file LArPandoraGeometry.cxx.
◆ ShouldSwitchUV() [1/2]
bool lar_pandora::LArPandoraGeometry::ShouldSwitchUV |
( |
const bool |
isPositiveDrift | ) |
|
|
staticprivate |
Return whether U/V should be switched in global coordinate system for this drift direction.
- Parameters
-
isPositiveDrift | the drift direction |
Definition at line 212 of file LArPandoraGeometry.cxx.
◆ ShouldSwitchUV() [2/2]
bool lar_pandora::LArPandoraGeometry::ShouldSwitchUV |
( |
const unsigned int |
cstat, |
|
|
const unsigned int |
tpc |
|
) |
| |
|
staticprivate |
Return whether U/V should be switched in global coordinate system for this cryostat/tpc.
- Parameters
-
cstat | the input cryostat |
tpc | the input tpc |
Definition at line 200 of file LArPandoraGeometry.cxx.
The documentation for this class was generated from the following files: