LArGeometryHelper class. More...
#include <LArGeometryHelper.h>
Public Types | |
| typedef std::set< unsigned int > | UIntSet |
Static Public Member Functions | |
| static float | MergeTwoPositions (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const float position1, const float position2) |
| Merge two views (U,V) to give a third view (Z). More... | |
| static pandora::CartesianVector | MergeTwoDirections (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::CartesianVector &direction1, const pandora::CartesianVector &direction2) |
| Merge two views (U,V) to give a third view (Z). More... | |
| static void | MergeTwoPositions (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::CartesianVector &position1, const pandora::CartesianVector &position2, pandora::CartesianVector &position3, float &chiSquared) |
| Merge 2D positions from two views to give 2D position in third view. More... | |
| static void | MergeTwoPositions (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::CartesianVector &position1, const pandora::CartesianVector &position2, pandora::CartesianVector &outputU, pandora::CartesianVector &outputV, pandora::CartesianVector &outputW, float &chiSquared) |
| Merge 2D positions from two views to give 2D position in third view. More... | |
| static void | MergeThreePositions (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::HitType view3, const pandora::CartesianVector &position1, const pandora::CartesianVector &position2, const pandora::CartesianVector &position3, pandora::CartesianVector &outputU, pandora::CartesianVector &outputV, pandora::CartesianVector &outputW, float &chiSquared) |
| Merge 2D positions from three views to give unified 2D positions for each view. More... | |
| static void | MergeThreePositions (const pandora::Pandora &pandora, const pandora::CartesianVector &positionU, const pandora::CartesianVector &positionV, const pandora::CartesianVector &positionW, pandora::CartesianVector &outputU, pandora::CartesianVector &outputV, pandora::CartesianVector &outputW, float &chiSquared) |
| Merge 2D positions from three views to give unified 2D positions for each view. More... | |
| static void | MergeTwoPositions3D (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::CartesianVector &position1, const pandora::CartesianVector &position2, pandora::CartesianVector &position3D, float &chiSquared) |
| Merge 2D positions from two views to give unified 3D position. More... | |
| static void | MergeThreePositions3D (const pandora::Pandora &pandora, const pandora::HitType view1, const pandora::HitType view2, const pandora::HitType view3, const pandora::CartesianVector &position1, const pandora::CartesianVector &position2, const pandora::CartesianVector &position3, pandora::CartesianVector &position3D, float &chiSquared) |
| Merge 2D positions from three views to give unified 3D position. More... | |
| static pandora::CartesianVector | ProjectPosition (const pandora::Pandora &pandora, const pandora::CartesianVector &position3D, const pandora::HitType view) |
| Project 3D position into a given 2D view. More... | |
| static pandora::CartesianVector | ProjectDirection (const pandora::Pandora &pandora, const pandora::CartesianVector &direction3D, const pandora::HitType view) |
| Project 3D direction into a given 2D view. More... | |
| static float | GetWireZPitch (const pandora::Pandora &pandora, const float maxWirePitchDiscrepancy=0.01) |
| Return the wire pitch. More... | |
| static float | GetWirePitch (const pandora::Pandora &pandora, const pandora::HitType view, const float maxWirePitchDiscrepancy=0.01) |
| Return the wire pitch. More... | |
| static pandora::CartesianVector | GetWireAxis (const pandora::Pandora &pandora, const pandora::HitType view) |
| Return the wire axis (vector perpendicular to the wire direction and drift direction) More... | |
| static bool | IsInGap (const pandora::Pandora &pandora, const pandora::CartesianVector &testPoint2D, const pandora::HitType hitType, const float gapTolerance=0.f) |
| Whether a 2D test point lies in a registered gap with the associated hit type. More... | |
| static bool | IsInGap3D (const pandora::Pandora &pandora, const pandora::CartesianVector &testPoint3D, const pandora::HitType hitType, const float gapTolerance=0.f) |
| Whether a 3D test point lies in a registered gap with the associated hit type. More... | |
| static bool | IsXSamplingPointInGap (const pandora::Pandora &pandora, const float xSample, const TwoDSlidingFitResult &slidingFitResult, const float gapTolerance=0.f) |
| Whether there is a gap in a cluster (described via its sliding fit result) at a specified x sampling position. More... | |
| static float | CalculateGapDeltaZ (const pandora::Pandora &pandora, const float minZ, const float maxZ, const pandora::HitType hitType) |
| Calculate the total distance within a given 2D region that is composed of detector gaps. More... | |
| static float | GetSigmaUVW (const pandora::Pandora &pandora, const float maxSigmaDiscrepancy=0.01) |
| Find the sigmaUVW value for the detector geometry. More... | |
| static void | GetCommonDaughterVolumes (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, UIntSet &intersect) |
| Return the set of common daughter volumes between two 2D clusters. More... | |
LArGeometryHelper class.
Definition at line 33 of file LArGeometryHelper.h.
| typedef std::set<unsigned int> lar_content::LArGeometryHelper::UIntSet |
Definition at line 36 of file LArGeometryHelper.h.
|
static |
Calculate the total distance within a given 2D region that is composed of detector gaps.
| pandora | the associated pandora instance |
| minZ | the start position in Z |
| maxZ | the end position in Z |
| hitType | the hit type |
Definition at line 509 of file LArGeometryHelper.cc.
|
static |
Return the set of common daughter volumes between two 2D clusters.
| intersect | the set of shared daughter volumes |
| pCluster1 | the first cluster |
| pCluster2 | the second cluster |
Definition at line 436 of file LArGeometryHelper.cc.
|
static |
Find the sigmaUVW value for the detector geometry.
| pandora | the associated pandora instance |
| maxSigmaDiscrepancy | maximum allowed discrepancy between lar tpc sigmaUVW values |
Definition at line 546 of file LArGeometryHelper.cc.
|
static |
Return the wire axis (vector perpendicular to the wire direction and drift direction)
| pandora | the associated pandora instance |
| view | the 2D projection |
Definition at line 411 of file LArGeometryHelper.cc.
|
static |
Return the wire pitch.
| pandora | the associated pandora instance |
| view | the 2D projection |
| maxWirePitchDiscrepancy | maximum allowed discrepancy between lar tpc wire pitch values |
Definition at line 376 of file LArGeometryHelper.cc.
|
inlinestatic |
Return the wire pitch.
| pandora | the associated pandora instance |
| maxWirePitchDiscrepancy | maximum allowed discrepancy between lar tpc wire pitch value in the w view |
Definition at line 273 of file LArGeometryHelper.h.
|
static |
Whether a 2D test point lies in a registered gap with the associated hit type.
| pandora | the associated pandora instance |
| testPoint | the test point |
| hitType | the hit type |
| gapTolerance | the gap tolerance |
Definition at line 449 of file LArGeometryHelper.cc.
|
static |
Whether a 3D test point lies in a registered gap with the associated hit type.
| pandora | the associated pandora instance |
| testPoint | the test point |
| hitType | the hit type |
| gapTolerance | the gap tolerance |
Definition at line 463 of file LArGeometryHelper.cc.
|
static |
Whether there is a gap in a cluster (described via its sliding fit result) at a specified x sampling position.
| pandora | the associated pandora instance |
| xSample | the x sampling position |
| slidingFitResult | the sliding fit result for a cluster |
| gapTolerance | the gap tolerance |
Definition at line 471 of file LArGeometryHelper.cc.
|
static |
Merge 2D positions from three views to give unified 2D positions for each view.
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| view3 | the third view |
| position1 | the position in the first view |
| position2 | the position in the second view |
| position3 | the position in the third view |
| positionU | output position in the U view |
| positionV | output position in the V view |
| positionW | output position in the W view |
| chi-squared |
|
static |
Merge 2D positions from three views to give unified 2D positions for each view.
| pandora | the associated pandora instance |
| positionU | input position in the U view |
| positionV | input position in the V view |
| positionW | input position in the W view |
| positionU | output position in the U view |
| positionV | output position in the V view |
| positionW | output position in the W view |
| chi-squared |
|
static |
Merge 2D positions from three views to give unified 3D position.
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| view3 | the third view |
| position1 | the position in the first view |
| position2 | the position in the second view |
| position3 | the position in the third view |
| position3D | output position in 3D |
| chi-squared |
Definition at line 311 of file LArGeometryHelper.cc.
|
static |
Merge two views (U,V) to give a third view (Z).
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| direction1 | the direction in the first view |
| direction2 | the direction in the second view |
Definition at line 71 of file LArGeometryHelper.cc.
|
static |
Merge two views (U,V) to give a third view (Z).
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| position1 | the position in the first view |
| position2 | the position in the second view |
|
static |
Merge 2D positions from two views to give 2D position in third view.
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| position1 | the position in the first view |
| position2 | the position in the second view |
| position3 | output position in the third view |
| chi-squared |
|
static |
Merge 2D positions from two views to give 2D position in third view.
| view1 | the first view |
| view2 | the second view |
| position1 | the position in the first view |
| position2 | the position in the second view |
| positionU | output position in the U view |
| positionV | output position in the V view |
| positionW | output position in the W view |
| chi-squared |
|
static |
Merge 2D positions from two views to give unified 3D position.
| pandora | the associated pandora instance |
| view1 | the first view |
| view2 | the second view |
| position1 | the position in the first view |
| position2 | the position in the second view |
| position3D | output position in 3D |
| chi-squared |
Definition at line 299 of file LArGeometryHelper.cc.
|
static |
Project 3D direction into a given 2D view.
| pandora | the associated pandora instance |
| direction3D | the direction in 3D |
| view | the 2D projection |
Definition at line 348 of file LArGeometryHelper.cc.
|
static |
Project 3D position into a given 2D view.
| pandora | the associated pandora instance |
| position3D | the position in 3D |
| view | the 2D projection |
Definition at line 323 of file LArGeometryHelper.cc.
1.8.5