![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
DLNeutrinoHierarchyAlgorithm class. More...
#include "DLNeutrinoHierarchyAlgorithm.h"
Public Member Functions | |
| DLNeutrinoHierarchyAlgorithm () | |
| Default constructor. More... | |
| ~DLNeutrinoHierarchyAlgorithm () | |
| Default destructor. More... | |
Private Types | |
| typedef std::map< const pandora::ParticleFlowObject *, const pandora::MCParticle * > | PfoToMCParticleMap |
| typedef std::map< const pandora::ParticleFlowObject *, std::pair< const pandora::ParticleFlowObject *, int > > | ChildToParentPfoMap |
| typedef std::vector< pandora::PfoVector > | Hierarchy |
Private Member Functions | |
| pandora::StatusCode | Run () |
| bool | GetNeutrinoPfo (const pandora::ParticleFlowObject *&pNeutrinoPfo) const |
| Return the neutrino pfo. More... | |
| void | FillTrackShowerVectors (const pandora::ParticleFlowObject *const pNeutrinoPfo, HierarchyPfoVector &trackPfos, HierarchyPfoVector &showerPfos) const |
| Fill the track and shower-like HierarchyPfoVector. More... | |
| bool | GetExtremalVerticesAndDirections (const pandora::ParticleFlowObject *const pNeutrinoPfo, const pandora::ParticleFlowObject *const pPfo, const ThreeDSlidingFitResult &slidingFitResult, ExtremalPoint &upstreamPoint, ExtremalPoint &downstreamPoint) const |
| Identify the upstream (closest to the nu vertex) and downstream (furthest from the nu vertex) endpoints and directions of an input pfo. More... | |
| bool | GetShowerDirection (const pandora::ParticleFlowObject *const pPfo, const pandora::CartesianVector &vertex, pandora::CartesianVector &direction) const |
| Obtain the direction of a shower at a given endpoint from the angular decomposition of the shower's 'close' 3D hits. More... | |
| void | SetPrimaryScores (const pandora::ParticleFlowObject *const pNeutrinoPfo, HierarchyPfoVector &trackPfos, HierarchyPfoVector &showerPfos) const |
| Set the primary network scores of the HierarchyPfos. More... | |
| float | GetPrimaryScore (const pandora::ParticleFlowObject *const pNeutrinoPfo, const HierarchyPfoVector &trackPfos, const HierarchyPfo &hierarchyPfo) const |
| Call the primary network tool to obtain the primary score of a HierarchyPfo. More... | |
| void | UpdateHierarchy (const pandora::ParticleFlowObject *const pNeutrinoPfo, const bool buildPrimaryTier, const bool usePrimaryScore, const float trackThreshold, const float showerThreshold, const bool isLowerThreshold, HierarchyPfoVector &trackPfos, HierarchyPfoVector &showerPfos, Hierarchy &hierarchy) const |
| Add particles to the hierarchy if they satisfy a criteria. More... | |
| void | SetLaterTierScores (const pandora::ParticleFlowObject *const pNeutrinoPfo, HierarchyPfoVector &trackPfos, HierarchyPfoVector &showerPfos) const |
| Set the predicted parent and later tier score of the HierarchyPfos to be considered for the later tiers. More... | |
| float | GetLaterTierScore (const pandora::ParticleFlowObject *const pNeutrinoPfo, const HierarchyPfo &parentPfo, const HierarchyPfo &childPfo) const |
| Call the later tier network tool to obtain the later tier score of a parent-child link. More... | |
| void | BuildPandoraHierarchy (const pandora::ParticleFlowObject *const pNeutrinoPfo, const HierarchyPfoVector &trackPfos, const HierarchyPfoVector &showerPfos) const |
| Register the parent-child relationships in Pandora. More... | |
| bool | ShouldTrainOnEvent (const pandora::ParticleFlowObject *const pNeutrinoPfo) const |
| Whether the event should be trained on. More... | |
| void | GetParticleIDMap (const HierarchyPfoVector &trackPfos, const HierarchyPfoVector &showerPfos, std::map< const pandora::ParticleFlowObject *, int > &particleIDMap) const |
| Obtain the [pfo -> unique ID] map. More... | |
| std::pair< float, float > | GetTrainingCuts (const HierarchyPfo &parentHierarchyPfo, const HierarchyPfo &childHierarchyPfo, const bool trueParentOrientation, const bool trueChildOrientation) const |
| Get the training cuts for the later tier parent-child link these describe how well the child points back to the parent. More... | |
| void | FillEventTree (const HierarchyPfoVector &trackPfos, const HierarchyPfoVector &showerPfos, const int nPrimaryTrackLinks, const int nPrimaryShowerLinks, const int nLaterTierTrackTrackLinks, const int nLaterTierTrackShowerLinks) const |
| Fill the output event tree (containing event-level info) More... | |
| void | FillPrimaryTrees (const PfoToMCParticleMap &matchingMap, const ChildToParentPfoMap &childToParentPfoMap, const pandora::ParticleFlowObject *const pNeutrinoPfo, const HierarchyPfoVector &trackPfos, const HierarchyPfoVector &showerPfos, const std::map< const pandora::ParticleFlowObject *, int > &particleIDMap, int &nPrimaryTrackLinks, int &nPrimaryShowerLinks) const |
| Fill the primary trees (containing primary link info) More... | |
| void | FillPrimaryTree (const std::string &treeName, const bool isTrainingLink, const bool isTrueLink, const bool isOrientationCorrect, const int trueVisibleGen, const int truePDG, const int trueParentID, const int particleID, const DLPrimaryHierarchyTool::DLPrimaryNetworkParams &primaryNetworkParams) const |
| Enter an entry into the specified primary tree. More... | |
| void | FillLaterTierTrees (const PfoToMCParticleMap &matchingMap, const ChildToParentPfoMap &childToParentPfoMap, const pandora::ParticleFlowObject *const pNeutrinoPfo, const HierarchyPfoVector &trackPfos, const HierarchyPfoVector &showerPfos, const std::map< const pandora::ParticleFlowObject *, int > &particleIDMap, int &nTrackLinks, int &nShowerLinks) const |
| Fill the later tier trees (containing later tier link info) More... | |
| void | FillLaterTierTree (const std::string &treeName, const bool isTrainingLink, const bool isTrueLink, const bool isOrientationCorrect, const int childTrueGen, const std::pair< float, float > &trainingCuts, const int parentID, const int childID, const DLLaterTierHierarchyTool::DLLaterTierNetworkParams &networkParams) const |
| Enter an entry into the specified later tier tree. More... | |
| pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
| int | m_eventID |
| the event counter More... | |
| bool | m_trainingMode |
| whether to run in training mode More... | |
| std::string | m_trainingFileName |
| the name of the output training file More... | |
| std::string | m_eventTreeName |
| the name of the output event tree More... | |
| std::string | m_primaryTrackTreeName |
| the name of the output primary track link tree More... | |
| std::string | m_primaryShowerTreeName |
| the name of the output primary shower link tree More... | |
| std::string | m_laterTierTrackTrackTreeName |
| the name of the output track-track later tier link tree More... | |
| std::string | m_laterTierTrackShowerTreeName |
| the name of the output track-shower later tier link tree More... | |
| std::string | m_mcParticleListName |
| the name of the MCParticle list More... | |
| float | m_trainingVertexAccuracy |
| the maximum true-reco nu vertex displacement allowed for training More... | |
| std::string | m_neutrinoPfoListName |
| the name of the neutrino pfo list More... | |
| pandora::StringVector | m_pfoListNames |
| the name of the pfo lists More... | |
| unsigned int | m_minClusterSize |
| the minimum threshold of 3D hits of a considered pfo More... | |
| int | m_slidingFitWindow |
| the sliding fit window to use in pfo sliding linear fits More... | |
| float | m_regionForDirFit |
| the radius of the region used in shower direction fits More... | |
| int | m_nAngularBins |
| the number of angle bins used by the shower direction fitter More... | |
| float | m_primaryRegion |
| the radius of the nu vertex region where particles are assumed to be primaries More... | |
| float | m_primaryThresholdTrackPass1 |
| The threshold applied to tracks in pass 1 primary tier building. More... | |
| float | m_primaryThresholdShowerPass1 |
| The threshold applied to showers in pass 1 primary tier building. More... | |
| float | m_laterTierThresholdTrackPass1 |
| The threshold applied to track-track links in pass 1 later tier building. More... | |
| float | m_laterTierThresholdShowerPass1 |
| The threshold applied to track-shower links in pass 1 later tier building. More... | |
| float | m_primaryThresholdTrackPass2 |
| The threshold applied to tracks in pass 2 primary tier building. More... | |
| float | m_primaryThresholdShowerPass2 |
| The threshold applied to showers in pass 2 primary tier building. More... | |
| float | m_laterTierThresholdTrackPass2 |
| The threshold applied to track-track links in pass 2 later tier building. More... | |
| float | m_laterTierThresholdShowerPass2 |
| The threshold applied to track-shower links in pass 2 later tier building. More... | |
| DLPrimaryHierarchyTool * | m_primaryHierarchyTool |
| The tool used to build the primary tiers. More... | |
| DLLaterTierHierarchyTool * | m_laterTierHierarchyTool |
| The tool used to build the later tiers. More... | |
| DLCheatHierarchyTool * | m_cheatHierarchyTool |
| The tool used to obtain the true hierarchy. More... | |
DLNeutrinoHierarchyAlgorithm class.
Definition at line 31 of file DLNeutrinoHierarchyAlgorithm.h.
|
private |
Definition at line 46 of file DLNeutrinoHierarchyAlgorithm.h.
|
private |
Definition at line 47 of file DLNeutrinoHierarchyAlgorithm.h.
|
private |
Definition at line 45 of file DLNeutrinoHierarchyAlgorithm.h.
| lar_dl_content::DLNeutrinoHierarchyAlgorithm::DLNeutrinoHierarchyAlgorithm | ( | ) |
Default constructor.
Definition at line 31 of file DLNeutrinoHierarchyAlgorithm.cc.
References f, m_laterTierThresholdShowerPass1, m_laterTierThresholdShowerPass2, m_laterTierThresholdTrackPass1, m_laterTierThresholdTrackPass2, m_minClusterSize, m_nAngularBins, m_primaryRegion, m_primaryThresholdShowerPass1, m_primaryThresholdShowerPass2, m_primaryThresholdTrackPass1, m_primaryThresholdTrackPass2, m_regionForDirFit, and m_slidingFitWindow.
| lar_dl_content::DLNeutrinoHierarchyAlgorithm::~DLNeutrinoHierarchyAlgorithm | ( | ) |
Default destructor.
Definition at line 62 of file DLNeutrinoHierarchyAlgorithm.cc.
References m_eventTreeName, m_laterTierTrackShowerTreeName, m_laterTierTrackTrackTreeName, m_primaryShowerTreeName, m_primaryTrackTreeName, m_trainingFileName, and m_trainingMode.
|
private |
Register the parent-child relationships in Pandora.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
Definition at line 576 of file DLNeutrinoHierarchyAlgorithm.cc.
References lar_dl_content::DLPrimaryHierarchyTool::CalculateConnectionDistances(), FillEventTree(), FillLaterTierTree(), FillLaterTierTrees(), FillPrimaryTree(), FillPrimaryTrees(), lar_dl_content::HierarchyPfo::GetChildPfoVector(), lar_dl_content::HierarchyPfo::GetDownstreamPoint(), lar_dl_content::HierarchyPfo::GetIsInHierarchy(), lar_dl_content::HierarchyPfo::GetParentPfo(), GetParticleIDMap(), GetTrainingCuts(), lar_dl_content::HierarchyPfo::GetUpstreamPoint(), lar_dl_content::DLCheatHierarchyTool::IsNeutronChild(), m_cheatHierarchyTool, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_childConnectionDistance, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childCPDCA, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childCPExtrapDistance, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childCPLRatio, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childIsPOIClosestToNu, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childNSpacepoints, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childNuVertexSep, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_childTrackScore, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_connectionExtrapDistance, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_dca, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_doesChildConnect, m_eventID, m_eventTreeName, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_isPOIClosestToNu, m_laterTierHierarchyTool, m_laterTierTrackShowerTreeName, m_laterTierTrackTrackTreeName, m_mcParticleListName, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_nSpacepoints, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_nuSeparation, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_overshootEndDCA, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_overshootEndL, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_overshootStartDCA, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_overshootStartL, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_parentConnectionDistance, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentCPEigenvalueRatio, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentCPNDownstreamHits, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentCPNHitRatio, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentCPNUpstreamHits, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentCPOpeningAngle, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentEndRegionNHits, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentEndRegionNParticles, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentEndRegionRToWall, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentIsPOIClosestToNu, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentNSpacepoints, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentNuVertexSep, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_parentTrackScore, m_pfoListNames, m_primaryHierarchyTool, m_primaryShowerTreeName, m_primaryTrackTreeName, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_separation3D, m_trainingVertexAccuracy, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_vertexRegionNHits, lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_vertexRegionNParticles, lar_dl_content::DLLaterTierHierarchyTool::DLLaterTierNetworkParams::m_vertexSeparation, lar_dl_content::DLCheatHierarchyTool::Run(), lar_dl_content::DLPrimaryHierarchyTool::Run(), lar_dl_content::DLLaterTierHierarchyTool::Run(), and ShouldTrainOnEvent().
Referenced by Run().
|
private |
Fill the output event tree (containing event-level info)
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
| nPrimaryTrackLinks | the number of recorded primary track links |
| nPrimaryShowerLinks | the number of recorded primary shower links |
| nLaterTierTrackTrackLinks | the number of recorded track-track later tier links |
| nLaterTierTrackShowerLinks | the number of recorded track-shower later tier links |
Referenced by BuildPandoraHierarchy(), and Run().
|
private |
Enter an entry into the specified later tier tree.
| treeName | the name of the tree to fill |
| isTrainingLink | whether the input link is one to train on |
| isTrueLink | whether the input link is a true parent-child link |
| isOrientationCorrect | whether the assumed orientation of the particles is correct |
| trueChildGen | the true visible generation of the child particle |
| the | training cut pair of the parent-child link |
| parentID | the unique ID of the parent particle |
| childID | the unique ID of the child particle |
| networkParams | the network parameter variable values of the input link |
Referenced by BuildPandoraHierarchy().
|
private |
Fill the later tier trees (containing later tier link info)
| matchingMap | the [pfo -> mcparticle] matching map |
| childToParentPfoMap | the [child pfo -> true parent pfo] map |
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
| particleIDMap | the [pfo -> unique ID] map |
| nTrackLinks | the number of recorded track-track later tier links |
| nShowerLinks | the number of recorded track-shower later tier links |
Referenced by BuildPandoraHierarchy(), and Run().
|
private |
Enter an entry into the specified primary tree.
| treeName | the name of the tree to fill |
| isTrainingLink | whether the input link is one to train on |
| isTrueLink | whether the input link is a true parent-child link |
| isOrientationCorrect | whether the assumed orientation of the particle is correct |
| trueVisibleGen | the true visible generation of the particle |
| truePDG | the PDG of the matched MCParticle |
| trueParentID | the unique ID of the true parent |
| particleID | the unique ID of the particle |
| primaryNetworkParams | the network parameter variable values of the input link |
Referenced by BuildPandoraHierarchy().
|
private |
Fill the primary trees (containing primary link info)
| matchingMap | the [pfo -> mcparticle] matching map |
| childToParentPfoMap | the [child pfo -> true parent pfo] map |
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
| particleIDMap | the [pfo -> unique ID] map |
| nPrimaryTrackLinks | the number of recorded primary track links |
| nPrimaryShowerLinks | the number of recorded primary shower links |
Referenced by BuildPandoraHierarchy(), and Run().
|
private |
Fill the track and shower-like HierarchyPfoVector.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
Definition at line 178 of file DLNeutrinoHierarchyAlgorithm.cc.
References GetExtremalVerticesAndDirections(), m_minClusterSize, m_pfoListNames, and m_slidingFitWindow.
Referenced by Run().
|
private |
Identify the upstream (closest to the nu vertex) and downstream (furthest from the nu vertex) endpoints and directions of an input pfo.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| pPfo | a pointer to the pfo |
| slidingFitResult | the sliding fit result of the input pfo |
| upstreamPoint | the upstream endpoint |
| downstreamPoint | the downstream endpoint |
Definition at line 245 of file DLNeutrinoHierarchyAlgorithm.cc.
References f, lar_content::LArPointingCluster::Vertex::GetDirection(), lar_content::ThreeDSlidingFitResult::GetGlobalMaxLayerPosition(), lar_content::ThreeDSlidingFitResult::GetGlobalMinLayerPosition(), lar_content::LArPointingCluster::GetInnerVertex(), lar_content::LArPointingCluster::GetOuterVertex(), lar_content::LArPointingCluster::Vertex::GetPosition(), GetShowerDirection(), and lar_dl_content::ExtremalPoint::Set().
Referenced by FillTrackShowerVectors().
|
private |
Call the later tier network tool to obtain the later tier score of a parent-child link.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| parentPfo | the HierarchyPfo object of the parent pfo |
| childPfo | the HierarchyPfo object of the child pfo |
Definition at line 562 of file DLNeutrinoHierarchyAlgorithm.cc.
References m_laterTierHierarchyTool, and lar_dl_content::DLLaterTierHierarchyTool::Run().
Referenced by SetLaterTierScores().
|
private |
Return the neutrino pfo.
| the | pointer to the neutrino pfo to fill |
Definition at line 157 of file DLNeutrinoHierarchyAlgorithm.cc.
References m_neutrinoPfoListName.
Referenced by Run().
|
private |
Obtain the [pfo -> unique ID] map.
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
| particleIDMap | the [pfo -> unique ID] map to populate |
Referenced by BuildPandoraHierarchy(), and Run().
|
private |
Call the primary network tool to obtain the primary score of a HierarchyPfo.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| hierarchyPfo | the HierarchyPfo object of the input pfo |
Definition at line 404 of file DLNeutrinoHierarchyAlgorithm.cc.
References m_primaryHierarchyTool, and lar_dl_content::DLPrimaryHierarchyTool::Run().
Referenced by SetPrimaryScores().
|
private |
Obtain the direction of a shower at a given endpoint from the angular decomposition of the shower's 'close' 3D hits.
| pPfo | a pointer to the pfo |
| vertex | the position at which to find the direction |
| direction | the found direction |
Definition at line 322 of file DLNeutrinoHierarchyAlgorithm.cc.
References f, m_nAngularBins, and m_regionForDirFit.
Referenced by GetExtremalVerticesAndDirections().
|
private |
Get the training cuts for the later tier parent-child link these describe how well the child points back to the parent.
| parentHierarchyPfo | the HierarchyPfo object of the parent |
| childHierarchyPfo | the HierarchyPfo object of the child |
| trueParentOrientation | whether the parent POI is in the upstream position |
| trueChildOrientation | whether the child POI is in the upstream position |
Referenced by BuildPandoraHierarchy().
|
private |
Definition at line 975 of file DLNeutrinoHierarchyAlgorithm.cc.
References m_cheatHierarchyTool, m_eventID, m_eventTreeName, m_laterTierHierarchyTool, m_laterTierThresholdShowerPass1, m_laterTierThresholdShowerPass2, m_laterTierThresholdTrackPass1, m_laterTierThresholdTrackPass2, m_laterTierTrackShowerTreeName, m_laterTierTrackTrackTreeName, m_mcParticleListName, m_minClusterSize, m_nAngularBins, m_neutrinoPfoListName, m_pfoListNames, m_primaryHierarchyTool, m_primaryRegion, m_primaryShowerTreeName, m_primaryThresholdShowerPass1, m_primaryThresholdShowerPass2, m_primaryThresholdTrackPass1, m_primaryThresholdTrackPass2, m_primaryTrackTreeName, m_regionForDirFit, m_slidingFitWindow, m_trainingFileName, m_trainingMode, and m_trainingVertexAccuracy.
|
private |
Definition at line 82 of file DLNeutrinoHierarchyAlgorithm.cc.
References BuildPandoraHierarchy(), FillEventTree(), lar_dl_content::DLCheatHierarchyTool::FillHierarchyMap(), FillLaterTierTrees(), FillPrimaryTrees(), FillTrackShowerVectors(), GetNeutrinoPfo(), GetParticleIDMap(), m_cheatHierarchyTool, m_eventID, m_laterTierThresholdShowerPass1, m_laterTierThresholdShowerPass2, m_laterTierThresholdTrackPass1, m_laterTierThresholdTrackPass2, m_primaryThresholdShowerPass1, m_primaryThresholdShowerPass2, m_primaryThresholdTrackPass1, m_primaryThresholdTrackPass2, m_trainingMode, SetLaterTierScores(), SetPrimaryScores(), and UpdateHierarchy().
|
private |
Set the predicted parent and later tier score of the HierarchyPfos to be considered for the later tiers.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
Definition at line 508 of file DLNeutrinoHierarchyAlgorithm.cc.
References GetLaterTierScore(), and m_primaryRegion.
Referenced by Run().
|
private |
Set the primary network scores of the HierarchyPfos.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
Definition at line 392 of file DLNeutrinoHierarchyAlgorithm.cc.
References GetPrimaryScore().
Referenced by Run().
|
private |
Whether the event should be trained on.
| pNeutrinoPfo | a pointer to the neutrino pfo |
Referenced by BuildPandoraHierarchy().
|
private |
Add particles to the hierarchy if they satisfy a criteria.
| pNeutrinoPfo | a pointer to the neutrino pfo |
| buildPrimaryTier | whether to build the primary tier (or the later tier) |
| usePrimaryScore | whether to assess the primary score (or the later tier score) |
| trackThreshold | the threshold network score for tracks |
| showerThreshold | the threshold network score for showers |
| isLowerThreshold | whether the threshold is a minimum or maximum requirement |
| trackPfos | the track-like HierarchyPfoVector |
| showerPfos | the shower-like HierarchyPfoVector |
| hierarchy | the hierarchy object to modify |
Definition at line 418 of file DLNeutrinoHierarchyAlgorithm.cc.
Referenced by Run().
|
private |
The tool used to obtain the true hierarchy.
Definition at line 312 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and Run().
|
private |
the event counter
Definition at line 285 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and Run().
|
private |
the name of the output event tree
Definition at line 288 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
The tool used to build the later tiers.
Definition at line 311 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), GetLaterTierScore(), and ReadSettings().
|
private |
The threshold applied to track-shower links in pass 1 later tier building.
Definition at line 305 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to track-shower links in pass 2 later tier building.
Definition at line 309 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to track-track links in pass 1 later tier building.
Definition at line 304 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to track-track links in pass 2 later tier building.
Definition at line 308 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
the name of the output track-shower later tier link tree
Definition at line 292 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
the name of the output track-track later tier link tree
Definition at line 291 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
the name of the MCParticle list
Definition at line 293 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), and ReadSettings().
|
private |
the minimum threshold of 3D hits of a considered pfo
Definition at line 297 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), FillTrackShowerVectors(), and ReadSettings().
|
private |
the number of angle bins used by the shower direction fitter
Definition at line 300 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), GetShowerDirection(), and ReadSettings().
|
private |
the name of the neutrino pfo list
Definition at line 295 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by GetNeutrinoPfo(), and ReadSettings().
|
private |
the name of the pfo lists
Definition at line 296 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), FillTrackShowerVectors(), and ReadSettings().
|
private |
The tool used to build the primary tiers.
Definition at line 310 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), GetPrimaryScore(), and ReadSettings().
|
private |
the radius of the nu vertex region where particles are assumed to be primaries
Definition at line 301 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and SetLaterTierScores().
|
private |
the name of the output primary shower link tree
Definition at line 290 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
The threshold applied to showers in pass 1 primary tier building.
Definition at line 303 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to showers in pass 2 primary tier building.
Definition at line 307 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to tracks in pass 1 primary tier building.
Definition at line 302 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
The threshold applied to tracks in pass 2 primary tier building.
Definition at line 306 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), ReadSettings(), and Run().
|
private |
the name of the output primary track link tree
Definition at line 289 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
the radius of the region used in shower direction fits
Definition at line 299 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), GetShowerDirection(), and ReadSettings().
|
private |
the sliding fit window to use in pfo sliding linear fits
Definition at line 298 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by DLNeutrinoHierarchyAlgorithm(), FillTrackShowerVectors(), and ReadSettings().
|
private |
the name of the output training file
Definition at line 287 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by ReadSettings(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
whether to run in training mode
Definition at line 286 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by ReadSettings(), Run(), and ~DLNeutrinoHierarchyAlgorithm().
|
private |
the maximum true-reco nu vertex displacement allowed for training
Definition at line 294 of file DLNeutrinoHierarchyAlgorithm.h.
Referenced by BuildPandoraHierarchy(), and ReadSettings().