LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "LArPointingCluster.h"
Public Member Functions | |
Vertex () | |
Default constructor. More... | |
Vertex (const pandora::Cluster *const pCluster, const pandora::CartesianVector &position, const pandora::CartesianVector &direction, const float rms, const bool isInner) | |
Constructor. More... | |
Vertex (const Vertex &rhs) | |
Copy constructor. More... | |
~Vertex () | |
Destructor. More... | |
const pandora::Cluster * | GetCluster () const |
Get the address of the cluster. More... | |
const pandora::CartesianVector & | GetPosition () const |
Get the vertex position. More... | |
const pandora::CartesianVector & | GetDirection () const |
Get the vertex direction. More... | |
float | GetRms () const |
Get rms from vertex fit. More... | |
bool | IsInnerVertex () const |
Is this the inner vertex. More... | |
bool | IsInitialized () const |
Whether the vertex has been initialized. More... | |
Vertex & | operator= (const Vertex &rhs) |
Vertex assigment operator. More... | |
Private Attributes | |
const pandora::Cluster * | m_pCluster |
The address of the cluster. More... | |
pandora::CartesianVector | m_position |
The vertex position. More... | |
pandora::CartesianVector | m_direction |
The vertex direction. More... | |
float | m_rms |
Rms from vertex fit. More... | |
bool | m_isInner |
Whether this is the inner vertex. More... | |
bool | m_isInitialized |
Whether the vertex has been initialized. More... | |
Vertex class.
Definition at line 26 of file LArPointingCluster.h.
lar_content::LArPointingCluster::Vertex::Vertex | ( | ) |
Default constructor.
Definition at line 97 of file LArPointingCluster.cc.
References m_direction, m_isInitialized, m_isInner, m_pCluster, m_position, and m_rms.
lar_content::LArPointingCluster::Vertex::Vertex | ( | const pandora::Cluster *const | pCluster, |
const pandora::CartesianVector & | position, | ||
const pandora::CartesianVector & | direction, | ||
const float | rms, | ||
const bool | isInner | ||
) |
Constructor.
pCluster | address of the cluster |
position | the vertex position |
direction | the vertex direction |
rms | the rms from vertex fit |
isInner | whether this is a cluster inner or outer vertex |
lar_content::LArPointingCluster::Vertex::Vertex | ( | const Vertex & | rhs | ) |
Copy constructor.
rhs | the vertex instance to copy |
Definition at line 122 of file LArPointingCluster.cc.
lar_content::LArPointingCluster::Vertex::~Vertex | ( | ) |
|
inline |
Get the address of the cluster.
Definition at line 237 of file LArPointingCluster.h.
References m_isInitialized, and m_pCluster.
Referenced by lar_content::LArPointingClusterHelper::GetAssociatedEnergy(), lar_content::LArPointingClusterHelper::GetAverageDirection(), and lar_content::CrossGapsExtensionAlgorithm::IsAssociated().
|
inline |
Get the vertex direction.
Definition at line 257 of file LArPointingCluster.h.
References m_direction, and m_isInitialized.
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayParent(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::LArStitchingHelper::CalculateX0(), lar_content::EventSlicingTool::CheckClosestApproach(), lar_content::StitchingCosmicRayMergingTool::CreatePfoMatches(), lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LArPointingClusterHelper::GetAssociatedEnergy(), lar_content::LArPointingClusterHelper::GetAverageDirection(), lar_content::LArPointingClusterHelper::GetImpactParameters(), lar_content::LArPointingClusterHelper::GetImpactParametersInYZ(), lar_content::LArPointingClusterHelper::IsEmission(), and lar_content::LArPointingClusterHelper::IsNode().
|
inline |
Get the vertex position.
Definition at line 247 of file LArPointingCluster.h.
References m_isInitialized, and m_position.
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayParent(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::LArStitchingHelper::CalculateX0(), lar_content::StitchingCosmicRayMergingTool::CalculateX0(), lar_content::EventSlicingTool::CheckClosestApproach(), lar_content::LArPointingClusterHelper::CollectAssociatedClusters(), lar_content::StitchingCosmicRayMergingTool::CreatePfoMatches(), lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LArPointingClusterHelper::GetAssociatedEnergy(), lar_content::LArPointingClusterHelper::GetAverageDirection(), lar_content::LArStitchingHelper::GetClosestVertices(), lar_content::LArVertexHelper::GetClusterDirectionInZ(), lar_content::SlidingConePfoMopUpAlgorithm::GetClusterMergeMap(), lar_content::LArPointingClusterHelper::GetImpactParameters(), lar_content::LArPointingClusterHelper::GetImpactParametersInYZ(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetInnerVertex(), lar_content::LArPointingCluster::GetLengthSquared(), lar_content::ThreeDKinkBaseTool::IsALowestInX(), lar_content::TwoViewThreeDKinkTool::IsALowestInX(), lar_content::CrossGapsExtensionAlgorithm::IsAssociated(), lar_content::LArPointingClusterHelper::IsEmission(), lar_content::EventSlicingTool::IsEmission(), lar_content::LArPointingClusterHelper::IsNode(), lar_content::EventSlicingTool::IsNode(), lar_content::NViewTrackMatchingAlgorithm< T >::MakeClusterSplit(), lar_content::CosmicRayTrackRecoveryAlgorithm::MatchClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::MatchTwoViews(), lar_content::TrackSplittingTool::PassesChecks(), lar_content::VertexAssociatedPfosTool::Run(), lar_content::OvershootTracksTool::SetSplitPosition(), and lar_content::ParticleRecoveryAlgorithm::VertexClusterSelection().
|
inline |
Get rms from vertex fit.
Definition at line 267 of file LArPointingCluster.h.
References m_isInitialized, and m_rms.
Referenced by lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix().
|
inline |
Whether the vertex has been initialized.
Definition at line 287 of file LArPointingCluster.h.
References m_isInitialized.
Referenced by lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), and lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix().
|
inline |
Is this the inner vertex.
Definition at line 277 of file LArPointingCluster.h.
References m_isInitialized, and m_isInner.
Referenced by lar_content::StitchingCosmicRayMergingTool::CreatePfoMatches(), lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetOuterVertex(), lar_content::CosmicRayTrackRecoveryAlgorithm::MatchClusters(), and lar_content::StitchingCosmicRayMergingTool::OrderPfoMerges().
LArPointingCluster::Vertex & lar_content::LArPointingCluster::Vertex::operator= | ( | const Vertex & | rhs | ) |
Vertex assigment operator.
rhs | the vertex to assign |
Definition at line 140 of file LArPointingCluster.cc.
References m_direction, m_isInitialized, m_isInner, m_pCluster, m_position, and m_rms.
|
private |
The vertex direction.
Definition at line 111 of file LArPointingCluster.h.
Referenced by GetDirection(), operator=(), and Vertex().
|
private |
Whether the vertex has been initialized.
Definition at line 114 of file LArPointingCluster.h.
Referenced by GetCluster(), GetDirection(), GetPosition(), GetRms(), IsInitialized(), IsInnerVertex(), operator=(), and Vertex().
|
private |
Whether this is the inner vertex.
Definition at line 113 of file LArPointingCluster.h.
Referenced by IsInnerVertex(), operator=(), and Vertex().
|
private |
The address of the cluster.
Definition at line 109 of file LArPointingCluster.h.
Referenced by GetCluster(), lar_content::LArPointingCluster::GetCluster(), operator=(), and Vertex().
|
private |
The vertex position.
Definition at line 110 of file LArPointingCluster.h.
Referenced by GetPosition(), operator=(), and Vertex().
|
private |
Rms from vertex fit.
Definition at line 112 of file LArPointingCluster.h.
Referenced by GetRms(), operator=(), and Vertex().