LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MatchedEndPointsTool.h
Go to the documentation of this file.
1
8
#ifndef MATCHED_END_POINTS_TOOL_H
9
#define MATCHED_END_POINTS_TOOL_H 1
10
11
#include "
larpandoracontent/LArThreeDReco/LArLongitudinalTrackMatching/ThreeViewLongitudinalTracksAlgorithm.h
"
12
13
namespace
lar_content
14
{
15
19
class
MatchedEndPointsTool
:
public
LongitudinalTensorTool
20
{
21
public
:
25
MatchedEndPointsTool
();
26
27
bool
Run
(
ThreeViewLongitudinalTracksAlgorithm
*
const
pAlgorithm,
TensorType
&overlapTensor);
28
29
private
:
30
pandora::StatusCode
ReadSettings
(
const
pandora::TiXmlHandle xmlHandle);
31
38
void
FindMatchedTracks
(
const
TensorType
&overlapTensor,
ProtoParticleVector
&protoParticleVector)
const
;
39
48
static
bool
SortByChiSquared
(
const
TensorType::Element &lhs,
const
TensorType::Element &rhs);
49
50
float
m_minMatchedFraction
;
51
float
m_maxEndPointChi2
;
52
};
53
54
}
// namespace lar_content
55
56
#endif // #ifndef MATCHED_END_POINTS_TOOL_H
lar_content::OverlapTensor< LongitudinalOverlapResult >
lar_content::ProtoParticleVector
std::vector< ProtoParticle > ProtoParticleVector
Definition:
MatchingBaseAlgorithm.h:30
lar_content
Definition:
CheatingBeamParticleIdTool.cc:18
lar_content::MatchedEndPointsTool::MatchedEndPointsTool
MatchedEndPointsTool()
Default constructor.
Definition:
MatchedEndPointsTool.cc:18
lar_content::ThreeViewLongitudinalTracksAlgorithm
ThreeViewLongitudinalTracksAlgorithm class.
Definition:
ThreeViewLongitudinalTracksAlgorithm.h:29
lar_content::MatchedEndPointsTool::m_maxEndPointChi2
float m_maxEndPointChi2
The max chi2 of matched vertex and end points for particle creation.
Definition:
MatchedEndPointsTool.h:51
lar_content::MatchedEndPointsTool::FindMatchedTracks
void FindMatchedTracks(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Find matched tracks, hidden by ambiguities in the tensor.
Definition:
MatchedEndPointsTool.cc:40
lar_content::MatchedEndPointsTool::m_minMatchedFraction
float m_minMatchedFraction
The min matched sampling point fraction for particle creation.
Definition:
MatchedEndPointsTool.h:50
lar_content::MatchedEndPointsTool::Run
bool Run(ThreeViewLongitudinalTracksAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
Definition:
MatchedEndPointsTool.cc:26
lar_content::MatchedEndPointsTool::SortByChiSquared
static bool SortByChiSquared(const TensorType::Element &lhs, const TensorType::Element &rhs)
Sort tensor elements by chi-squared.
Definition:
MatchedEndPointsTool.cc:86
lar_content::LongitudinalTensorTool
LongitudinalTensorTool class.
Definition:
ThreeViewLongitudinalTracksAlgorithm.h:85
ThreeViewLongitudinalTracksAlgorithm.h
Header file for the three view longitudinal tracks algorithm class.
lar_content::MatchedEndPointsTool
MatchedEndPointsTool class.
Definition:
MatchedEndPointsTool.h:19
lar_content::MatchedEndPointsTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Definition:
MatchedEndPointsTool.cc:94
larpandoracontent
v04_08_01
source
larpandoracontent
LArThreeDReco
LArLongitudinalTrackMatching
MatchedEndPointsTool.h
Generated on Thu May 2 2024 20:59:42 for LArSoft by
1.8.11