DeltaRayParentAlgorithm class.
More...
#include "DeltaRayParentAlgorithm.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.
|
|
|
void | InitialisePfoLengthMap (const pandora::PfoList *const muonPfoList, const pandora::PfoList *const deltaRayPfoList, PfoLengthMap &pfoLengthMap) const |
| Initialise the delta ray pfo length map.
|
|
void | FindParentPfo (const PfoLengthMap &pfoLengthMap, const pandora::ParticleFlowObject *const pPfo, const pandora::ParticleFlowObject *&pParentPfo) const |
| Identify the parent pfo of a given delta ray pfo (can be either a cosmic ray or delta ray pfo)
|
|
pandora::StatusCode | GetTwoDSeparation (const pandora::ParticleFlowObject *const pPfo1, const pandora::ParticleFlowObject *const pPfo2, float &separation) const |
| Get distance between two Pfos using 2D clusters.
|
|
void | AssignToParentPfo (const pandora::PfoList *const muonPfoList, const pandora::PfoList *const deltaRayPfoList, const pandora::ParticleFlowObject *const pPfo, const pandora::ParticleFlowObject *const pParentPfo, PfoLengthMap &pfoLengthMap) const |
| Apply parent-child link (if parent is a cosmic ray create parent-child link else merge the delta ray cluster into parent delta ray pfo)
|
|
void | UpdatePfoLengthMap (const pandora::PfoList &pfosToRemove, const pandora::ParticleFlowObject *const pPfoToAdd, PfoLengthMap &pfoLengthMap) const |
| Update the pfo length map after a parent-child delta ray merge.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
◆ PfoLengthMap
◆ DeltaRayParentAlgorithm()
lar_content::DeltaRayParentAlgorithm::DeltaRayParentAlgorithm |
( |
| ) |
|
◆ AssignToParentPfo()
Apply parent-child link (if parent is a cosmic ray create parent-child link else merge the delta ray cluster into parent delta ray pfo)
- Parameters
-
muonPfoList | the list of all cosmic ray pfos |
deltaRayPfoList | the list of all delta ray pfos |
pPfo | the address of the input delta ray pfo |
pParentPfo | the address of the parent pfo |
pfoLengthMap | the mapping of pfos to their 2D length |
Definition at line 165 of file DeltaRayParentAlgorithm.cc.
◆ FindParentPfo()
Identify the parent pfo of a given delta ray pfo (can be either a cosmic ray or delta ray pfo)
- Parameters
-
pfoLengthMap | the mapping of pfos to their 2D length |
pPfo | the address of the input delta ray pfo |
pParentPfo | the output address of the parent pfo |
Definition at line 79 of file DeltaRayParentAlgorithm.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.
◆ 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.
◆ GetTwoDSeparation()
Get distance between two Pfos using 2D clusters.
- Parameters
-
pPfo | the address of the first Pfo |
pPfo | the address of the second Pfo |
to | recieve the output pfo separation |
- Returns
- whether the pfo separation could be calculated
Definition at line 122 of file DeltaRayParentAlgorithm.cc.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ InitialisePfoLengthMap()
Initialise the delta ray pfo length map.
- Parameters
-
muonPfoList | the list of all cosmic ray pfos |
deltaRayPfoList | the list of all delta ray pfos |
pfoLengthMap | the output mapping of pfos to their 2D length |
Definition at line 68 of file DeltaRayParentAlgorithm.cc.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ 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::DeltaRayParentAlgorithm::Run |
( |
| ) |
|
|
virtual |
◆ UpdatePfoLengthMap()
Update the pfo length map after a parent-child delta ray merge.
- Parameters
-
pfosToRemove | the list of pfos to remove from the map |
pPfoToAdd | the address of the pfo to add to the map |
pfoLengthMap | the mapping of pfos to their 2D length |
Definition at line 187 of file DeltaRayParentAlgorithm.cc.
◆ m_deltaRayPfoListName
std::string lar_content::DeltaRayParentAlgorithm::m_deltaRayPfoListName |
|
private |
◆ m_distanceForMatching
float lar_content::DeltaRayParentAlgorithm::m_distanceForMatching |
|
private |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_muonPfoListName
std::string lar_content::DeltaRayParentAlgorithm::m_muonPfoListName |
|
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: