LArVertexHelper.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArHelpers/LArVertexHelper.h
3  *
4  * @brief Header file for the vertex helper class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_VERTEX_HELPER_H
9 #define LAR_VERTEX_HELPER_H 1
10 
11 #include "Objects/Cluster.h"
12 #include "Objects/Vertex.h"
13 
14 namespace lar_content
15 {
16 
17 /**
18  * @brief LArVertexHelper class
19  */
21 {
22 public:
23  /**
24  * ClusterDirection enumeration
25  */
27  {
31  };
32 
33  /**
34  * @brief Get the direction of the cluster in z, using a projection of the provided vertex
35  *
36  * @param pandora the pandora instance
37  * @param pVertex the address of the vertex
38  * @param pCluster the address of the cluster
39  * @param tanAngle look for vertex inside triangle with apex shifted along the cluster length
40  * @param apexShift look for vertex inside triangle with apex shifted along the cluster length
41  *
42  * @return the cluster direction in z
43  */
44  static ClusterDirection GetClusterDirectionInZ(const pandora::Pandora &pandora, const pandora::Vertex *const pVertex,
45  const pandora::Cluster *const pCluster, const float tanAngle, const float apexShift);
46 };
47 
48 } // namespace lar_content
49 
50 #endif // #ifndef LAR_VERTEX_HELPER_H
LArVertexHelper class.
boost::graph_traits< ModuleGraph >::vertex_descriptor Vertex
Definition: ModuleGraph.h:25
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. ...