![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
CosmicRayVertexBuildingAlgorithm class. More...
#include "CosmicRayVertexBuildingAlgorithm.h"
Public Member Functions | |
| CosmicRayVertexBuildingAlgorithm () | |
| Default constructor. More... | |
Private Member Functions | |
| pandora::StatusCode | Run () |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| void | GetCosmicPfos (const pandora::PfoList *const pPfoList, pandora::PfoVector &pfoVector) const |
| Get the list of input pfos to this algorithm. More... | |
| void | BuildPointingClusterMap (const pandora::PfoVector &pfoVector, LArPointingClusterMap &pointingClusterMap) const |
| Build a map of 3D sliding fits from the input Pfos. More... | |
| void | BuildCosmicRayParticles (const LArPointingClusterMap &pointingClusterMap, const pandora::PfoVector &pfoVector) const |
| Reconstruct the vertex and direction of a list of cosmic-ray Pfos. More... | |
| void | BuildCosmicRayParent (const LArPointingClusterMap &pointingClusterMap, const pandora::ParticleFlowObject *const pPfo) const |
| Reconstruct the vertex and direction of a parent cosmic-ray Pfo. More... | |
| void | BuildCosmicRayDaughter (const pandora::ParticleFlowObject *const pPfo) const |
| Reconstruct the vertex and direction of a daughter cosmic-ray Pfo. More... | |
| void | SetParticleParameters (const pandora::CartesianVector &vtxPosition, const pandora::CartesianVector &vtxDirection, const pandora::ParticleFlowObject *const pPfo) const |
| Set the vertex and direction of the Pfos. More... | |
Private Attributes | |
| bool | m_useParentShowerVertex |
| use the parent pfo for the shower vertices More... | |
| unsigned int | m_halfWindowLayers |
| number of layers to use for half-window of sliding fit More... | |
| std::string | m_parentPfoListName |
| The name of the input pfo list. More... | |
| std::string | m_vertexListName |
| The name of the output vertex list. More... | |
CosmicRayVertexBuildingAlgorithm class.
Definition at line 21 of file CosmicRayVertexBuildingAlgorithm.h.
| lar_content::CosmicRayVertexBuildingAlgorithm::CosmicRayVertexBuildingAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file CosmicRayVertexBuildingAlgorithm.cc.
|
private |
Reconstruct the vertex and direction of a daughter cosmic-ray Pfo.
| pPfo | the daughter Pfo |
Definition at line 229 of file CosmicRayVertexBuildingAlgorithm.cc.
References f, lar_content::LArClusterHelper::GetClosestPositions(), lar_content::LArPfoHelper::GetClusters(), m_useParentShowerVertex, and SetParticleParameters().
Referenced by BuildCosmicRayParticles().
|
private |
Reconstruct the vertex and direction of a parent cosmic-ray Pfo.
| pointingClusterMap | the input map of 3D pointing clusters |
| pPfo | the input Pfo |
Definition at line 137 of file CosmicRayVertexBuildingAlgorithm.cc.
References f, lar_content::LArPfoHelper::GetClusters(), lar_content::LArPointingCluster::Vertex::GetDirection(), lar_content::LArClusterHelper::GetExtremalCoordinates(), lar_content::LArPointingCluster::GetInnerVertex(), lar_content::LArPointingCluster::GetOuterVertex(), lar_content::LArPointingCluster::Vertex::GetPosition(), max, min, and SetParticleParameters().
Referenced by BuildCosmicRayParticles().
|
private |
Reconstruct the vertex and direction of a list of cosmic-ray Pfos.
| pointingClusterMap | the input map of 3D pointing clusters |
| pfoList | the input list of Pfos |
Definition at line 118 of file CosmicRayVertexBuildingAlgorithm.cc.
References BuildCosmicRayDaughter(), BuildCosmicRayParent(), and lar_content::LArPfoHelper::IsFinalState().
Referenced by Run().
|
private |
Build a map of 3D sliding fits from the input Pfos.
| pfoList | the input particle flow objects |
| pointingClusterMap | the output map of 3D pointing clusters |
Definition at line 82 of file CosmicRayVertexBuildingAlgorithm.cc.
References lar_content::LArPfoHelper::GetClusters(), lar_content::LArGeometryHelper::GetWireZPitch(), lar_content::LArPfoHelper::IsTrack(), and m_halfWindowLayers.
Referenced by Run().
|
private |
Get the list of input pfos to this algorithm.
| pfoList | to receive the list of input pfos |
Definition at line 56 of file CosmicRayVertexBuildingAlgorithm.cc.
References lar_content::LArPfoHelper::GetAllDownstreamPfos(), lar_content::LArPfoHelper::GetClusters(), and lar_content::LArPfoHelper::IsFinalState().
Referenced by Run().
|
private |
Definition at line 307 of file CosmicRayVertexBuildingAlgorithm.cc.
References m_halfWindowLayers, m_parentPfoListName, m_useParentShowerVertex, and m_vertexListName.
|
private |
Definition at line 30 of file CosmicRayVertexBuildingAlgorithm.cc.
References BuildCosmicRayParticles(), BuildPointingClusterMap(), GetCosmicPfos(), and m_parentPfoListName.
|
private |
Set the vertex and direction of the Pfos.
| vtxPosition | the input vertex position |
| vtxDirection | the input vertex direction |
| pPfo | the input Pfo |
Definition at line 277 of file CosmicRayVertexBuildingAlgorithm.cc.
References m_vertexListName.
Referenced by BuildCosmicRayDaughter(), and BuildCosmicRayParent().
|
private |
number of layers to use for half-window of sliding fit
Definition at line 82 of file CosmicRayVertexBuildingAlgorithm.h.
Referenced by BuildPointingClusterMap(), and ReadSettings().
|
private |
The name of the input pfo list.
Definition at line 83 of file CosmicRayVertexBuildingAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
use the parent pfo for the shower vertices
Definition at line 81 of file CosmicRayVertexBuildingAlgorithm.h.
Referenced by BuildCosmicRayDaughter(), and ReadSettings().
|
private |
The name of the output vertex list.
Definition at line 84 of file CosmicRayVertexBuildingAlgorithm.h.
Referenced by ReadSettings(), and SetParticleParameters().