Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
ConeClusterMopUpAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_CONE_CLUSTER_MOP_UP_ALGORITHM_H
9#define LAR_CONE_CLUSTER_MOP_UP_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
14
15namespace lar_content
16{
17
22{
23public:
28
29private:
30 void ClusterMopUp(const pandora::ClusterList &pfoClusters, const pandora::ClusterList &remnantClusters) const;
31
32 typedef std::pair<float, float> Coordinate;
33 typedef std::vector<Coordinate> CoordinateList;
34
43 static bool SortCoordinates(const Coordinate &lhs, const Coordinate &rhs);
44
46
47 unsigned int m_slidingFitWindow;
52};
53
54} // namespace lar_content
55
56#endif // #ifndef LAR_CONE_CLUSTER_MOP_UP_ALGORITHM_H
Header file for the algorithm class.
Header file for the cluster mop up algorithm base class.
static bool SortCoordinates(const Coordinate &lhs, const Coordinate &rhs)
Sort coordinates by increasing transverse displacement.
float m_minBoundedFraction
The minimum cluster bounded fraction for merging.
float m_maxConeLengthMultiplier
Consider hits as bound if inside cone, with projected distance less than N times cone length.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void ClusterMopUp(const pandora::ClusterList &pfoClusters, const pandora::ClusterList &remnantClusters) const
Cluster mop up for a single view. This function is responsible for instructing pandora to make cluste...
float m_showerEdgeMultiplier
Artificially tune width of shower envelope so as to make it more/less inclusive.
unsigned int m_slidingFitWindow
The layer window for the sliding linear fits.
float m_coneAngleCentile
Cluster cone angle is defined using specified centile of distribution of hit half angles.
MANAGED_CONTAINER< const Cluster * > ClusterList
StatusCode
The StatusCode enum.