LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
PfoCharacterisationBaseAlgorithm class. More...
#include "PfoCharacterisationBaseAlgorithm.h"
Public Member Functions | |
PfoCharacterisationBaseAlgorithm () | |
Default constructor. More... | |
virtual | ~PfoCharacterisationBaseAlgorithm () |
Destructor. More... | |
Protected Member Functions | |
pandora::StatusCode | Run () |
virtual bool | IsClearTrack3x2D (const pandora::ParticleFlowObject *const pPfo) const |
Whether pfo is identified as a clear track using its three clusters. More... | |
virtual bool | IsClearTrack (const pandora::ParticleFlowObject *const pPfo) const =0 |
Whether pfo is identified as a clear track. More... | |
virtual bool | IsClearTrack (const pandora::Cluster *const pCluster) const =0 |
Whether cluster is identified as a clear track. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Protected Attributes | |
std::string | m_trackPfoListName |
The track pfo list name. More... | |
std::string | m_showerPfoListName |
The shower pfo list name. More... | |
pandora::StringVector | m_inputPfoListNames |
The names of the input pfo lists. More... | |
bool | m_updateClusterIds |
Whether to update daughter cluster particle id labels to match pfo id. More... | |
bool | m_postBranchAddition |
Whether to use configuration for shower clusters post branch addition. More... | |
bool | m_useThreeDInformation |
Whether to use PFO and 3D information or clusters for characterisation. More... | |
unsigned int | m_minTrackLikeViews |
The minimum number of track-like views to declare a pfo as track-like. More... | |
PfoCharacterisationBaseAlgorithm class.
Definition at line 19 of file PfoCharacterisationBaseAlgorithm.h.
lar_content::PfoCharacterisationBaseAlgorithm::PfoCharacterisationBaseAlgorithm | ( | ) |
Default constructor.
Definition at line 23 of file PfoCharacterisationBaseAlgorithm.cc.
|
virtual |
|
protectedpure virtual |
Whether pfo is identified as a clear track.
pPfo | address of the relevant pfo |
Implemented in lar_content::CutPfoCharacterisationAlgorithm, lar_content::SvmPfoCharacterisationAlgorithm, and lar_content::CheatingPfoCharacterisationAlgorithm.
Referenced by IsClearTrack3x2D(), and Run().
|
protectedpure virtual |
Whether cluster is identified as a clear track.
pCluster | address of the relevant cluster |
Implemented in lar_content::SvmPfoCharacterisationAlgorithm, lar_content::CutPfoCharacterisationAlgorithm, and lar_content::CheatingPfoCharacterisationAlgorithm.
|
protectedvirtual |
Whether pfo is identified as a clear track using its three clusters.
pPfo | address of the relevant pfo |
Definition at line 108 of file PfoCharacterisationBaseAlgorithm.cc.
References lar_content::LArClusterHelper::GetClusterHitType(), lar_content::LArPfoHelper::GetTwoDClusterList(), IsClearTrack(), and m_minTrackLikeViews.
Referenced by Run().
|
protected |
Definition at line 135 of file PfoCharacterisationBaseAlgorithm.cc.
References m_inputPfoListNames, m_minTrackLikeViews, m_showerPfoListName, m_trackPfoListName, m_updateClusterIds, and m_useThreeDInformation.
Referenced by lar_content::CutPfoCharacterisationAlgorithm::ReadSettings(), and lar_content::SvmPfoCharacterisationAlgorithm::ReadSettings().
|
protected |
Definition at line 39 of file PfoCharacterisationBaseAlgorithm.cc.
References lar_content::LArPfoHelper::GetTwoDClusterList(), IsClearTrack(), IsClearTrack3x2D(), m_inputPfoListNames, m_showerPfoListName, m_trackPfoListName, m_updateClusterIds, and m_useThreeDInformation.
|
protected |
The names of the input pfo lists.
Definition at line 66 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
The minimum number of track-like views to declare a pfo as track-like.
Definition at line 71 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by IsClearTrack3x2D(), and ReadSettings().
|
protected |
Whether to use configuration for shower clusters post branch addition.
Definition at line 69 of file PfoCharacterisationBaseAlgorithm.h.
|
protected |
The shower pfo list name.
Definition at line 65 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
The track pfo list name.
Definition at line 64 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
Whether to update daughter cluster particle id labels to match pfo id.
Definition at line 68 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
protected |
Whether to use PFO and 3D information or clusters for characterisation.
Definition at line 70 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by ReadSettings(), and Run().