LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
LArVertexHelper.h
Go to the documentation of this file.
1 
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 
21 {
22 public:
27  {
31  };
32 
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 
58  static bool IsInFiducialVolume(const pandora::Pandora &pandora, const pandora::CartesianVector &vertex, const std::string &detector);
59 };
60 
61 } // namespace lar_content
62 
63 #endif // #ifndef LAR_VERTEX_HELPER_H
LArVertexHelper class.
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_PARAM...
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. ...
vertex reconstruction