LArStitchingHelper class. More...
#include <LArStitchingHelper.h>
Static Public Member Functions | |
static const pandora::LArTPC & | FindClosestTPC (const pandora::Pandora &pandora, const pandora::LArTPC &inputTPC, const bool checkPositive) |
Find closest tpc to a specified input tpc. More... | |
static bool | CanTPCsBeStitched (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Whether particles from a given pair of tpcs can be stitched together. More... | |
static bool | AreTPCsAdjacent (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Whether a pair of drift volumes are adjacent to each other. More... | |
static bool | AreTPCsAdjacent (const pandora::Pandora &pandora, const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Whether a pair of drift volumes are adjacent to each other. More... | |
static float | GetTPCBoundaryCenterX (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Determine centre in X at the boundary between a pair of tpcs. More... | |
static float | GetTPCBoundaryWidthX (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Determine width in X at the boundary between a pair of tpcs. More... | |
static float | GetTPCDisplacement (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC) |
Calculate distance between central positions of a pair of tpcs. More... | |
static void | GetClosestVertices (const pandora::LArTPC &larTPC1, const pandora::LArTPC &larTPC2, const LArPointingCluster &pointingCluster1, const LArPointingCluster &pointingCluster2, LArPointingCluster::Vertex &closestVertex1, LArPointingCluster::Vertex &closestVertex2) |
Given a pair of pointing clusters, find the pair of vertices with smallest yz-separation. More... | |
static float | CalculateX0 (const pandora::LArTPC &firstTPC, const pandora::LArTPC &secondTPC, const LArPointingCluster::Vertex &firstVertex, const LArPointingCluster::Vertex &secondVertex) |
Calculate X0 for a pair of vertices. More... | |
static bool | SortTPCs (const pandora::LArTPC *const pLhs, const pandora::LArTPC *const pRhs) |
Sort tpcs by central positions. More... | |
static bool | HasPfoBeenStitched (const pandora::ParticleFlowObject *const pPfo) |
Whether a pfo has been stitched. More... | |
static float | GetPfoX0 (const pandora::ParticleFlowObject *const pPfo) |
Return the x0 for a pfo. More... | |
LArStitchingHelper class.
Definition at line 23 of file LArStitchingHelper.h.
|
static |
Whether a pair of drift volumes are adjacent to each other.
firstTPC | the first tpc |
secondTPC | the second tpc |
|
static |
Whether a pair of drift volumes are adjacent to each other.
pandora | the pandora stitching instance |
firstTPC | the first tpc |
secondTPC | the second tpc |
|
static |
Calculate X0 for a pair of vertices.
firstTPC | the first tpc |
secondTPC | the second tpc |
firstVertex | the relevant vertex from the first pointing cluster |
secondVertex | the relevant vertex from the second pointing cluster |
Definition at line 231 of file LArStitchingHelper.cc.
|
static |
Whether particles from a given pair of tpcs can be stitched together.
firstTPC | the first tpc |
secondTPC | the second tpc |
Definition at line 69 of file LArStitchingHelper.cc.
|
static |
Find closest tpc to a specified input tpc.
pandora | the pandora stitching instance |
inputTPC | the specified drift volume |
checkPositive | look in higher (lower) x positions if this is set to true (false) |
Definition at line 23 of file LArStitchingHelper.cc.
|
static |
Given a pair of pointing clusters, find the pair of vertices with smallest yz-separation.
larTPC1 | the first tpc |
larTPC2 | the second tpc |
pointingCluster1 | the pointing cluster in the first tpc |
pointingCluster2 | the pointing cluster in the second tpc |
closestVertex1 | to receive the relevant vertex from the first pointing cluster |
closestVertex2 | to receive the relevant vertex from the second pointing cluster |
Definition at line 178 of file LArStitchingHelper.cc.
|
static |
Return the x0 for a pfo.
pPfo | the address of the Pfo |
Definition at line 305 of file LArStitchingHelper.cc.
|
static |
Determine centre in X at the boundary between a pair of tpcs.
firstTPC | the first tpc |
secondTPC | the second tpc |
Definition at line 133 of file LArStitchingHelper.cc.
|
static |
Determine width in X at the boundary between a pair of tpcs.
firstTPC | the first tpc |
secondTPC | the second tpc |
Definition at line 150 of file LArStitchingHelper.cc.
|
static |
Calculate distance between central positions of a pair of tpcs.
firstTPC | the first tpc |
secondTPC | the second tpc |
Definition at line 167 of file LArStitchingHelper.cc.
|
static |
Whether a pfo has been stitched.
pPfo | the address of the Pfo |
Definition at line 292 of file LArStitchingHelper.cc.
|
static |
Sort tpcs by central positions.
pLhs | address of first tpc |
pRhs | address of second tpc |
Definition at line 279 of file LArStitchingHelper.cc.