LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
AmbiguousDeltaRayTool class. More...
#include "AmbiguousDeltaRayTool.h"
Public Types | |
typedef ThreeViewDeltaRayMatchingAlgorithm::MatchingType::TensorType | TensorType |
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
AmbiguousDeltaRayTool () | |
Default constructor. More... | |
Public Attributes | |
ThreeViewDeltaRayMatchingAlgorithm * | m_pParentAlgorithm |
Address of the parent matching algorithm. More... | |
Private Member Functions | |
bool | Run (ThreeViewDeltaRayMatchingAlgorithm *const pAlgorithm, TensorType &overlapTensor) |
Run the algorithm tool. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | ExamineConnectedElements (TensorType &overlapTensor) const |
Identify ambiguous matches (e.g. 3:2:1) and, if possible, create pfos out of the best 1:1:1 cluster match. More... | |
void | PickOutGoodMatches (const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters, ProtoParticleVector &protoParticleVector) const |
Identify the best 1:1:1 match in a group of connected elements and from it create a pfo. More... | |
Private Attributes | |
float | m_maxGoodMatchReducedChiSquared |
The maximum reduced chi squared value of a good 1:1:1 match. More... | |
AmbiguousDeltaRayTool class.
Definition at line 18 of file AmbiguousDeltaRayTool.h.
|
inherited |
Definition at line 102 of file ThreeViewDeltaRayMatchingAlgorithm.h.
|
inherited |
Definition at line 101 of file ThreeViewDeltaRayMatchingAlgorithm.h.
lar_content::AmbiguousDeltaRayTool::AmbiguousDeltaRayTool | ( | ) |
Default constructor.
Definition at line 18 of file AmbiguousDeltaRayTool.cc.
|
private |
Identify ambiguous matches (e.g. 3:2:1) and, if possible, create pfos out of the best 1:1:1 cluster match.
overlapTensor | the overlap tensor |
Definition at line 40 of file AmbiguousDeltaRayTool.cc.
References lar_content::NViewDeltaRayMatchingAlgorithm< T >::CreatePfos(), lar_content::OverlapTensor< T >::GetConnectedElements(), lar_content::OverlapTensor< T >::GetSortedKeyClusters(), lar_content::DeltaRayTensorTool::m_pParentAlgorithm, and PickOutGoodMatches().
Referenced by Run().
|
private |
Identify the best 1:1:1 match in a group of connected elements and from it create a pfo.
elementList | the tensor element list |
usedClusters | the output list of clusters contained within to be created pfos |
protoParticleVector | the output vector of ProtoParticles |
Definition at line 72 of file AmbiguousDeltaRayTool.cc.
References lar_content::ProtoParticle::m_clusterList, and m_maxGoodMatchReducedChiSquared.
Referenced by ExamineConnectedElements().
|
private |
Definition at line 127 of file AmbiguousDeltaRayTool.cc.
References m_maxGoodMatchReducedChiSquared.
|
privatevirtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
Implements lar_content::DeltaRayTensorTool.
Definition at line 25 of file AmbiguousDeltaRayTool.cc.
References ExamineConnectedElements(), and lar_content::DeltaRayTensorTool::m_pParentAlgorithm.
|
private |
The maximum reduced chi squared value of a good 1:1:1 match.
Definition at line 46 of file AmbiguousDeltaRayTool.h.
Referenced by PickOutGoodMatches(), and ReadSettings().
|
inherited |
Address of the parent matching algorithm.
Definition at line 114 of file ThreeViewDeltaRayMatchingAlgorithm.h.
Referenced by lar_content::CosmicRayRemovalTool::CreateSeed(), ExamineConnectedElements(), lar_content::UnambiguousDeltaRayTool::ExamineUnambiguousElements(), lar_content::CosmicRayRemovalTool::GrowSeed(), lar_content::DeltaRayRemovalTool::IsContaminated(), lar_content::CosmicRayRemovalTool::IsContaminated(), lar_content::RemovalBaseTool::IsMuonEndpoint(), lar_content::DeltaRayMergeTool::MakeOneCommonViewMerges(), lar_content::DeltaRayMergeTool::MakeTwoCommonViewMerges(), lar_content::RemovalBaseTool::PassElementChecks(), lar_content::RemovalBaseTool::ProjectDeltaRayPositions(), lar_content::CosmicRayRemovalTool::ReclusterRemnant(), lar_content::DeltaRayRemovalTool::RemoveDeltaRayHits(), Run(), lar_content::UnambiguousDeltaRayTool::Run(), lar_content::DeltaRayMergeTool::Run(), lar_content::DeltaRayRemovalTool::Run(), lar_content::CosmicRayRemovalTool::Run(), lar_content::CosmicRayRemovalTool::SplitDeltaRayCluster(), and lar_content::DeltaRayRemovalTool::SplitMuonCluster().