Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::ThreeViewTransverseTracksAlgorithm Class Reference

ThreeViewTransverseTracksAlgorithm class. More...

#include "ThreeViewTransverseTracksAlgorithm.h"

Inheritance diagram for lar_content::ThreeViewTransverseTracksAlgorithm:
Collaboration diagram for lar_content::ThreeViewTransverseTracksAlgorithm:

Public Types

typedef NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > > BaseAlgorithm
 
typedef T MatchingType
 

Public Member Functions

 ThreeViewTransverseTracksAlgorithm ()
 Default constructor.
 
const TwoDSlidingFitResultGetCachedSlidingFitResult (const pandora::Cluster *const pCluster) const
 Get a sliding fit result from the algorithm cache.
 
unsigned int GetSlidingFitWindow () const
 Get the layer window for the sliding linear fits.
 
virtual bool MakeClusterSplits (const SplitPositionMap &splitPositionMap)
 Make cluster splits.
 
virtual bool MakeClusterSplit (const pandora::CartesianVector &splitPosition, const pandora::Cluster *&pCurrentCluster, const pandora::Cluster *&pLowXCluster, const pandora::Cluster *&pHighXCluster) const
 Make a cluster split.
 
virtual void UpdateForNewCluster (const pandora::Cluster *const pNewCluster)
 Update to reflect addition of a new cluster to the problem space.
 
virtual void UpdateUponDeletion (const pandora::Cluster *const pDeletedCluster)
 Update to reflect cluster deletion.
 
virtual void SelectInputClusters (const pandora::ClusterList *const pInputClusterList, pandora::ClusterList &selectedClusterList) const
 Select a subset of input clusters for processing in this algorithm.
 
virtual void PrepareInputClusters (pandora::ClusterList &preparedClusterList)
 Perform any preparatory steps required on the input clusters, e.g. caching expensive fit results.
 
virtual void SetPfoParticleId (PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const
 Set pfo particle id.
 
const std::string & GetClusterListName (const pandora::HitType hitType) const
 Get the cluster list name corresponding to a specified hit type.
 
const pandora::ClusterListGetInputClusterList (const pandora::HitType hitType) const
 Get the input cluster list corresponding to a specified hit type.
 
const pandora::ClusterListGetSelectedClusterList (const pandora::HitType hitType) const
 Get the selected cluster list corresponding to a specified hit type.
 
virtual bool MakeClusterMerges (const ClusterMergeMap &clusterMergeMap)
 Merge clusters together.
 
virtual bool CreateThreeDParticles (const ProtoParticleVector &protoParticleVector)
 Create particles using findings from recent algorithm processing.
 
virtual void SetPfoParameters (const ProtoParticle &protoParticle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const
 Set Pfo properties.
 
const std::string & GetType () const
 Get the type.
 
const std::string & GetInstanceName () const
 Get the instance name.
 
const PandoraGetPandora () const
 Get the associated pandora instance.
 

Static Public Member Functions

static bool SortSplitPositions (const pandora::CartesianVector &lhs, const pandora::CartesianVector &rhs)
 Sort split position cartesian vectors by increasing x coordinate.
 

Protected Member Functions

void AddToSlidingFitCache (const pandora::Cluster *const pCluster)
 Add a new sliding fit result, for the specified cluster, to the algorithm cache.
 
void RemoveFromSlidingFitCache (const pandora::Cluster *const pCluster)
 Remova an existing sliding fit result, for the specified cluster, from the algorithm cache.
 
virtual void TidyUp ()
 Tidy member variables in derived class.
 
MatchingTypeGetMatchingControl ()
 Get the matching control.
 
virtual void SelectAllInputClusters ()
 Select a subset of input clusters for processing in this algorithm.
 
virtual void PrepareAllInputClusters ()
 Perform any preparatory steps required, e.g. caching expensive fit results for clusters.
 
virtual void PerformMainLoop ()
 Main loop over cluster combinations in order to populate the overlap container. Responsible for calling CalculateOverlapResult.
 
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.
 

Protected Attributes

MatchingType m_matchingControl
 The matching control.
 
const Pandoram_pPandora
 The pandora object that will run the process.
 
std::string m_type
 The process type.
 
std::string m_instanceName
 The process instance name.
 

Private Types

typedef std::map< unsigned int, TransverseOverlapResultFitSegmentToOverlapResultMap
 
typedef std::map< unsigned int, FitSegmentToOverlapResultMapFitSegmentMatrix
 
typedef std::map< unsigned int, FitSegmentMatrixFitSegmentTensor
 
typedef std::vector< TransverseTensorTool * > TensorToolVector
 

Private Member Functions

void CalculateOverlapResult (const pandora::Cluster *const pClusterU, const pandora::Cluster *const pClusterV, const pandora::Cluster *const pClusterW)
 Calculate cluster overlap result and store in container.
 
pandora::StatusCode CalculateOverlapResult (const pandora::Cluster *const pClusterU, const pandora::Cluster *const pClusterV, const pandora::Cluster *const pClusterW, TransverseOverlapResult &overlapResult)
 Calculate the overlap result for given group of clusters.
 
void GetFitSegmentTensor (const TwoDSlidingFitResult &slidingFitResultU, const TwoDSlidingFitResult &slidingFitResultV, const TwoDSlidingFitResult &slidingFitResultW, FitSegmentTensor &fitSegmentTensor) const
 Get the number of matched points for three fit segments and accompanying sliding fit results.
 
pandora::StatusCode GetSegmentOverlap (const FitSegment &fitSegmentU, const FitSegment &fitSegmentV, const FitSegment &fitSegmentW, const TwoDSlidingFitResult &slidingFitResultU, const TwoDSlidingFitResult &slidingFitResultV, const TwoDSlidingFitResult &slidingFitResultW, TransverseOverlapResult &transverseOverlapResult) const
 Get the overlap result for three fit segments and the accompanying sliding fit results.
 
void GetBestOverlapResult (const FitSegmentTensor &fitSegmentTensor, TransverseOverlapResult &bestTransverseOverlapResult) const
 Get the best overlap result, by examining the fit segment tensor.
 
void GetPreviousOverlapResults (const unsigned int indexU, const unsigned int indexV, const unsigned int indexW, FitSegmentTensor &fitSegmentSumTensor, TransverseOverlapResultVector &transverseOverlapResultVector) const
 Get track overlap results for possible connected segments.
 
void ExamineOverlapContainer ()
 Examine contents of overlap container, collect together best-matching 2D particles and modify clusters as required.
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 Read the algorithm settings.
 
pandora::StatusCode Run ()
 Run the algorithm.
 

Private Attributes

TensorToolVector m_algorithmToolVector
 The algorithm tool vector.
 
unsigned int m_nMaxTensorToolRepeats
 The maximum number of repeat loops over tensor tools.
 
unsigned int m_maxFitSegmentIndex
 The maximum number of fit segments used when identifying best overlap result.
 
float m_pseudoChi2Cut
 The pseudo chi2 cut to identify matched sampling points.
 
float m_minSegmentMatchedFraction
 The minimum segment matched sampling fraction to allow segment grouping.
 
unsigned int m_minSegmentMatchedPoints
 The minimum number of matched segment sampling points to allow segment grouping.
 
float m_minOverallMatchedFraction
 The minimum matched sampling fraction to allow particle creation.
 
unsigned int m_minOverallMatchedPoints
 The minimum number of matched segment sampling points to allow particle creation.
 
float m_minSamplingPointsPerLayer
 The minimum number of sampling points per layer to allow particle creation.
 
unsigned int m_slidingFitWindow
 The layer window for the sliding linear fits.
 
TwoDSlidingFitResultMap m_slidingFitResultMap
 The sliding fit result map.
 
unsigned int m_minClusterCaloHits
 The min number of hits in base cluster selection method.
 
float m_minClusterLengthSquared
 The min length (squared) in base cluster selection method.
 
std::string m_outputPfoListName
 The output pfo list name.
 

Detailed Description

Member Typedef Documentation

◆ BaseAlgorithm

◆ FitSegmentMatrix

◆ FitSegmentTensor

◆ FitSegmentToOverlapResultMap

◆ MatchingType

template<typename T >
typedef T lar_content::NViewMatchingAlgorithm< T >::MatchingType
inherited

Definition at line 23 of file NViewMatchingAlgorithm.h.

◆ TensorToolVector

Constructor & Destructor Documentation

◆ ThreeViewTransverseTracksAlgorithm()

lar_content::ThreeViewTransverseTracksAlgorithm::ThreeViewTransverseTracksAlgorithm ( )

Default constructor.

Definition at line 21 of file ThreeViewTransverseTracksAlgorithm.cc.

Member Function Documentation

◆ AddToSlidingFitCache()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::AddToSlidingFitCache ( const pandora::Cluster *const  pCluster)
protectedinherited

Add a new sliding fit result, for the specified cluster, to the algorithm cache.

Parameters
pClusteraddress of the relevant cluster

Definition at line 95 of file NViewTrackMatchingAlgorithm.cc.

◆ CalculateOverlapResult() [1/2]

void lar_content::ThreeViewTransverseTracksAlgorithm::CalculateOverlapResult ( const pandora::Cluster *const  pCluster1,
const pandora::Cluster *const  pCluster2,
const pandora::Cluster *const  pCluster3 
)
privatevirtual

Calculate cluster overlap result and store in container.

Parameters
pCluster1address of cluster1
pCluster2address of cluster2
pCluster3address of cluster3

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 35 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateOverlapResult() [2/2]

StatusCode lar_content::ThreeViewTransverseTracksAlgorithm::CalculateOverlapResult ( const pandora::Cluster *const  pClusterU,
const pandora::Cluster *const  pClusterV,
const pandora::Cluster *const  pClusterW,
TransverseOverlapResult overlapResult 
)
private

Calculate the overlap result for given group of clusters.

Parameters
pClusterUthe cluster from the U view
pClusterVthe cluster from the V view
pClusterWthe cluster from the W view
overlapResultto receive the overlap result
Returns
statusCode, faster than throwing in regular use-cases

Definition at line 47 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:

◆ CreateThreeDParticles()

bool lar_content::MatchingBaseAlgorithm::CreateThreeDParticles ( const ProtoParticleVector protoParticleVector)
virtualinherited

Create particles using findings from recent algorithm processing.

Parameters
protoParticleVectorthe proto particle vector
whetherparticles were created

Definition at line 88 of file MatchingBaseAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExamineOverlapContainer()

void lar_content::ThreeViewTransverseTracksAlgorithm::ExamineOverlapContainer ( )
privatevirtual

Examine contents of overlap container, collect together best-matching 2D particles and modify clusters as required.

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 297 of file ThreeViewTransverseTracksAlgorithm.cc.

◆ GetBestOverlapResult()

void lar_content::ThreeViewTransverseTracksAlgorithm::GetBestOverlapResult ( const FitSegmentTensor fitSegmentTensor,
TransverseOverlapResult bestTransverseOverlapResult 
) const
private

Get the best overlap result, by examining the fit segment tensor.

Parameters
fitSegmentTensorthe fit segment tensor
bestTransverseOverlapResultto receive the best transverse overlap result

Definition at line 193 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCachedSlidingFitResult()

const TwoDSlidingFitResult & lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::GetCachedSlidingFitResult ( const pandora::Cluster *const  pCluster) const
inherited

Get a sliding fit result from the algorithm cache.

Parameters
pClusteraddress of the relevant cluster

Definition at line 44 of file NViewTrackMatchingAlgorithm.cc.

◆ GetClusterListName()

template<typename T >
const std::string & lar_content::NViewMatchingAlgorithm< T >::GetClusterListName ( const pandora::HitType  hitType) const
virtualinherited

Get the cluster list name corresponding to a specified hit type.

Parameters
hitTypethe hit type
Returns
the cluster list name

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 57 of file NViewMatchingAlgorithm.cc.

Here is the caller graph for this function:

◆ GetFitSegmentTensor()

void lar_content::ThreeViewTransverseTracksAlgorithm::GetFitSegmentTensor ( const TwoDSlidingFitResult slidingFitResultU,
const TwoDSlidingFitResult slidingFitResultV,
const TwoDSlidingFitResult slidingFitResultW,
FitSegmentTensor fitSegmentTensor 
) const
private

Get the number of matched points for three fit segments and accompanying sliding fit results.

Parameters
slidingFitResultUsliding fit result for u cluster
slidingFitResultVsliding fit result for v cluster
slidingFitResultWsliding fit result for w cluster
fitSegmentTensorthe fit segment tensor

Definition at line 87 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetInputClusterList()

template<typename T >
const pandora::ClusterList & lar_content::NViewMatchingAlgorithm< T >::GetInputClusterList ( const pandora::HitType  hitType) const
virtualinherited

Get the input cluster list corresponding to a specified hit type.

Parameters
hitTypethe hit type
Returns
the input cluster list

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 65 of file NViewMatchingAlgorithm.cc.

Here is the caller graph for this function:

◆ 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.

◆ GetMatchingControl()

template<typename T >
T & lar_content::NViewMatchingAlgorithm< T >::GetMatchingControl ( )
inlineprotectedinherited

Get the matching control.

Definition at line 59 of file NViewMatchingAlgorithm.h.

Here is the caller graph for this function:

◆ 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.

◆ GetPreviousOverlapResults()

void lar_content::ThreeViewTransverseTracksAlgorithm::GetPreviousOverlapResults ( const unsigned int  indexU,
const unsigned int  indexV,
const unsigned int  indexW,
FitSegmentTensor fitSegmentSumTensor,
TransverseOverlapResultVector transverseOverlapResultVector 
) const
private

Get track overlap results for possible connected segments.

Parameters
indexUthe index u
indexVthe index v
indexWthe index w
transverseOverlapResultVectorthe transverse overlap result vector

Definition at line 269 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the caller graph for this function:

◆ GetSegmentOverlap()

StatusCode lar_content::ThreeViewTransverseTracksAlgorithm::GetSegmentOverlap ( const FitSegment fitSegmentU,
const FitSegment fitSegmentV,
const FitSegment fitSegmentW,
const TwoDSlidingFitResult slidingFitResultU,
const TwoDSlidingFitResult slidingFitResultV,
const TwoDSlidingFitResult slidingFitResultW,
TransverseOverlapResult transverseOverlapResult 
) const
private

Get the overlap result for three fit segments and the accompanying sliding fit results.

Parameters
fitSegmentUthe fit segment u
fitSegmentVthe fit segment v
fitSegmentWthe fit segment w
slidingFitResultUsliding fit result for u cluster
slidingFitResultVsliding fit result for v cluster
slidingFitResultWsliding fit result for w cluster
transverseOverlapResultto receive the transverse overlap result
Returns
statusCode, faster than throwing in regular use-cases

Definition at line 123 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSelectedClusterList()

template<typename T >
const pandora::ClusterList & lar_content::NViewMatchingAlgorithm< T >::GetSelectedClusterList ( const pandora::HitType  hitType) const
virtualinherited

Get the selected cluster list corresponding to a specified hit type.

Parameters
hitTypethe hit type
Returns
the selected cluster list

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 73 of file NViewMatchingAlgorithm.cc.

Here is the caller graph for this function:

◆ GetSlidingFitWindow()

unsigned int lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::GetSlidingFitWindow ( ) const
inlineinherited

Get the layer window for the sliding linear fits.

Returns
the layer window for the sliding linear fits

Definition at line 51 of file NViewTrackMatchingAlgorithm.h.

◆ GetType()

const std::string & pandora::Process::GetType ( ) const
inlineinherited

Get the type.

Returns
The type

Definition at line 102 of file Process.h.

◆ Initialize()

StatusCode pandora::Process::Initialize ( )
inlineprotectedvirtualinherited

Perform any operations that must occur after reading settings, but before running the process.

Reimplemented in lar_content::BdtBeamParticleIdTool, lar_content::BeamParticleIdTool, lar_content::CosmicRayTaggingTool, lar_content::EventReadingAlgorithm, lar_content::EventWritingAlgorithm, lar_content::LArPseudoLayerPlugin, lar_content::LArRotationalTransformationPlugin, EventReadingAlgorithm, and EventWritingAlgorithm.

Definition at line 126 of file Process.h.

Here is the caller graph for this function:

◆ MakeClusterMerges()

bool lar_content::MatchingBaseAlgorithm::MakeClusterMerges ( const ClusterMergeMap clusterMergeMap)
virtualinherited

Merge clusters together.

Parameters
clusterMergeMapthe cluster merge map
Returns
whether changes to the overlap container have been made

Definition at line 48 of file MatchingBaseAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeClusterSplit()

bool lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::MakeClusterSplit ( const pandora::CartesianVector splitPosition,
const pandora::Cluster *&  pCurrentCluster,
const pandora::Cluster *&  pLowXCluster,
const pandora::Cluster *&  pHighXCluster 
) const
virtualinherited

Make a cluster split.

Parameters
splitPositionthe split position
pCurrentClusterthe cluster to split
pLowXClusterto receive the low x cluster
pHighXClusterto receive the high x cluster
Returns
whether a cluster split occurred

Definition at line 72 of file NViewTrackMatchingAlgorithm.cc.

◆ MakeClusterSplits()

bool lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::MakeClusterSplits ( const SplitPositionMap splitPositionMap)
virtualinherited

Make cluster splits.

Parameters
splitPositionMapthe split position map
Returns
whether changes to the overlap container have been made

Definition at line 60 of file NViewTrackMatchingAlgorithm.cc.

◆ PerformMainLoop()

template<typename T >
void lar_content::NViewMatchingAlgorithm< T >::PerformMainLoop ( )
protectedvirtualinherited

Main loop over cluster combinations in order to populate the overlap container. Responsible for calling CalculateOverlapResult.

Implements lar_content::MatchingBaseAlgorithm.

Reimplemented in lar_content::ThreeViewTrackFragmentsAlgorithm.

Definition at line 105 of file NViewMatchingAlgorithm.cc.

◆ PrepareAllInputClusters()

template<typename T >
void lar_content::NViewMatchingAlgorithm< T >::PrepareAllInputClusters ( )
protectedvirtualinherited

Perform any preparatory steps required, e.g. caching expensive fit results for clusters.

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 89 of file NViewMatchingAlgorithm.cc.

◆ PrepareInputClusters()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::PrepareInputClusters ( pandora::ClusterList preparedClusterList)
virtualinherited

Perform any preparatory steps required on the input clusters, e.g. caching expensive fit results.

Parameters
preparedClusterListto receive the prepared cluster list, non const so as to be able to modify input selected list

Reimplemented from lar_content::MatchingBaseAlgorithm.

Definition at line 86 of file NViewTrackMatchingAlgorithm.cc.

◆ ReadSettings()

StatusCode lar_content::ThreeViewTransverseTracksAlgorithm::ReadSettings ( const pandora::TiXmlHandle  xmlHandle)
privatevirtual

Read the algorithm settings.

Parameters
xmlHandlethe relevant xml handle

Reimplemented from lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >.

Definition at line 320 of file ThreeViewTransverseTracksAlgorithm.cc.

Here is the call graph for this function:

◆ 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
pPandoraaddress of the pandora object that will run the process
typethe process type
instanceNamethe process instance name

Definition at line 146 of file Process.h.

Here is the caller graph for this function:

◆ RemoveFromSlidingFitCache()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::RemoveFromSlidingFitCache ( const pandora::Cluster *const  pCluster)
protectedinherited

Remova an existing sliding fit result, for the specified cluster, from the algorithm cache.

Parameters
pClusteraddress of the relevant cluster

Definition at line 102 of file NViewTrackMatchingAlgorithm.cc.

◆ Reset()

StatusCode pandora::Process::Reset ( )
inlineprotectedvirtualinherited

Perform any operations when pandora is reset, typically at the end of each event.

Reimplemented in lar_content::MasterAlgorithm, lar_content::PostProcessingAlgorithm, and lar_content::PreProcessingAlgorithm.

Definition at line 133 of file Process.h.

Here is the caller graph for this function:

◆ Run()

StatusCode lar_content::MatchingBaseAlgorithm::Run ( )
privatevirtualinherited

Run the algorithm.

Implements pandora::Algorithm.

Definition at line 135 of file MatchingBaseAlgorithm.cc.

Here is the call graph for this function:

◆ SelectAllInputClusters()

template<typename T >
void lar_content::NViewMatchingAlgorithm< T >::SelectAllInputClusters ( )
protectedvirtualinherited

Select a subset of input clusters for processing in this algorithm.

Implements lar_content::MatchingBaseAlgorithm.

Definition at line 81 of file NViewMatchingAlgorithm.cc.

◆ SelectInputClusters()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::SelectInputClusters ( const pandora::ClusterList *const  pInputClusterList,
pandora::ClusterList selectedClusterList 
) const
virtualinherited

Select a subset of input clusters for processing in this algorithm.

Parameters
pInputClusterListaddress of an input cluster list
selectedClusterListto receive the selected cluster list

Reimplemented from lar_content::MatchingBaseAlgorithm.

Definition at line 85 of file NViewTrackMatchingAlgorithm.cc.

◆ SetPfoParameters()

void lar_content::MatchingBaseAlgorithm::SetPfoParameters ( const ProtoParticle protoParticle,
PandoraContentApi::ParticleFlowObject::Parameters &  pfoParameters 
) const
virtualinherited

Set Pfo properties.

Parameters
protoParticlethe input proto particle
pfoParametersthe output pfo parameters

Definition at line 116 of file MatchingBaseAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetPfoParticleId()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::SetPfoParticleId ( PandoraContentApi::ParticleFlowObject::Parameters &  pfoParameters) const
virtualinherited

Set pfo particle id.

Parameters
pfoParametersthe output pfo parameters

Reimplemented from lar_content::MatchingBaseAlgorithm.

Definition at line 87 of file NViewTrackMatchingAlgorithm.cc.

◆ SortSplitPositions()

Sort split position cartesian vectors by increasing x coordinate.

Parameters
lhsthe first cartesian vector
rhsthe second cartesian vector

Definition at line 81 of file NViewTrackMatchingAlgorithm.cc.

◆ TidyUp()

Tidy member variables in derived class.

Reimplemented from lar_content::NViewMatchingAlgorithm< T >.

Definition at line 104 of file NViewTrackMatchingAlgorithm.cc.

◆ UpdateForNewCluster()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::UpdateForNewCluster ( const pandora::Cluster *const  pNewCluster)
virtualinherited

Update to reflect addition of a new cluster to the problem space.

Parameters
pNewClusteraddress of the new cluster

Reimplemented from lar_content::NViewMatchingAlgorithm< T >.

Definition at line 83 of file NViewTrackMatchingAlgorithm.cc.

◆ UpdateUponDeletion()

void lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::UpdateUponDeletion ( const pandora::Cluster *const  pDeletedCluster)
virtualinherited

Update to reflect cluster deletion.

Parameters
pDeletedClusteraddress of the deleted cluster

Reimplemented from lar_content::NViewMatchingAlgorithm< T >.

Definition at line 84 of file NViewTrackMatchingAlgorithm.cc.

Member Data Documentation

◆ m_algorithmToolVector

TensorToolVector lar_content::ThreeViewTransverseTracksAlgorithm::m_algorithmToolVector
private

The algorithm tool vector.

Definition at line 110 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_instanceName

std::string pandora::Process::m_instanceName
protectedinherited

The process instance name.

Definition at line 89 of file Process.h.

◆ m_matchingControl

template<typename T >
MatchingType lar_content::NViewMatchingAlgorithm< T >::m_matchingControl
protectedinherited

The matching control.

Definition at line 53 of file NViewMatchingAlgorithm.h.

◆ m_maxFitSegmentIndex

unsigned int lar_content::ThreeViewTransverseTracksAlgorithm::m_maxFitSegmentIndex
private

The maximum number of fit segments used when identifying best overlap result.

Definition at line 113 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_minClusterCaloHits

unsigned int lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::m_minClusterCaloHits
privateinherited

The min number of hits in base cluster selection method.

Definition at line 111 of file NViewTrackMatchingAlgorithm.h.

◆ m_minClusterLengthSquared

float lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::m_minClusterLengthSquared
privateinherited

The min length (squared) in base cluster selection method.

Definition at line 112 of file NViewTrackMatchingAlgorithm.h.

◆ m_minOverallMatchedFraction

float lar_content::ThreeViewTransverseTracksAlgorithm::m_minOverallMatchedFraction
private

The minimum matched sampling fraction to allow particle creation.

Definition at line 117 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_minOverallMatchedPoints

unsigned int lar_content::ThreeViewTransverseTracksAlgorithm::m_minOverallMatchedPoints
private

The minimum number of matched segment sampling points to allow particle creation.

Definition at line 118 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_minSamplingPointsPerLayer

float lar_content::ThreeViewTransverseTracksAlgorithm::m_minSamplingPointsPerLayer
private

The minimum number of sampling points per layer to allow particle creation.

Definition at line 119 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_minSegmentMatchedFraction

float lar_content::ThreeViewTransverseTracksAlgorithm::m_minSegmentMatchedFraction
private

The minimum segment matched sampling fraction to allow segment grouping.

Definition at line 115 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_minSegmentMatchedPoints

unsigned int lar_content::ThreeViewTransverseTracksAlgorithm::m_minSegmentMatchedPoints
private

The minimum number of matched segment sampling points to allow segment grouping.

Definition at line 116 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_nMaxTensorToolRepeats

unsigned int lar_content::ThreeViewTransverseTracksAlgorithm::m_nMaxTensorToolRepeats
private

The maximum number of repeat loops over tensor tools.

Definition at line 112 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_outputPfoListName

std::string lar_content::MatchingBaseAlgorithm::m_outputPfoListName
privateinherited

The output pfo list name.

Definition at line 181 of file MatchingBaseAlgorithm.h.

◆ 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::ThreeViewTransverseTracksAlgorithm::m_pseudoChi2Cut
private

The pseudo chi2 cut to identify matched sampling points.

Definition at line 114 of file ThreeViewTransverseTracksAlgorithm.h.

◆ m_slidingFitResultMap

The sliding fit result map.

Definition at line 109 of file NViewTrackMatchingAlgorithm.h.

◆ m_slidingFitWindow

unsigned int lar_content::NViewTrackMatchingAlgorithm< ThreeViewMatchingControl< TransverseOverlapResult > >::m_slidingFitWindow
privateinherited

The layer window for the sliding linear fits.

Definition at line 108 of file NViewTrackMatchingAlgorithm.h.

◆ 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: