Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
PfoCharacterisationBaseAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_PFO_CHARACTERISATION_BASE_ALGORITHM_H
9#define LAR_PFO_CHARACTERISATION_BASE_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
13namespace lar_content
14{
15
20{
21public:
26
31
32protected:
34
42 virtual bool IsClearTrack3x2D(const pandora::ParticleFlowObject *const pPfo) const;
43
51 virtual bool IsClearTrack(const pandora::ParticleFlowObject *const pPfo) const = 0;
52
60 virtual bool IsClearTrack(const pandora::Cluster *const pCluster) const = 0;
61
63
64 std::string m_trackPfoListName;
65 std::string m_showerPfoListName;
67
71 unsigned int m_minTrackLikeViews;
72};
73
74} // namespace lar_content
75
76#endif // #ifndef LAR_PFO_CHARACTERISATION_BASE_ALGORITHM_H
Header file for the algorithm class.
virtual bool IsClearTrack3x2D(const pandora::ParticleFlowObject *const pPfo) const
Whether pfo is identified as a clear track using its three clusters.
virtual bool IsClearTrack(const pandora::ParticleFlowObject *const pPfo) const =0
Whether pfo is identified as a clear track.
pandora::StringVector m_inputPfoListNames
The names of the input pfo lists.
bool m_updateClusterIds
Whether to update daughter cluster particle id labels to match pfo id.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
virtual bool IsClearTrack(const pandora::Cluster *const pCluster) const =0
Whether cluster is identified as a clear track.
bool m_useThreeDInformation
Whether to use PFO and 3D information or clusters for characterisation.
unsigned int m_minTrackLikeViews
The minimum number of track-like views to declare a pfo as track-like.
bool m_postBranchAddition
Whether to use configuration for shower clusters post branch addition.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
Cluster class.
Definition Cluster.h:31
ParticleFlowObject class.
std::vector< std::string > StringVector
StatusCode
The StatusCode enum.