Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
ProtoShowerMatchingTool.h
Go to the documentation of this file.
1
8#ifndef LAR_PROTO_SHOWER_MATCHING_TOOL_H
9#define LAR_PROTO_SHOWER_MATCHING_TOOL_H 1
10
13
15
16namespace lar_content
17{
18
20{
21public:
26
27 pandora::StatusCode Run(const ProtoShowerVector &protoShowerVectorU, const ProtoShowerVector &protoShowerVectorV,
28 const ProtoShowerVector &protoShowerVectorW, ProtoShowerMatchVector &protoShowerMatchVector);
29
30private:
32
44 const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW, Consistency &consistency) const;
45
55 bool AreShowerStartsConsistent(const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW) const;
56
66 bool AreDirectionsConsistent(const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW) const;
67
78
83};
84
85//------------------------------------------------------------------------------------------------------------------------------------------
86} // namespace lar_content
87
88#endif // #ifndef LAR_PROTO_SHOWER_MATCHING_TOOL_H
Grouping of header files for many classes of use in particle flow algorithms.
Header file for the algorithm tool class.
Header file for the ProtoShower class.
bool ArePathwaysConsistent(const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW, Consistency &consistency) const
Determine whether three 2D connection pathways form a consistent 3D connection pathway.
float m_maxAngularDeviation
The max. opening angle between true and projected 2D initial directions for a match.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
float m_maxXSeparation
The max. drift-coordinate separation between matched 2D shower start positions.
float m_maxSeparation
The max. average separation between true and projected 2D shower start positions for a match.
bool AreDirectionsConsistent(const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW) const
Determine whether three 2D initial spine directions correspond to the same 3D initial spine direction...
bool AreShowerStartsConsistent(const ProtoShower &protoShowerU, const ProtoShower &protoShowerV, const ProtoShower &protoShowerW) const
Determine whether three 2D shower start positions correspond to the same 3D shower start position.
unsigned int m_spineSlidingFitWindow
The shower spine sliding fit window.
pandora::StatusCode Run(const ProtoShowerVector &protoShowerVectorU, const ProtoShowerVector &protoShowerVectorV, const ProtoShowerVector &protoShowerVectorW, ProtoShowerMatchVector &protoShowerMatchVector)
AlgorithmTool class. Algorithm tools will tend to be tailored for specific parent algorithms,...
CartesianVector class.
std::vector< ProtoShower > ProtoShowerVector
Consistency
Consistency enumeration.
std::vector< ProtoShowerMatch > ProtoShowerMatchVector
StatusCode
The StatusCode enum.