LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
LArPointingCluster class. More...
#include "LArPointingCluster.h"
Classes | |
class | Vertex |
Vertex class. More... | |
Public Member Functions | |
LArPointingCluster (const pandora::Cluster *const pCluster, const unsigned int fitHalfLayerWindow=10, const float fitLayerPitch=0.3f) | |
Constructor. More... | |
LArPointingCluster (const TwoDSlidingFitResult &slidingFitResult) | |
Constructor. More... | |
LArPointingCluster (const ThreeDSlidingFitResult &slidingFitResult) | |
Constructor. More... | |
const pandora::Cluster * | GetCluster () const |
Get the address of the cluster. More... | |
const Vertex & | GetInnerVertex () const |
Get the inner vertex. More... | |
const Vertex & | GetOuterVertex () const |
Get the outer vertex. More... | |
float | GetLengthSquared () const |
Get length squared of pointing cluster. More... | |
float | GetLength () const |
Get length of pointing cluster. More... | |
Private Member Functions | |
void | BuildPointingCluster (const TwoDSlidingFitResult &slidingFitResult) |
Build the pointing cluster object from the sliding fit result. More... | |
void | BuildPointingCluster (const ThreeDSlidingFitResult &slidingFitResult) |
Build the pointing cluster object from the sliding fit result. More... | |
Private Attributes | |
const pandora::Cluster * | m_pCluster |
The address of the cluster. More... | |
Vertex | m_innerVertex |
The inner vertex. More... | |
Vertex | m_outerVertex |
The outer vertex. More... | |
LArPointingCluster class.
Definition at line 20 of file LArPointingCluster.h.
lar_content::LArPointingCluster::LArPointingCluster | ( | const pandora::Cluster *const | pCluster, |
const unsigned int | fitHalfLayerWindow = 10 , |
||
const float | fitLayerPitch = 0.3f |
||
) |
Constructor.
pCluster | address of the cluster |
fitHalfLayerWindow | the fit layer half window |
fitLayerPitch | the fit layer pitch, units cm |
lar_content::LArPointingCluster::LArPointingCluster | ( | const TwoDSlidingFitResult & | slidingFitResult | ) |
Constructor.
slidingFitResult | the input sliding fit result |
Definition at line 34 of file LArPointingCluster.cc.
lar_content::LArPointingCluster::LArPointingCluster | ( | const ThreeDSlidingFitResult & | slidingFitResult | ) |
Constructor.
slidingFitResult | the input sliding fit result |
Definition at line 41 of file LArPointingCluster.cc.
|
private |
Build the pointing cluster object from the sliding fit result.
slidingFitResult | the input sliding fit result |
Definition at line 48 of file LArPointingCluster.cc.
References lar_content::TwoDSlidingFitResult::GetCluster(), lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerDirection(), lar_content::TwoDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerDirection(), lar_content::TwoDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::TwoDSlidingFitResult::GetMaxLayer(), lar_content::TwoDSlidingFitResult::GetMaxLayerRms(), lar_content::TwoDSlidingFitResult::GetMinLayer(), and lar_content::TwoDSlidingFitResult::GetMinLayerRms().
|
private |
Build the pointing cluster object from the sliding fit result.
slidingFitResult | the input sliding fit result |
Definition at line 73 of file LArPointingCluster.cc.
References lar_content::ThreeDSlidingFitResult::GetCluster(), lar_content::ThreeDSlidingFitResult::GetGlobalMaxLayerDirection(), lar_content::ThreeDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::ThreeDSlidingFitResult::GetGlobalMinLayerDirection(), lar_content::ThreeDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::ThreeDSlidingFitResult::GetMaxLayer(), lar_content::ThreeDSlidingFitResult::GetMaxLayerRms(), lar_content::ThreeDSlidingFitResult::GetMinLayer(), and lar_content::ThreeDSlidingFitResult::GetMinLayerRms().
|
inline |
Get the address of the cluster.
Definition at line 201 of file LArPointingCluster.h.
References lar_content::LArPointingCluster::Vertex::m_pCluster.
Referenced by lar_content::LongitudinalExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LArPointingClusterHelper::GetClosestVertices(), lar_content::LongitudinalExtensionAlgorithm::GetListOfCleanClusters(), lar_content::CosmicRayExtensionAlgorithm::GetListOfCleanClusters(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), and lar_content::VertexBasedPfoRecoveryAlgorithm::MatchTwoViews().
|
inline |
Get the inner vertex.
Definition at line 208 of file LArPointingCluster.h.
References m_innerVertex.
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayParent(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::EventSlicingTool::CheckClosestApproach(), lar_content::LArPointingClusterHelper::CollectAssociatedClusters(), lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LArPointingClusterHelper::GetClosestVertices(), lar_content::LArStitchingHelper::GetClosestVertices(), lar_content::LArVertexHelper::GetClusterDirectionInZ(), lar_content::SlidingConePfoMopUpAlgorithm::GetClusterMergeMap(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetInnerVertex(), lar_content::LArPointingClusterHelper::GetLengthSquared(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetOuterVertex(), lar_content::ThreeDKinkBaseTool::IsALowestInX(), lar_content::EventSlicingTool::IsEmission(), lar_content::EventSlicingTool::IsNode(), lar_content::ShowerPfoMopUpAlgorithm::IsVertexAssociated(), lar_content::ShowerGrowingAlgorithm::IsVertexAssociated(), lar_content::ThreeDTracksBaseAlgorithm< T >::MakeClusterSplit(), lar_content::CosmicRayTrackRecoveryAlgorithm::MatchClusters(), lar_content::StitchingCosmicRayMergingTool::OrderPfoMerges(), lar_content::VertexAssociatedPfosTool::Run(), lar_content::VertexBasedPfoMopUpAlgorithm::Run(), lar_content::VertexBasedPfoRecoveryAlgorithm::SelectVertexClusters(), and lar_content::ParticleRecoveryAlgorithm::VertexClusterSelection().
|
inline |
Get length of pointing cluster.
Definition at line 229 of file LArPointingCluster.h.
References GetLengthSquared().
|
inline |
Get length squared of pointing cluster.
Definition at line 222 of file LArPointingCluster.h.
References lar_content::LArPointingCluster::Vertex::GetPosition(), m_innerVertex, and m_outerVertex.
Referenced by lar_content::VertexBasedPfoRecoveryAlgorithm::BuildSlidingFitResultMap(), lar_content::StitchingCosmicRayMergingTool::CreatePfoMatches(), and GetLength().
|
inline |
Get the outer vertex.
Definition at line 215 of file LArPointingCluster.h.
References m_outerVertex.
Referenced by lar_content::CosmicRayVertexBuildingAlgorithm::BuildCosmicRayParent(), lar_content::NeutrinoDaughterVerticesAlgorithm::BuildDaughterTrack(), lar_content::OvershootSplittingAlgorithm::BuildIntersectionMap(), lar_content::EventSlicingTool::CheckClosestApproach(), lar_content::LArPointingClusterHelper::CollectAssociatedClusters(), lar_content::CosmicRayExtensionAlgorithm::FillClusterAssociationMatrix(), lar_content::LArPointingClusterHelper::GetClosestVertices(), lar_content::LArStitchingHelper::GetClosestVertices(), lar_content::LArVertexHelper::GetClusterDirectionInZ(), lar_content::SlidingConePfoMopUpAlgorithm::GetClusterMergeMap(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetInnerVertex(), lar_content::LArPointingClusterHelper::GetLengthSquared(), lar_content::TransverseExtensionAlgorithm::GetListOfCleanClusters(), lar_content::VertexBasedPfoRecoveryAlgorithm::GetOuterVertex(), lar_content::ThreeDKinkBaseTool::IsALowestInX(), lar_content::EventSlicingTool::IsEmission(), lar_content::EventSlicingTool::IsNode(), lar_content::ShowerPfoMopUpAlgorithm::IsVertexAssociated(), lar_content::ShowerGrowingAlgorithm::IsVertexAssociated(), lar_content::ThreeDTracksBaseAlgorithm< T >::MakeClusterSplit(), lar_content::CosmicRayTrackRecoveryAlgorithm::MatchClusters(), lar_content::StitchingCosmicRayMergingTool::OrderPfoMerges(), lar_content::VertexAssociatedPfosTool::Run(), lar_content::VertexBasedPfoMopUpAlgorithm::Run(), lar_content::VertexBasedPfoRecoveryAlgorithm::SelectVertexClusters(), and lar_content::ParticleRecoveryAlgorithm::VertexClusterSelection().
|
private |
The inner vertex.
Definition at line 191 of file LArPointingCluster.h.
Referenced by GetInnerVertex(), and GetLengthSquared().
|
private |
The outer vertex.
Definition at line 192 of file LArPointingCluster.h.
Referenced by GetLengthSquared(), and GetOuterVertex().
|
private |
The address of the cluster.
Definition at line 190 of file LArPointingCluster.h.