TrackConsolidationAlgorithm class.
More...
#include "TrackConsolidationAlgorithm.h"
|
pandora::StatusCode | Run () |
| Run the algorithm.
|
|
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 | GetReclusteredHits (const TwoDSlidingFitResultList &slidingFitResultList, const pandora::ClusterVector &showerClusters, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const |
| Get the list of hits to be added to track clusters and removed from shower clusters.
|
|
void | GetReclusteredHits (const TwoDSlidingFitResult &slidingFitResult, const pandora::Cluster *const pTargetCluster, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const |
| Get the list of hits to be added to a track cluster and removed from a shower cluster.
|
|
void | SortInputClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &trackClusters, pandora::ClusterVector &showerClusters) const |
| Sort input cluster list into track-like clusters and shower-like clusters.
|
|
void | BuildSlidingLinearFits (const pandora::ClusterVector &trackClusters, TwoDSlidingFitResultList &slidingFitResultList) const |
| Apply sliding linear fits to track clusters.
|
|
pandora::StatusCode | RemoveHitsFromClusters (const ClusterToHitMap &clustersToRebuild, pandora::ClusterSet &unavailableClusters) const |
| Remove hits from clusters.
|
|
pandora::StatusCode | AddHitsToClusters (const ClusterToHitMap &clustersToRebuild, pandora::ClusterSet &unavailableClusters) const |
| Add hits to clusters.
|
|
pandora::StatusCode | RebuildClusters (const ClusterToHitMap &clustersAtStart, const pandora::ClusterSet &unavailableClusters) const |
| Re-build clusters.
|
|
◆ ClusterToHitMap
◆ TrackConsolidationAlgorithm()
lar_content::TrackConsolidationAlgorithm::TrackConsolidationAlgorithm |
( |
| ) |
|
◆ AddHitsToClusters()
Add hits to clusters.
- Parameters
-
clustersToRebuild | the list of hits to be added to clusters |
unavailableClusters | the list of modified clusters |
Definition at line 146 of file TwoDSlidingFitConsolidationAlgorithm.cc.
◆ BuildSlidingLinearFits()
Apply sliding linear fits to track clusters.
- Parameters
-
trackClusters | the input vector of track-like clusters |
slidingFitResultList | the output list of sliding linear fits |
Definition at line 80 of file TwoDSlidingFitConsolidationAlgorithm.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.
◆ GetReclusteredHits() [1/2]
Get the list of hits to be added to a track cluster and removed from a shower cluster.
- Parameters
-
slidingFitResult | sliding linear fit to track cluster |
pTargetCluster | shower cluster |
caloHitsToAdd | the output map of hits to be added to clusters |
caloHitsToRemove | the output map of hits to be removed from clusters |
Definition at line 52 of file TrackConsolidationAlgorithm.cc.
◆ GetReclusteredHits() [2/2]
Get the list of hits to be added to track clusters and removed from shower clusters.
- Parameters
-
slidingFitResultList | the list of sliding linear fits to track clusters |
showerClusters | the vector of shower clusters |
caloHitsToAdd | the output map of hits to be added to clusters |
caloHitsToRemove | the output map of hits to be removed from clusters |
Implements lar_content::TwoDSlidingFitConsolidationAlgorithm.
Definition at line 27 of file TrackConsolidationAlgorithm.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 |
◆ ReadSettings()
◆ RebuildClusters()
◆ 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.
◆ RemoveHitsFromClusters()
Remove hits from clusters.
- Parameters
-
clustersToRebuild | the list of hits to be removed from clusters |
unavailableClusters | the list of deleted clusters |
Definition at line 101 of file TwoDSlidingFitConsolidationAlgorithm.cc.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::TwoDSlidingFitConsolidationAlgorithm::Run |
( |
| ) |
|
|
protectedvirtualinherited |
◆ SortInputClusters()
Sort input cluster list into track-like clusters and shower-like clusters.
- Parameters
-
pClusterList | the input cluster list |
trackClusters | the output vector of track-like clusters |
showerClusters | the output vector of shower-like clusters |
Definition at line 58 of file TwoDSlidingFitConsolidationAlgorithm.cc.
◆ m_halfWindowLayers
unsigned int lar_content::TwoDSlidingFitConsolidationAlgorithm::m_halfWindowLayers |
|
privateinherited |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxClusterLength
float lar_content::TwoDSlidingFitConsolidationAlgorithm::m_maxClusterLength |
|
privateinherited |
◆ m_maxTransverseDisplacement
float lar_content::TrackConsolidationAlgorithm::m_maxTransverseDisplacement |
|
private |
◆ m_minAssociatedFraction
float lar_content::TrackConsolidationAlgorithm::m_minAssociatedFraction |
|
private |
◆ m_minAssociatedSpan
float lar_content::TrackConsolidationAlgorithm::m_minAssociatedSpan |
|
private |
◆ m_minTrackLength
float lar_content::TwoDSlidingFitConsolidationAlgorithm::m_minTrackLength |
|
privateinherited |
◆ 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_reclusteringAlgorithmName
std::string lar_content::TwoDSlidingFitConsolidationAlgorithm::m_reclusteringAlgorithmName |
|
privateinherited |
◆ 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: