APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
|
GeometryHelper class. More...
#include <GeometryHelper.h>
Static Public Member Functions | |
static pandora::StatusCode | GetClosestDistanceBetweenLines (const pandora::CartesianVector &point1, const pandora::CartesianVector &direction1, const pandora::CartesianVector &point2, const pandora::CartesianVector &direction2, float &distance) |
Get the closest distance between the two lines. More... | |
static pandora::StatusCode | GetClosestDistanceToLine (const pandora::CartesianVector &point1, const pandora::CartesianVector &direction1, const pandora::CartesianVector &point2, float &impactParameter) |
Get the closest distance between a point and a line. More... | |
static pandora::StatusCode | GetProjectionOnLine (const pandora::CartesianVector &linePoint, const pandora::CartesianVector &direction, const pandora::CartesianVector &point, pandora::CartesianVector &projection) |
Get the projection of a point on the line. More... | |
static pandora::StatusCode | GetCrossingPointsBetweenLines (const pandora::CartesianVector &point1, const pandora::CartesianVector &direction1, const pandora::CartesianVector &point2, const pandora::CartesianVector &direction2, pandora::CartesianVector &crossingPoint1, pandora::CartesianVector &crossingPoint2) |
Get the two crossing points of two lines at the closest distance approach. More... | |
static pandora::StatusCode | GetLinePlaneCrossingPoint (const pandora::CartesianVector &linePoint, const pandora::CartesianVector &lineDirection, float planeA, float planeB, float planeC, float planeD, pandora::CartesianVector &crossingPoint) |
Get the crossing point between a line and a plane in space. The equation plane is defined as : More... | |
static pandora::StatusCode | GetECalHCalEndCapGapSize (const pandora::Pandora &pandora, float &gapSize) |
Get the gap size between the ECal end cap and the HCal end cap. More... | |
static pandora::StatusCode | GetECalHCalBarrelGapSize (const pandora::Pandora &pandora, float &gapSize) |
Get the gap size between the ECal barrel and the HCal barrel. More... | |
static pandora::StatusCode | GetTrackerECalEndCapGapSize (const pandora::Pandora &pandora, float &gapSize) |
Get the gap size between the tracker and ECal end cap. More... | |
static pandora::StatusCode | GetTrackerECalBarrelGapSize (const pandora::Pandora &pandora, float &gapSize) |
Get the gap size between the tracker and ECal barrel. More... | |
static pandora::StatusCode | GetEndcapGapSeparation (const pandora::Pandora &pandora, const pandora::CaloHit *const pEcalCaloHit, const pandora::CaloHit *const pHcalCaloHit, float &gapSeparation) |
Get the gap separation in the end cap region between two calo hits. More... | |
static pandora::StatusCode | GetBarrelGapSeparation (const pandora::Pandora &pandora, const pandora::CaloHit *const pEcalCaloHit, const pandora::CaloHit *const pHcalCaloHit, float &gapSeparation) |
Get the gap separation in the barrel region between two calo hits. More... | |
static pandora::StatusCode | GetOuterNormaleVector (const pandora::Pandora &pandora, pandora::SubDetectorType type, const pandora::CartesianVector &point, pandora::CartesianVector &normaleVector) |
Get the normale vector at outer detector face in the phi region where the point is contained. More... | |
static pandora::StatusCode | GetInnerNormaleVector (const pandora::Pandora &pandora, pandora::SubDetectorType type, const pandora::CartesianVector &point, pandora::CartesianVector &normaleVector) |
Get the normale vector at inner detector face in the phi region where the point is contained. More... | |
static pandora::StatusCode | GetProjectionOnHelix (const pandora::Helix &helix, const pandora::CartesianVector &point, pandora::CartesianVector &projection) |
Get the projection of a point on the helix. More... | |
static pandora::StatusCode | GetDistanceToHelix (const pandora::Helix &helix, const pandora::CartesianVector &point, float &distanceToHelix) |
Get the distance between a point and the helix. More... | |
GeometryHelper class.
|
static |
Get the gap separation in the barrel region between two calo hits.
pandora | the pandora instance to access geometry parameters |
pEcalCaloHit | the ecal calo hit address in the barrel region |
pHcalCaloHit | the hcal calo hit address in the barrel region |
gapSeparation | the gap separation distance to receive |
|
static |
Get the closest distance between the two lines.
point1 | on the line 1 |
direction1 | of the line1 |
point2 | on the line 2 |
direction2 | of the line 2 |
the | closest distance to receive |
|
static |
Get the closest distance between a point and a line.
point1 | on the line |
direction1 | of the line |
point2 | in the space |
the | closest distance between the point and the line to receive |
|
static |
Get the two crossing points of two lines at the closest distance approach.
point1 | on the line 1 |
direction1 | of the line 1 |
point2 | on the line 2 |
direction2 | of the line 2 |
crossingPoint1 | the crossing point on the line 1 to receive |
crossingPoint2 | the crossing point on the line 2 to receive |
|
static |
Get the distance between a point and the helix.
helix | the helix to consider |
point | a point in space |
distanceToHelix | the distance to the helix to receive |
|
static |
Get the gap size between the ECal barrel and the HCal barrel.
pandora | the pandora instance to access geometry parameters |
gapSize | the gap size to receive |
|
static |
Get the gap size between the ECal end cap and the HCal end cap.
pandora | the pandora instance to access geometry parameters |
gapSize | the gap size to receive |
|
static |
Get the gap separation in the end cap region between two calo hits.
pandora | the pandora instance to access geometry parameters |
pEcalCaloHit | the ecal calo hit address in the end cap region |
pHcalCaloHit | the hcal calo hit address in the end cap region |
gapSeparation | the gap separation distance to receive |
|
static |
Get the normale vector at inner detector face in the phi region where the point is contained.
pandora | the pandora instance to access geometry parameters |
type | the sub detector type (requires access to inner symmetry order) |
point | a point in space that fixes the phi region |
normaleVector | the normal vector at the inner detector face to receive |
|
static |
Get the crossing point between a line and a plane in space. The equation plane is defined as :
P : a*x + b*y + c*z + d = 0
linePoint | a point on the line |
lineDirection | the line direction vector |
planeA | the a component in the plane equation |
planeB | the b component in the plane equation |
planeC | the c component in the plane equation |
planeD | the d component in the plane equation |
crossingPoint | the crossing point vector position to receive |
|
static |
Get the normale vector at outer detector face in the phi region where the point is contained.
pandora | the pandora instance to access geometry parameters |
type | the sub detector type (requires access to outer symetry order) |
point | a point in space that fixes the phi region |
normaleVector | the normale vector at the outer detector face to receive |
|
static |
Get the projection of a point on the helix.
helix | the helix to consider |
point | the point in space to project on the helix |
projection | the projection point to receive |
|
static |
Get the projection of a point on the line.
linePoint | on the line |
direction1 | of the line |
point | in the space |
projection | the projection vector on the line to receive |
|
static |
Get the gap size between the tracker and ECal barrel.
pandora | the pandora instance to access geometry parameters |
gapSize | the gap size to receive |
|
static |
Get the gap size between the tracker and ECal end cap.
pandora | the pandora instance to access geometry parameters |
gapSize | the gap size to receive |