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... | |
LArVertexHelper class.
Definition at line 20 of file LArVertexHelper.h.
ClusterDirection enumeration
Enumerator | |
---|---|
DIRECTION_FORWARD_IN_Z | |
DIRECTION_BACKWARD_IN_Z | |
DIRECTION_UNKNOWN |
Definition at line 26 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.
|
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.