#include "PeakDirectionFinderTool.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.
|
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
void | CollectHitsWithinROI (const pandora::CaloHitList &showerHitList, const pandora::CaloHitList *const pViewHitList, const pandora::CartesianVector &nuVertex2D, pandora::CaloHitList &viewROIHits) const |
| Collect the 2D hits within a region of interest (m_ambiguousParticleMode ? hits not in the shower : hits within the initial shower cone [originating from the nu vertex])
|
|
void | GetAngularExtrema (const pandora::CaloHitList &showerHitList, const pandora::CartesianVector &nuVertex2D, float &lowestTheta, float &highestTheta) const |
| Determine the angle (from the +ve drift-axis) of the shower cone boundaries (originating from the nu vertex)
|
|
void | CollectHitsWithinExtrema (const pandora::CaloHitList *const pViewHitList, const pandora::CartesianVector &nuVertex2D, const float lowestTheta, const float highestTheta, pandora::CaloHitList &viewROIHits) const |
| Collect the hits that lie within the initial shower cone (originating from the nu vertex)
|
|
void | FillAngularDecompositionMap (const pandora::CaloHitList &viewShowerHitList, const pandora::CartesianVector &nuVertex2D, AngularDecompositionMap &angularDecompositionMap) const |
| Determine the angular distribution of the ROI hits.
|
|
void | SmoothAngularDecompositionMap (AngularDecompositionMap &angularDecompositionMap) const |
| Smooth the ROI angular angular distribution.
|
|
void | RetrievePeakDirections (const AngularDecompositionMap &angularDecompositionMap, pandora::CartesianPointVector &peakDirectionVector) const |
| Obtain a vector of directions from the angular distribution peaks.
|
|
Definition at line 17 of file PeakDirectionFinderTool.h.
◆ AngularDecompositionMap
◆ PeakDirectionFinderTool()
lar_content::PeakDirectionFinderTool::PeakDirectionFinderTool |
( |
| ) |
|
◆ CollectHitsWithinExtrema()
Collect the hits that lie within the initial shower cone (originating from the nu vertex)
- Parameters
-
pViewHitList | the event 2D hits list |
nuVertex2D | the 2D neutrino vertex |
lowestTheta | the lower angle (from the +ve drift-axis) boundary |
highestTheta | the higher angle (from the +ve drift-axis) boundary |
viewROIHits | the region of interest 2D hit list |
Definition at line 120 of file PeakDirectionFinderTool.cc.
◆ CollectHitsWithinROI()
Collect the 2D hits within a region of interest (m_ambiguousParticleMode ? hits not in the shower : hits within the initial shower cone [originating from the nu vertex])
- Parameters
-
showerHitList | the 2D shower hit list |
pViewHitList | the event 2D hits list |
nuVertex2D | the 2D neutrino vertex |
viewROIHits | the region of interest 2D hit list |
Definition at line 68 of file PeakDirectionFinderTool.cc.
◆ FillAngularDecompositionMap()
Determine the angular distribution of the ROI hits.
- Parameters
-
viewShowerHitList | the 2D shower hit list |
nuVertex2D | the 2D neutrino vertex |
angularDecompositionMap | the output [angle from drift-axis -> weight] map |
Definition at line 144 of file PeakDirectionFinderTool.cc.
◆ GetAngularExtrema()
Determine the angle (from the +ve drift-axis) of the shower cone boundaries (originating from the nu vertex)
- Parameters
-
showerHitList | the 2D shower hit list |
nuVertex2D | the 2D neutrino vertex |
lowestTheta | the lower angle boundary |
highestTheta | the higher angle boundary |
Definition at line 92 of file PeakDirectionFinderTool.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.
◆ 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 |
◆ 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 |
◆ RetrievePeakDirections()
Obtain a vector of directions from the angular distribution peaks.
- Parameters
-
angularDecompositionMap | the [angle from drift-axis -> weight] map |
peakDirectionVector | the output peak direction vector |
Definition at line 201 of file PeakDirectionFinderTool.cc.
◆ Run()
◆ SmoothAngularDecompositionMap()
void lar_content::PeakDirectionFinderTool::SmoothAngularDecompositionMap |
( |
AngularDecompositionMap & |
angularDecompositionMap | ) |
const |
|
private |
Smooth the ROI angular angular distribution.
- Parameters
-
angularDecompositionMap | the [angle from drift-axis -> weight] map |
Definition at line 173 of file PeakDirectionFinderTool.cc.
◆ m_ambiguousParticleMode
bool lar_content::PeakDirectionFinderTool::m_ambiguousParticleMode |
|
private |
Whether to find the initial pathway direction of the shower or of the other event particles.
Definition at line 96 of file PeakDirectionFinderTool.h.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_pathwaySearchRegion
float lar_content::PeakDirectionFinderTool::m_pathwaySearchRegion |
|
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_smoothingWindow
int lar_content::PeakDirectionFinderTool::m_smoothingWindow |
|
private |
On each side, the number of neighbouring bins with which each bin is averaged.
Definition at line 95 of file PeakDirectionFinderTool.h.
◆ m_theta0XZBinSize
float lar_content::PeakDirectionFinderTool::m_theta0XZBinSize |
|
private |
◆ 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: