CosmicRayTrackMatchingAlgorithm class.
More...
#include "CosmicRayTrackMatchingAlgorithm.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.
|
|
|
void | SelectCleanClusters (const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const |
| Select a set of clusters judged to be clean.
|
|
bool | MatchClusters (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const |
| Match a pair of clusters from two views.
|
|
bool | CheckMatchedClusters3D (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, const pandora::Cluster *const pCluster3) const |
| Check that three clusters have a consistent 3D position.
|
|
void | SetPfoParameters (const Particle &protoParticle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const |
| Calculate Pfo properties from proto particle.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
pandora::StatusCode | GetAvailableClusters (const std::string inputClusterListName, pandora::ClusterVector &clusterVector) const |
| Get a vector of available clusters.
|
|
void | MatchThreeViews (const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters12, const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters23, const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters31, ParticleList &particleList) const |
| Match clusters from three views and form into particles.
|
|
void | MatchTwoViews (const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters12, const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters23, const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters31, ParticleList &particleList) const |
| Match clusters from two views and form into particles.
|
|
void | MatchTwoViews (const CosmicRayBaseMatchingAlgorithm::ClusterAssociationMap &matchedClusters12, ParticleList &particleList) const |
| Match clusters from two views and form into particles.
|
|
void | ResolveAmbiguities (const ParticleList &inputList, ParticleList &outputList) const |
| Remove ambiguities between candidate particles.
|
|
void | BuildParticles (const ParticleList &particleList) |
| Build PFO objects from candidate particles.
|
|
◆ ClusterAssociationMap
◆ ParticleList
◆ UIntSet
◆ CosmicRayTrackMatchingAlgorithm()
lar_content::CosmicRayTrackMatchingAlgorithm::CosmicRayTrackMatchingAlgorithm |
( |
| ) |
|
◆ BuildParticles()
void lar_content::CosmicRayBaseMatchingAlgorithm::BuildParticles |
( |
const ParticleList & |
particleList | ) |
|
|
privateinherited |
◆ CheckMatchedClusters3D()
◆ GetAvailableClusters()
StatusCode lar_content::CosmicRayBaseMatchingAlgorithm::GetAvailableClusters |
( |
const std::string |
inputClusterListName, |
|
|
pandora::ClusterVector & |
clusterVector |
|
) |
| const |
|
privateinherited |
Get a vector of available clusters.
- Parameters
-
inputClusterListName | the input name of the cluster list |
clusterVector | the output vector of available clusters |
Definition at line 52 of file CosmicRayBaseMatchingAlgorithm.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.
◆ 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 |
◆ MatchClusters()
◆ MatchThreeViews()
Match clusters from three views and form into particles.
- Parameters
-
matchedClusters12 | the map of matches between the view 1 and view 2 |
matchedClusters23 | the map of matches between the view 2 and view 3 |
matchedClusters31 | the map of matches between the view 3 and view 1 |
particleList | the output list of particles |
Definition at line 112 of file CosmicRayBaseMatchingAlgorithm.cc.
◆ MatchTwoViews() [1/2]
Match clusters from two views and form into particles.
- Parameters
-
matchedClusters12 | the map of matches between the view 1 and view 2 |
matchedClusters23 | the map of matches between the view 2 and view 3 |
matchedClusters31 | the map of matches between the view 3 and view 1 |
particleList | the output list of particles |
Definition at line 172 of file CosmicRayBaseMatchingAlgorithm.cc.
◆ MatchTwoViews() [2/2]
Match clusters from two views and form into particles.
- Parameters
-
matchedClusters12 | the map of matches between the first and second views |
particleList | the output list of particles |
Definition at line 185 of file CosmicRayBaseMatchingAlgorithm.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 |
◆ ResolveAmbiguities()
void lar_content::CosmicRayBaseMatchingAlgorithm::ResolveAmbiguities |
( |
const ParticleList & |
inputList, |
|
|
ParticleList & |
outputList |
|
) |
| const |
|
privateinherited |
Remove ambiguities between candidate particles.
- Parameters
-
inputList | the input list of particles |
outputList | the output list of particles |
Definition at line 215 of file CosmicRayBaseMatchingAlgorithm.cc.
◆ Run()
StatusCode lar_content::CosmicRayBaseMatchingAlgorithm::Run |
( |
| ) |
|
|
protectedvirtualinherited |
◆ SelectCleanClusters()
◆ SetPfoParameters()
void lar_content::CosmicRayTrackMatchingAlgorithm::SetPfoParameters |
( |
const Particle & |
protoParticle, |
|
|
PandoraContentApi::ParticleFlowObject::Parameters & |
pfoParameters |
|
) |
| const |
|
privatevirtual |
◆ m_clusterMinLength
float lar_content::CosmicRayTrackMatchingAlgorithm::m_clusterMinLength |
|
private |
◆ m_inputClusterListNameU
std::string lar_content::CosmicRayBaseMatchingAlgorithm::m_inputClusterListNameU |
|
privateinherited |
◆ m_inputClusterListNameV
std::string lar_content::CosmicRayBaseMatchingAlgorithm::m_inputClusterListNameV |
|
privateinherited |
◆ m_inputClusterListNameW
std::string lar_content::CosmicRayBaseMatchingAlgorithm::m_inputClusterListNameW |
|
privateinherited |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_maxDisplacement
float lar_content::CosmicRayTrackMatchingAlgorithm::m_maxDisplacement |
|
private |
◆ m_minXOverlap
float lar_content::CosmicRayTrackMatchingAlgorithm::m_minXOverlap |
|
private |
◆ m_minXOverlapFraction
float lar_content::CosmicRayTrackMatchingAlgorithm::m_minXOverlapFraction |
|
private |
◆ m_outputPfoListName
std::string lar_content::CosmicRayBaseMatchingAlgorithm::m_outputPfoListName |
|
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_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_vtxXOverlap
float lar_content::CosmicRayTrackMatchingAlgorithm::m_vtxXOverlap |
|
private |
The documentation for this class was generated from the following files: