Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
MopUpRemnantsTool.h
Go to the documentation of this file.
1
8
#ifndef MOP_UP_REMNANTS_TOOL_H
9
#define MOP_UP_REMNANTS_TOOL_H 1
10
11
#include "
larpandoracontent/LArThreeDReco/LArShowerFragments/ThreeViewRemnantsAlgorithm.h
"
12
13
namespace
lar_content
14
{
15
19
class
MopUpRemnantsTool
:
public
RemnantTensorTool
20
{
21
public
:
25
MopUpRemnantsTool
();
26
27
bool
Run
(
ThreeViewRemnantsAlgorithm
*
const
pAlgorithm,
TensorType
&overlapTensor);
28
29
private
:
30
pandora::StatusCode
ReadSettings
(
const
pandora::TiXmlHandle
xmlHandle);
31
39
void
FindBestShowers
(
const
TensorType
&overlapTensor,
ProtoParticleVector
&protoParticleVector)
const
;
40
47
void
GetUsedClusters
(
const
TensorType::ElementList &elementList,
pandora::ClusterSet
&usedClusters)
const
;
48
56
void
SelectBestElement
(
const
TensorType::ElementList &elementList,
const
pandora::ClusterSet
&usedClusters,
57
TensorType::ElementList::const_iterator &bestIter)
const
;
58
};
59
60
}
// namespace lar_content
61
62
#endif
// #ifndef MOP_UP_REMNANTS_TOOL_H
ThreeViewRemnantsAlgorithm.h
Header file for the three view remnants algorithm class.
lar_content::MopUpRemnantsTool
MopUpRemnantsTool class.
Definition
MopUpRemnantsTool.h:20
lar_content::MopUpRemnantsTool::SelectBestElement
void SelectBestElement(const TensorType::ElementList &elementList, const pandora::ClusterSet &usedClusters, TensorType::ElementList::const_iterator &bestIter) const
Select the best triplet of clusters.
Definition
MopUpRemnantsTool.cc:81
lar_content::MopUpRemnantsTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
MopUpRemnantsTool.cc:107
lar_content::MopUpRemnantsTool::MopUpRemnantsTool
MopUpRemnantsTool()
Default constructor.
Definition
MopUpRemnantsTool.cc:18
lar_content::MopUpRemnantsTool::FindBestShowers
void FindBestShowers(const TensorType &overlapTensor, ProtoParticleVector &protoParticleVector) const
Identify candidate particles.
Definition
MopUpRemnantsTool.cc:38
lar_content::MopUpRemnantsTool::Run
bool Run(ThreeViewRemnantsAlgorithm *const pAlgorithm, TensorType &overlapTensor)
Run the algorithm tool.
Definition
MopUpRemnantsTool.cc:24
lar_content::MopUpRemnantsTool::GetUsedClusters
void GetUsedClusters(const TensorType::ElementList &elementList, pandora::ClusterSet &usedClusters) const
Copy used clusters into cluster list.
Definition
MopUpRemnantsTool.cc:69
lar_content::RemnantTensorTool
RemnantTensorTool class.
Definition
ThreeViewRemnantsAlgorithm.h:60
lar_content::RemnantTensorTool::TensorType
ThreeViewRemnantsAlgorithm::MatchingType::TensorType TensorType
Definition
ThreeViewRemnantsAlgorithm.h:62
lar_content::ThreeViewRemnantsAlgorithm
ThreeViewRemnantsAlgorithm class.
Definition
ThreeViewRemnantsAlgorithm.h:28
pandora::TiXmlHandle
Definition
tinyxml.h:1646
lar_content
Definition
CheatingBeamParticleIdTool.cc:19
lar_content::ProtoParticleVector
std::vector< ProtoParticle > ProtoParticleVector
Definition
MatchingBaseAlgorithm.h:30
pandora::ClusterSet
std::unordered_set< const Cluster * > ClusterSet
Definition
PandoraInternal.h:456
pandora::StatusCode
StatusCode
The StatusCode enum.
Definition
StatusCodes.h:100
LArContent
larpandoracontent
LArThreeDReco
LArShowerFragments
MopUpRemnantsTool.h