NeutrinoHierarchyAlgorithm class.
More...
#include "NeutrinoHierarchyAlgorithm.h"
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
◆ PfoInfoMap
◆ PfoRelationToolVector
◆ NeutrinoHierarchyAlgorithm()
lar_content::NeutrinoHierarchyAlgorithm::NeutrinoHierarchyAlgorithm |
( |
| ) |
|
◆ AdjustVertexAndPfoInfo()
Adjust neutrino vertex to ensure agreement with at least one pfo (first in sorted input list)
- Parameters
-
pNeutrinoPfo | the address of the (original) parent neutrino pfo |
candidateDaughterPfoList | the list of candidate daughter pfos |
pfoInfoMap | the pfo info map |
Definition at line 227 of file NeutrinoHierarchyAlgorithm.cc.
◆ DisplayPfoInfoMap()
Display the information in a pfo info map, visualising pfo parent/daughter links.
- Parameters
-
pNeutrinoPfo | the address of the (original) parent neutrino pfo |
pfoInfoMap | the pfo info map |
Definition at line 281 of file NeutrinoHierarchyAlgorithm.cc.
◆ GetCandidateDaughterPfoList()
void lar_content::NeutrinoHierarchyAlgorithm::GetCandidateDaughterPfoList |
( |
pandora::PfoList & |
candidateDaughterPfoList | ) |
const |
|
private |
Get the list of candidate daughter pfos.
- Parameters
-
candidateDaughterPfoList | to receive the candidate daughter pfo list |
Definition at line 127 of file NeutrinoHierarchyAlgorithm.cc.
◆ GetInitialPfoInfoMap()
void lar_content::NeutrinoHierarchyAlgorithm::GetInitialPfoInfoMap |
( |
const pandora::PfoList & |
pfoList, |
|
|
PfoInfoMap & |
pfoInfoMap |
|
) |
| const |
|
private |
Process a provided pfo list and populate an initial pfo info map.
- Parameters
-
pfoList | the provided pfo list |
pfoInfoMap | to receive the initial pfo info map |
Definition at line 149 of file NeutrinoHierarchyAlgorithm.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetNeutrinoPfo()
Get the address of the input neutrino pfo - enforces only one pfo present in input list; can return NULL if no neutrino exists.
- Parameters
-
to | receive the address of the input neutrino pfo |
Definition at line 104 of file NeutrinoHierarchyAlgorithm.cc.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ ProcessPfoInfoMap()
Process the information in a pfo info map, creating pfo parent/daughter links.
- Parameters
-
pNeutrinoPfo | the address of the (original) parent neutrino pfo |
candidateDaughterPfoList | the list of candidate daughter pfos |
pfoInfoMap | the pfo info map |
callDepth | depth of callstack for this function, tracking recursive use |
Definition at line 174 of file NeutrinoHierarchyAlgorithm.cc.
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::NeutrinoHierarchyAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ SeparatePfos()
Query the pfo info map and separate/extract pfos currently either acting as parents or associated with the neutrino vertex.
- Parameters
-
pfoInfoMap | the pfo info map |
assignedPfos | to receive the sorted vector of assigned pfos |
unassignedPfos | to receive the sorted vector of unassigned pfos |
Definition at line 28 of file NeutrinoHierarchyAlgorithm.cc.
◆ m_algorithmToolVector
◆ m_daughterPfoListNames
◆ m_displayPfoInfoMap
bool lar_content::NeutrinoHierarchyAlgorithm::m_displayPfoInfoMap |
|
private |
◆ m_halfWindowLayers
unsigned int lar_content::NeutrinoHierarchyAlgorithm::m_halfWindowLayers |
|
private |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_neutrinoPfoListName
std::string lar_content::NeutrinoHierarchyAlgorithm::m_neutrinoPfoListName |
|
private |
◆ m_neutrinoVertexListName
std::string lar_content::NeutrinoHierarchyAlgorithm::m_neutrinoVertexListName |
|
private |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: