LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
MatchedEndPointsTool class. More...
#include "MatchedEndPointsTool.h"
Public Types | |
typedef ThreeViewLongitudinalTracksAlgorithm::MatchingType::TensorType | TensorType |
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
MatchedEndPointsTool () | |
Default constructor. More... | |
bool | Run (ThreeViewLongitudinalTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor) |
Run the algorithm tool. More... | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | FindMatchedTracks (const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const |
Find matched tracks, hidden by ambiguities in the tensor. More... | |
Static Private Member Functions | |
static bool | SortByChiSquared (const TensorType::Element &lhs, const TensorType::Element &rhs) |
Sort tensor elements by chi-squared. More... | |
Private Attributes | |
float | m_minMatchedFraction |
The min matched sampling point fraction for particle creation. More... | |
float | m_maxEndPointChi2 |
The max chi2 of matched vertex and end points for particle creation. More... | |
MatchedEndPointsTool class.
Definition at line 19 of file MatchedEndPointsTool.h.
|
inherited |
Definition at line 89 of file ThreeViewLongitudinalTracksAlgorithm.h.
|
inherited |
Definition at line 88 of file ThreeViewLongitudinalTracksAlgorithm.h.
lar_content::MatchedEndPointsTool::MatchedEndPointsTool | ( | ) |
Default constructor.
Definition at line 18 of file MatchedEndPointsTool.cc.
|
private |
Find matched tracks, hidden by ambiguities in the tensor.
overlapTensor | the overlap tensor |
protoParticleVector | to receive the list of proto particles |
Definition at line 40 of file MatchedEndPointsTool.cc.
References lar_content::OverlapTensor< T >::GetConnectedElements(), lar_content::OverlapTensor< T >::GetSortedKeyClusters(), lar_content::ProtoParticle::m_clusterList, m_maxEndPointChi2, m_minMatchedFraction, and SortByChiSquared().
Referenced by Run().
|
private |
Definition at line 94 of file MatchedEndPointsTool.cc.
References m_maxEndPointChi2, and m_minMatchedFraction.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
overlapTensor | the overlap tensor |
Implements lar_content::LongitudinalTensorTool.
Definition at line 26 of file MatchedEndPointsTool.cc.
References lar_content::MatchingBaseAlgorithm::CreateThreeDParticles(), and FindMatchedTracks().
|
staticprivate |
Sort tensor elements by chi-squared.
lhs | the first tensor element |
rhs | the second tensor element |
Definition at line 86 of file MatchedEndPointsTool.cc.
Referenced by FindMatchedTracks().
|
private |
The max chi2 of matched vertex and end points for particle creation.
Definition at line 51 of file MatchedEndPointsTool.h.
Referenced by FindMatchedTracks(), and ReadSettings().
|
private |
The min matched sampling point fraction for particle creation.
Definition at line 50 of file MatchedEndPointsTool.h.
Referenced by FindMatchedTracks(), and ReadSettings().