LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
UnambiguousDeltaRayTool class. More...
#include "UnambiguousDeltaRayTool.h"
Public Types | |
typedef ThreeViewDeltaRayMatchingAlgorithm::MatchingType::TensorType | TensorType |
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
UnambiguousDeltaRayTool () | |
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) |
bool | ExamineUnambiguousElements (TensorType::ElementList &elementList) |
Create delta ray pfos out of unambiguous (1:1:1) matches that are connected to a parent cosmic ray. More... | |
bool | IsConnected (const TensorType::Element &element) const |
Determine whether the clusters of an element are connected to a cosmic ray pfo. More... | |
Private Attributes | |
float | m_maxSeparation |
The maximum separation between a connected delta ray cluster and a cosmic ray cluster. More... | |
unsigned int | m_minNConnectedClusters |
The threshold number of connected delta ray clusters required for particle creation. More... | |
UnambiguousDeltaRayTool class.
Definition at line 18 of file UnambiguousDeltaRayTool.h.
|
inherited |
Definition at line 102 of file ThreeViewDeltaRayMatchingAlgorithm.h.
|
inherited |
Definition at line 101 of file ThreeViewDeltaRayMatchingAlgorithm.h.
lar_content::UnambiguousDeltaRayTool::UnambiguousDeltaRayTool | ( | ) |
Default constructor.
Definition at line 21 of file UnambiguousDeltaRayTool.cc.
|
private |
Create delta ray pfos out of unambiguous (1:1:1) matches that are connected to a parent cosmic ray.
elementList | the tensor element list |
Definition at line 44 of file UnambiguousDeltaRayTool.cc.
References lar_content::NViewDeltaRayMatchingAlgorithm< T >::CreatePfos(), IsConnected(), lar_content::ProtoParticle::m_clusterList, and lar_content::DeltaRayTensorTool::m_pParentAlgorithm.
Referenced by Run().
|
private |
Determine whether the clusters of an element are connected to a cosmic ray pfo.
elementList | the tensor element |
Definition at line 65 of file UnambiguousDeltaRayTool.cc.
References lar_content::LArClusterHelper::GetClosestDistance(), lar_content::LArPfoHelper::GetClusters(), m_maxSeparation, and m_minNConnectedClusters.
Referenced by ExamineUnambiguousElements().
|
private |
Definition at line 93 of file UnambiguousDeltaRayTool.cc.
References m_maxSeparation, and m_minNConnectedClusters.
|
privatevirtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
Implements lar_content::DeltaRayTensorTool.
Definition at line 29 of file UnambiguousDeltaRayTool.cc.
References ExamineUnambiguousElements(), lar_content::OverlapTensor< T >::GetUnambiguousElements(), and lar_content::DeltaRayTensorTool::m_pParentAlgorithm.
|
private |
The maximum separation between a connected delta ray cluster and a cosmic ray cluster.
Definition at line 48 of file UnambiguousDeltaRayTool.h.
Referenced by IsConnected(), and ReadSettings().
|
private |
The threshold number of connected delta ray clusters required for particle creation.
Definition at line 49 of file UnambiguousDeltaRayTool.h.
Referenced by IsConnected(), and ReadSettings().
|
inherited |
Address of the parent matching algorithm.
Definition at line 114 of file ThreeViewDeltaRayMatchingAlgorithm.h.
Referenced by lar_content::CosmicRayRemovalTool::CreateSeed(), lar_content::AmbiguousDeltaRayTool::ExamineConnectedElements(), 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(), lar_content::AmbiguousDeltaRayTool::Run(), Run(), lar_content::DeltaRayMergeTool::Run(), lar_content::DeltaRayRemovalTool::Run(), lar_content::CosmicRayRemovalTool::Run(), lar_content::CosmicRayRemovalTool::SplitDeltaRayCluster(), and lar_content::DeltaRayRemovalTool::SplitMuonCluster().