![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
LArVertexHelper class. More...
#include "LArVertexHelper.h"
Public Types | |
| enum | ClusterDirection { DIRECTION_FORWARD_IN_Z, DIRECTION_BACKWARD_IN_Z, DIRECTION_UNKNOWN } |
Static Public Member Functions | |
| static ClusterDirection | GetClusterDirectionInZ (const pandora::Pandora &pandora, const pandora::Vertex *const pVertex, const pandora::Cluster *const pCluster, const float tanAngle, const float apexShift) |
| Get the direction of the cluster in z, using a projection of the provided vertex. More... | |
| static bool | IsInFiducialVolume (const pandora::Pandora &pandora, const pandora::CartesianVector &vertex, const std::string &detector) |
| Determine if a vertex is within a detector's fiducial volume. This throws a STATUS_CODE_INVALID_PARAMETER exception if the detector is not recognised. More... | |
| static void | GetTrueVertexPosition (const pandora::CartesianVector &vertex, float &x, float &y, float &z) |
| Retrieve the true neutrino vertex position. More... | |
| static void | GetTrueVertexPosition (const pandora::CartesianVector &vertex, const pandora::LArTransformationPlugin *const pTransform, float &x, float &u, float &v, float &w) |
| Retrieve the true neutrino vertex position. More... | |
LArVertexHelper class.
Definition at line 22 of file LArVertexHelper.h.
ClusterDirection enumeration
| Enumerator | |
|---|---|
| DIRECTION_FORWARD_IN_Z | |
| DIRECTION_BACKWARD_IN_Z | |
| DIRECTION_UNKNOWN | |
Definition at line 28 of file LArVertexHelper.h.
|
static |
Get the direction of the cluster in z, using a projection of the provided vertex.
| pandora | the pandora instance |
| pVertex | the address of the vertex |
| pCluster | the address of the cluster |
| tanAngle | look for vertex inside triangle with apex shifted along the cluster length |
| apexShift | look for vertex inside triangle with apex shifted along the cluster length |
Definition at line 25 of file LArVertexHelper.cc.
References lar_content::LArPointingCluster::GetInnerVertex(), lar_content::LArPointingCluster::GetOuterVertex(), and lar_content::LArPointingCluster::Vertex::GetPosition().
Referenced by lar_content::ShowerGrowingAlgorithm::AreClustersAssociated(), and lar_content::VertexBasedPfoMopUpAlgorithm::GetClusterAssociation().
|
static |
Retrieve the true neutrino vertex position.
| vertex | The cartesian vector containing the 3D vertex position |
| x | The output x coordinate |
| u | The output y coordinate |
| v | The output z coordinate |
|
static |
Retrieve the true neutrino vertex position.
| vertex | The cartesian vector containing the 3D vertex position |
| x | The output drift coordinate |
| u | The output channel coordinate in the U plane |
| v | The output channel coordinate in the V plane |
| w | The output channel coordinate in the W plane |
|
static |
Determine if a vertex is within a detector's fiducial volume. This throws a STATUS_CODE_INVALID_PARAMETER exception if the detector is not recognised.
| pandora | The Pandora instance |
| vertex | The vertex to check |
| detector | The string describing the detector of interest DUNEFD HD: dune_fd_hd |
Definition at line 67 of file LArVertexHelper.cc.
Referenced by lar_content::VertexMonitoringAlgorithm::AssessVertices(), and lar_content::HierarchyValidationAlgorithm::Run().