LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
DlPfoCharacterisationAlgorithm class. More...
#include "DlPfoCharacterisationAlgorithm.h"
Public Member Functions | |
DlPfoCharacterisationAlgorithm () | |
Default constructor. 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... | |
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... | |
Private Member Functions | |
bool | IsClearTrack (const pandora::Cluster *const pCluster) const |
Whether cluster is identified as a clear track. More... | |
bool | IsClearTrack (const pandora::ParticleFlowObject *const pPfo) const |
Whether pfo is identified as a clear track. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
DlPfoCharacterisationAlgorithm class.
Definition at line 19 of file DlPfoCharacterisationAlgorithm.h.
lar_dl_content::DlPfoCharacterisationAlgorithm::DlPfoCharacterisationAlgorithm | ( | ) |
Default constructor.
Definition at line 24 of file DlPfoCharacterisationAlgorithm.cc.
References util::begin(), util::end(), f, lar_content::LArCaloHit::GetTrackProbability(), and pmtana::mean().
|
privatevirtual |
Whether cluster is identified as a clear track.
pCluster | address of the relevant cluster |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
|
privatevirtual |
Whether pfo is identified as a clear track.
pPfo | address of the relevant pfo |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Definition at line 68 of file DlPfoCharacterisationAlgorithm.cc.
References util::begin(), util::end(), f, lar_content::LArCaloHit::GetTrackProbability(), and pmtana::mean().
|
protectedvirtualinherited |
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(), lar_content::PfoCharacterisationBaseAlgorithm::IsClearTrack(), and lar_content::PfoCharacterisationBaseAlgorithm::m_minTrackLikeViews.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::Run().
|
private |
Definition at line 111 of file DlPfoCharacterisationAlgorithm.cc.
|
protectedinherited |
Definition at line 39 of file PfoCharacterisationBaseAlgorithm.cc.
References lar_content::LArPfoHelper::GetTwoDClusterList(), lar_content::PfoCharacterisationBaseAlgorithm::IsClearTrack(), lar_content::PfoCharacterisationBaseAlgorithm::IsClearTrack3x2D(), lar_content::PfoCharacterisationBaseAlgorithm::m_inputPfoListNames, lar_content::PfoCharacterisationBaseAlgorithm::m_showerPfoListName, lar_content::PfoCharacterisationBaseAlgorithm::m_trackPfoListName, lar_content::PfoCharacterisationBaseAlgorithm::m_updateClusterIds, and lar_content::PfoCharacterisationBaseAlgorithm::m_useThreeDInformation.
|
protectedinherited |
The names of the input pfo lists.
Definition at line 66 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings(), and lar_content::PfoCharacterisationBaseAlgorithm::Run().
|
protectedinherited |
The minimum number of track-like views to declare a pfo as track-like.
Definition at line 71 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::IsClearTrack3x2D(), and lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings().
|
protectedinherited |
Whether to use configuration for shower clusters post branch addition.
Definition at line 69 of file PfoCharacterisationBaseAlgorithm.h.
|
protectedinherited |
The shower pfo list name.
Definition at line 65 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings(), and lar_content::PfoCharacterisationBaseAlgorithm::Run().
|
protectedinherited |
The track pfo list name.
Definition at line 64 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings(), and lar_content::PfoCharacterisationBaseAlgorithm::Run().
|
protectedinherited |
Whether to update daughter cluster particle id labels to match pfo id.
Definition at line 68 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings(), and lar_content::PfoCharacterisationBaseAlgorithm::Run().
|
protectedinherited |
Whether to use PFO and 3D information or clusters for characterisation.
Definition at line 70 of file PfoCharacterisationBaseAlgorithm.h.
Referenced by lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings(), and lar_content::PfoCharacterisationBaseAlgorithm::Run().