LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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... | |
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 21 of file LArVertexHelper.cc.
References lar_content::LArPointingCluster::GetInnerVertex(), lar_content::LArPointingCluster::GetOuterVertex(), lar_content::LArPointingCluster::Vertex::GetPosition(), and max.
Referenced by lar_content::ShowerGrowingAlgorithm::AreClustersAssociated(), and lar_content::VertexBasedPfoMopUpAlgorithm::GetClusterAssociation().