LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
NeutrinoDaughterVerticesAlgorithm class. More...
#include "NeutrinoDaughterVerticesAlgorithm.h"
Public Member Functions | |
NeutrinoDaughterVerticesAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | GetDaughterPfos (const pandora::PfoList *const pfoList, pandora::PfoVector &pfoVector) const |
Get the vector of daughter pfos. More... | |
void | BuildPointingClusterMap (const pandora::PfoVector &pfoVector, LArPointingClusterMap &pointingClusterMap) const |
Build a map of 3D sliding fits from the input Pfos. More... | |
void | BuildDaughterParticles (const LArPointingClusterMap &pointingClusterMap, const pandora::PfoVector &pfoVector) const |
Reconstruct the vertex and direction of daughter Pfos. More... | |
void | BuildDaughterTrack (const LArPointingClusterMap &pointingClusterMap, const pandora::ParticleFlowObject *const pDaughterPfo) const |
Reconstruct the vertex and direction of a track-like Pfos. More... | |
void | BuildDaughterShower (const pandora::ParticleFlowObject *const pDaughterPfo) const |
Reconstruct the vertex and direction of a shower-like Pfos. 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_neutrinoListName |
The input list of pfo list names. More... | |
std::string | m_vertexListName |
The name of the output cosmic-ray vertex list. More... | |
NeutrinoDaughterVerticesAlgorithm class.
Definition at line 21 of file NeutrinoDaughterVerticesAlgorithm.h.
lar_content::NeutrinoDaughterVerticesAlgorithm::NeutrinoDaughterVerticesAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file NeutrinoDaughterVerticesAlgorithm.cc.
|
private |
Reconstruct the vertex and direction of daughter Pfos.
pointingClusterMap | the input map of 3D pointing clusters |
pfoVector | the input list of Pfos |
Definition at line 118 of file NeutrinoDaughterVerticesAlgorithm.cc.
References BuildDaughterShower(), BuildDaughterTrack(), and lar_content::LArPfoHelper::IsTrack().
Referenced by Run().
|
private |
Reconstruct the vertex and direction of a shower-like Pfos.
pPfo | the input Pfo |
Definition at line 232 of file NeutrinoDaughterVerticesAlgorithm.cc.
References f, lar_content::LArClusterHelper::GetClosestPosition(), lar_content::LArClusterHelper::GetClosestPositions(), lar_content::LArPfoHelper::GetClusters(), lar_content::LArPfoHelper::IsNeutrino(), m_useParentShowerVertex, and SetParticleParameters().
Referenced by BuildDaughterParticles().
|
private |
Reconstruct the vertex and direction of a track-like Pfos.
pointingClusterMap | the input map of 3D pointing clusters |
pPfo | the input Pfo |
Definition at line 137 of file NeutrinoDaughterVerticesAlgorithm.cc.
References f, lar_content::LArClusterHelper::GetClosestDistance(), 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(), lar_content::LArPfoHelper::IsNeutrino(), max, min, and SetParticleParameters().
Referenced by BuildDaughterParticles().
|
private |
Build a map of 3D sliding fits from the input Pfos.
pfoVector | the input particle flow objects |
pointingClusterMap | the output map of 3D pointing clusters |
Definition at line 82 of file NeutrinoDaughterVerticesAlgorithm.cc.
References lar_content::LArPfoHelper::GetClusters(), lar_content::LArGeometryHelper::GetWireZPitch(), lar_content::LArPfoHelper::IsTrack(), and m_halfWindowLayers.
Referenced by Run().
|
private |
Get the vector of daughter pfos.
pfoList | the input list of neutrino pfos |
pfoVector | to receive the vector of daughter pfos |
Definition at line 56 of file NeutrinoDaughterVerticesAlgorithm.cc.
References lar_content::LArPfoHelper::GetAllDownstreamPfos(), lar_content::LArPfoHelper::GetClusters(), and lar_content::LArPfoHelper::IsNeutrino().
Referenced by Run().
|
private |
Definition at line 325 of file NeutrinoDaughterVerticesAlgorithm.cc.
References m_halfWindowLayers, m_neutrinoListName, m_useParentShowerVertex, and m_vertexListName.
|
private |
Definition at line 30 of file NeutrinoDaughterVerticesAlgorithm.cc.
References BuildDaughterParticles(), BuildPointingClusterMap(), GetDaughterPfos(), and m_neutrinoListName.
|
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 295 of file NeutrinoDaughterVerticesAlgorithm.cc.
References m_vertexListName.
Referenced by BuildDaughterShower(), and BuildDaughterTrack().
|
private |
number of layers to use for half-window of sliding fit
Definition at line 83 of file NeutrinoDaughterVerticesAlgorithm.h.
Referenced by BuildPointingClusterMap(), and ReadSettings().
|
private |
The input list of pfo list names.
Definition at line 84 of file NeutrinoDaughterVerticesAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
use the parent pfo for the shower vertices
Definition at line 82 of file NeutrinoDaughterVerticesAlgorithm.h.
Referenced by BuildDaughterShower(), and ReadSettings().
|
private |
The name of the output cosmic-ray vertex list.
Definition at line 85 of file NeutrinoDaughterVerticesAlgorithm.h.
Referenced by ReadSettings(), and SetParticleParameters().