LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
MatchedEndPointsTool class. More...
#include "MatchedEndPointsTool.h"
Public Types | |
typedef ThreeDLongitudinalTracksAlgorithm::TensorType | TensorType |
typedef std::vector< TensorType::ElementList::const_iterator > | IteratorList |
Public Member Functions | |
MatchedEndPointsTool () | |
Default constructor. More... | |
bool | Run (ThreeDLongitudinalTracksAlgorithm *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 86 of file ThreeDLongitudinalTracksAlgorithm.h.
|
inherited |
Definition at line 85 of file ThreeDLongitudinalTracksAlgorithm.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_clusterListU, lar_content::ProtoParticle::m_clusterListV, lar_content::ProtoParticle::m_clusterListW, m_maxEndPointChi2, m_minMatchedFraction, max, 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::ThreeDBaseAlgorithm< T >::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().