LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
CutPfoCharacterisationAlgorithm class. More...
#include "CutPfoCharacterisationAlgorithm.h"
Public Member Functions | |
CutPfoCharacterisationAlgorithm () | |
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_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) |
Private Attributes | |
bool | m_postBranchAddition |
Whether to use configuration for shower clusters post branch addition. More... | |
unsigned int | m_slidingFitWindow |
The layer window for the sliding linear fits. More... | |
unsigned int | m_slidingShowerFitWindow |
The layer window for the sliding shower fits. More... | |
float | m_maxShowerLengthCut |
The maximum cluster length to qualify as a shower. More... | |
float | m_dTdLWidthRatioCut |
The maximum ratio of transverse fit gradient width to straight line length to qualify as a track. More... | |
float | m_vertexDistanceRatioCut |
The maximum ratio of vertex separation to straight line length to qualify as a track. More... | |
float | m_showerWidthRatioCut |
The maximum ratio of shower fit width to straight line length to qualify as a track. More... | |
CutPfoCharacterisationAlgorithm class.
Definition at line 19 of file CutPfoCharacterisationAlgorithm.h.
lar_content::CutPfoCharacterisationAlgorithm::CutPfoCharacterisationAlgorithm | ( | ) |
Default constructor.
Definition at line 24 of file CutPfoCharacterisationAlgorithm.cc.
References f, lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::TwoDSlidingFitResult::GetLayerFitResultMap(), lar_content::CutClusterCharacterisationAlgorithm::GetShowerFitWidth(), lar_content::CutClusterCharacterisationAlgorithm::GetVertexDistance(), lar_content::LArGeometryHelper::GetWireZPitch(), IsClearTrack(), m_dTdLWidthRatioCut, m_maxShowerLengthCut, m_showerWidthRatioCut, m_slidingFitWindow, m_slidingShowerFitWindow, m_vertexDistanceRatioCut, max, and min.
|
privatevirtual |
Whether cluster is identified as a clear track.
pCluster | address of the relevant cluster |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Referenced by CutPfoCharacterisationAlgorithm().
|
privatevirtual |
Whether pfo is identified as a clear track.
pPfo | address of the relevant pfo |
Implements lar_content::PfoCharacterisationBaseAlgorithm.
Definition at line 81 of file CutPfoCharacterisationAlgorithm.cc.
|
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 88 of file CutPfoCharacterisationAlgorithm.cc.
References m_dTdLWidthRatioCut, m_maxShowerLengthCut, m_postBranchAddition, m_showerWidthRatioCut, m_slidingFitWindow, m_slidingShowerFitWindow, m_vertexDistanceRatioCut, and lar_content::PfoCharacterisationBaseAlgorithm::ReadSettings().
|
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.
|
private |
The maximum ratio of transverse fit gradient width to straight line length to qualify as a track.
Definition at line 36 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().
|
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().
|
private |
The maximum cluster length to qualify as a shower.
Definition at line 35 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().
|
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().
|
private |
Whether to use configuration for shower clusters post branch addition.
Definition at line 32 of file CutPfoCharacterisationAlgorithm.h.
Referenced by ReadSettings().
|
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().
|
private |
The maximum ratio of shower fit width to straight line length to qualify as a track.
Definition at line 38 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().
|
private |
The layer window for the sliding linear fits.
Definition at line 33 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().
|
private |
The layer window for the sliding shower fits.
Definition at line 34 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().
|
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().
|
private |
The maximum ratio of vertex separation to straight line length to qualify as a track.
Definition at line 37 of file CutPfoCharacterisationAlgorithm.h.
Referenced by CutPfoCharacterisationAlgorithm(), and ReadSettings().