ShowerHierarchyMopUpAlgorithm class.
More...
#include "ShowerHierarchyMopUpAlgorithm.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.
|
|
|
std::string | m_leadingPfoListName |
| The input leading pfo list name (e.g. list of neutrino or testbeam pfos)
|
|
◆ FindParentShowerPfos() [1/2]
void lar_content::ShowerHierarchyMopUpAlgorithm::FindParentShowerPfos |
( |
const pandora::Pfo *const |
pLeadiPfo, |
|
|
pandora::PfoList & |
parentShowerPfos |
|
) |
| const |
|
private |
Starting with provided pfo, find all downstream shower pfos that themselves have daughter pfos.
- Parameters
-
pPfo | the address of a pfo |
parentShowerPfos | to receive the list of parent shower pfos |
Definition at line 53 of file ShowerHierarchyMopUpAlgorithm.cc.
◆ FindParentShowerPfos() [2/2]
void lar_content::ShowerHierarchyMopUpAlgorithm::FindParentShowerPfos |
( |
const pandora::PfoList *const |
pLeadingPfoList, |
|
|
pandora::PfoList & |
parentShowerPfos |
|
) |
| const |
|
private |
Starting with provided leading pfos, find all shower pfos that themselves have daughter pfos.
- Parameters
-
pLeadingPfoList | the list of leading pfos |
parentShowerPfos | to receive the list of parent shower pfos |
Definition at line 43 of file ShowerHierarchyMopUpAlgorithm.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.
◆ GetListName()
template<typename T >
template const std::string lar_content::MopUpBaseAlgorithm::GetListName |
( |
const T *const |
pT | ) |
const |
|
inherited |
Find the name of the list hosting a specific object.
- Parameters
-
pT | the address of the object |
- Returns
- the name of the list
Definition at line 19 of file MopUpBaseAlgorithm.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.
◆ GetParentCluster()
Select the parent cluster (same hit type and most hits) using a provided cluster list and hit type.
- Parameters
-
clusterList | the cluster list |
hitType | the hit type |
- Returns
- the address of the parent cluster
Definition at line 61 of file PfoMopUpBaseAlgorithm.cc.
◆ 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 |
◆ MergeAndDeletePfos()
Merge and delete a pair of pfos, with a specific set of conventions for cluster merging, vertex use, etc.
- Parameters
-
pPfoToEnlarge | the address of the pfo to enlarge |
pPfoToDelete | the address of the pfo to delete (will become a dangling pointer) |
Definition at line 20 of file PfoMopUpBaseAlgorithm.cc.
◆ PerformPfoMerges()
void lar_content::ShowerHierarchyMopUpAlgorithm::PerformPfoMerges |
( |
const pandora::PfoList & |
parentShowerPfos | ) |
const |
|
private |
For each parent shower pfo, merge all downstream pfos back into the parent shower.
- Parameters
-
parentShowerPfos | the list of parent shower pfos |
Definition at line 74 of file ShowerHierarchyMopUpAlgorithm.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::ShowerHierarchyMopUpAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ m_daughterListNames
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_leadingPfoListName
std::string lar_content::ShowerHierarchyMopUpAlgorithm::m_leadingPfoListName |
|
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: