MissingTrackSegmentTool class.
More...
#include "MissingTrackSegmentTool.h"
|
typedef ThreeViewTransverseTracksAlgorithm::MatchingType::TensorType | TensorType |
|
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
|
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
void | FindTracks (ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector, ClusterMergeMap &clusterMergeMap) const |
| Find remaining tracks, hidden by missing track segments (and maybe other ambiguities) in the tensor.
|
|
void | SelectElements (const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, IteratorList &iteratorList) const |
| Select a list of the relevant elements from a set of connected tensor elements.
|
|
bool | PassesParticleChecks (ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const TensorType::Element &element, pandora::ClusterSet &usedClusters, ClusterMergeMap &clusterMergeMap) const |
| Whether a provided tensor element can be used to construct a pfo.
|
|
void | GetCandidateClusters (ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const Particle &particle, pandora::ClusterList &candidateClusters) const |
| Get a list of candidate clusters, which may represent missing track segments for a provided particle.
|
|
void | GetSlidingFitResultMap (ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const pandora::ClusterList &candidateClusterList, TwoDSlidingFitResultMap &slidingFitResultMap) const |
| Get a sliding fit result map for the list of candidate clusters.
|
|
void | GetSegmentOverlapMap (ThreeViewTransverseTracksAlgorithm *const pAlgorithm, const Particle &particle, const TwoDSlidingFitResultMap &slidingFitResultMap, SegmentOverlapMap &segmentOverlapMap) const |
| Get a segment overlap map, describing overlap between a provided particle and all clusters in a sliding fit result map.
|
|
bool | MakeDecisions (const Particle &particle, const TwoDSlidingFitResultMap &slidingFitResultMap, const SegmentOverlapMap &segmentOverlapMap, pandora::ClusterSet &usedClusters, ClusterMergeMap &clusterMergeMap) const |
| Make decisions about whether to create a pfo for a provided particle and whether to make cluster merges.
|
|
bool | PassesSamplingCuts (const SegmentOverlap &segmentOverlap) const |
| Whether the segment overlap object passes cuts on matched sampling points, etc.
|
|
bool | IsPossibleMerge (const pandora::Cluster *const pCluster, const Particle &particle, const SegmentOverlap &segmentOverlap, const TwoDSlidingFitResultMap &slidingFitResultMap) const |
| Whether the cluster could be merged with the candidate particle.
|
|
◆ ClusterMergeMap
◆ IteratorList
◆ SegmentOverlapMap
◆ TensorType
◆ MissingTrackSegmentTool()
lar_content::MissingTrackSegmentTool::MissingTrackSegmentTool |
( |
| ) |
|
◆ FindTracks()
Find remaining tracks, hidden by missing track segments (and maybe other ambiguities) in the tensor.
- Parameters
-
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
protoParticleVector | to receive the list of proto particles |
clusterMergeMap | to receive the cluster merge map |
Definition at line 61 of file MissingTrackSegmentTool.cc.
◆ GetCandidateClusters()
Get a list of candidate clusters, which may represent missing track segments for a provided particle.
- Parameters
-
pAlgorithm | address of the calling algorithm |
particle | the particle |
candidateClusters | to receive the list of candidate clusters |
Definition at line 175 of file MissingTrackSegmentTool.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetSegmentOverlapMap()
Get a segment overlap map, describing overlap between a provided particle and all clusters in a sliding fit result map.
- Parameters
-
pAlgorithm | address of the calling algorithm |
particle | the particle |
slidingFitResultMap | the sliding fit result map |
segmentOverlapMap | to receive the segment overlap map |
Definition at line 229 of file MissingTrackSegmentTool.cc.
◆ GetSlidingFitResultMap()
Get a sliding fit result map for the list of candidate clusters.
- Parameters
-
pAlgorithm | address of the calling algorithm |
candidateClusters | the list of candidate clusters |
slidingFitResultMap | to receive the sliding fit result map |
Definition at line 196 of file MissingTrackSegmentTool.cc.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ IsPossibleMerge()
Whether the cluster could be merged with the candidate particle.
- Parameters
-
pCluster | address of the cluster |
particle | the particle |
segmentOverlap | the segment overlap |
slidingFitResultMap | the sliding fit result map |
- Returns
- boolean
Definition at line 358 of file MissingTrackSegmentTool.cc.
◆ MakeDecisions()
Make decisions about whether to create a pfo for a provided particle and whether to make cluster merges.
- Parameters
-
particle | the particle |
slidingFitResultMap | the sliding fit result map |
segmentOverlapMap | the segment overlap map |
usedClusters | the list of used clusters |
clusterMergeMap | to receive details of cluster merges clusterMergeMap |
- Returns
- whether to make the particle
Definition at line 293 of file MissingTrackSegmentTool.cc.
◆ PassesParticleChecks()
Whether a provided tensor element can be used to construct a pfo.
- Parameters
-
pAlgorithm | address of the calling algorithm |
element | the tensor element |
usedClusters | the list of used clusters |
clusterMergeMap | to receive the cluster merge map |
Definition at line 140 of file MissingTrackSegmentTool.cc.
◆ PassesSamplingCuts()
bool lar_content::MissingTrackSegmentTool::PassesSamplingCuts |
( |
const SegmentOverlap & |
segmentOverlap | ) |
const |
|
private |
Whether the segment overlap object passes cuts on matched sampling points, etc.
- Parameters
-
segmentOverlap | the segment overlap |
- Returns
- boolean
Definition at line 342 of file MissingTrackSegmentTool.cc.
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
◆ SelectElements()
void lar_content::MissingTrackSegmentTool::SelectElements |
( |
const TensorType::ElementList & |
elementList, |
|
|
const pandora::ClusterSet & |
usedClusters, |
|
|
IteratorList & |
iteratorList |
|
) |
| const |
|
private |
Select a list of the relevant elements from a set of connected tensor elements.
- Parameters
-
elementList | the full list of connected tensor elements |
usedClusters | the list of clusters already marked as to be added to a pfo |
iteratorList | to receive a list of iterators to long track-like elements |
Definition at line 106 of file MissingTrackSegmentTool.cc.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_makePfoMaxImpactParameter
float lar_content::MissingTrackSegmentTool::m_makePfoMaxImpactParameter |
|
private |
◆ m_makePfoMinMatchedFraction
float lar_content::MissingTrackSegmentTool::m_makePfoMinMatchedFraction |
|
private |
◆ m_makePfoMinMatchedSamplingPoints
unsigned int lar_content::MissingTrackSegmentTool::m_makePfoMinMatchedSamplingPoints |
|
private |
◆ m_makePfoMinSamplingPoints
unsigned int lar_content::MissingTrackSegmentTool::m_makePfoMinSamplingPoints |
|
private |
◆ m_mergeMaxChi2PerSamplingPoint
float lar_content::MissingTrackSegmentTool::m_mergeMaxChi2PerSamplingPoint |
|
private |
◆ m_mergeXContainmentTolerance
float lar_content::MissingTrackSegmentTool::m_mergeXContainmentTolerance |
|
private |
◆ m_minCaloHitsInCandidateCluster
unsigned int lar_content::MissingTrackSegmentTool::m_minCaloHitsInCandidateCluster |
|
private |
◆ m_minFinalXOverlapFraction
float lar_content::MissingTrackSegmentTool::m_minFinalXOverlapFraction |
|
private |
◆ m_minInitialXOverlapFraction
float lar_content::MissingTrackSegmentTool::m_minInitialXOverlapFraction |
|
private |
The min x overlap fraction (between long clusters and short cluster vs. shared overlap)
Definition at line 181 of file MissingTrackSegmentTool.h.
◆ m_minMatchedFraction
float lar_content::MissingTrackSegmentTool::m_minMatchedFraction |
|
private |
◆ m_minMatchedSamplingPointRatio
unsigned int lar_content::MissingTrackSegmentTool::m_minMatchedSamplingPointRatio |
|
private |
◆ m_minMatchedSamplingPoints
unsigned int lar_content::MissingTrackSegmentTool::m_minMatchedSamplingPoints |
|
private |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_pseudoChi2Cut
float lar_content::MissingTrackSegmentTool::m_pseudoChi2Cut |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: