LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
PreProcessingAlgorithm class. More...
#include "PreProcessingAlgorithm.h"
Public Member Functions | |
PreProcessingAlgorithm () | |
Default constructor. More... | |
Private Types | |
typedef KDTreeLinkerAlgo< const pandora::CaloHit *, 2 > | HitKDTree2D |
typedef KDTreeNodeInfoT< const pandora::CaloHit *, 2 > | HitKDNode2D |
typedef std::vector< HitKDNode2D > | HitKDNode2DList |
Private Member Functions | |
pandora::StatusCode | Reset () |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | ProcessCaloHits () |
Build separate CaloHitLists for each view. More... | |
void | PopulateVoidCaloHitLists () noexcept |
Build empty calo hit lists. More... | |
void | GetFilteredCaloHitList (const pandora::CaloHitList &inputList, pandora::CaloHitList &outputList) |
Clean up the input CaloHitList. More... | |
void | ProcessMCParticles () |
Build separate MCParticleLists for each view. More... | |
Private Attributes | |
pandora::CaloHitSet | m_processedHits |
The set of all previously processed calo hits. More... | |
float | m_mipEquivalentCut |
Minimum mip equivalent energy for calo hit. More... | |
float | m_minCellLengthScale |
The minimum length scale for calo hit. More... | |
float | m_maxCellLengthScale |
The maximum length scale for calo hit. More... | |
float | m_searchRegion1D |
Search region, applied to each dimension, for look-up from kd-trees. More... | |
unsigned int | m_maxEventHits |
The maximum number of hits in an event to proceed with the reconstruction. More... | |
bool | m_onlyAvailableCaloHits |
Whether to only include available calo hits. More... | |
std::string | m_inputCaloHitListName |
The input calo hit list name. More... | |
std::string | m_outputCaloHitListNameU |
The output calo hit list name for TPC_VIEW_U hits. More... | |
std::string | m_outputCaloHitListNameV |
The output calo hit list name for TPC_VIEW_V hits. More... | |
std::string | m_outputCaloHitListNameW |
The output calo hit list name for TPC_VIEW_W hits. More... | |
std::string | m_filteredCaloHitListName |
The output calo hit list name for all U, V and W hits. More... | |
std::string | m_currentCaloHitListReplacement |
The name of the calo hit list to replace the current list (optional) More... | |
PreProcessingAlgorithm class.
Definition at line 26 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 36 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 37 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 35 of file PreProcessingAlgorithm.h.
lar_content::PreProcessingAlgorithm::PreProcessingAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file PreProcessingAlgorithm.cc.
|
private |
Clean up the input CaloHitList.
inputList | the input CaloHitList |
outputList | the output CaloHitList |
Definition at line 189 of file PreProcessingAlgorithm.cc.
References lar_content::KDTreeLinkerAlgo< DATA, DIM >::build(), lar_content::build_2d_kd_search_region(), lar_content::fill_and_bound_2d_kd_tree(), m_searchRegion1D, and lar_content::KDTreeLinkerAlgo< DATA, DIM >::search().
Referenced by ProcessCaloHits().
|
privatenoexcept |
Build empty calo hit lists.
Definition at line 163 of file PreProcessingAlgorithm.cc.
References m_filteredCaloHitListName, m_outputCaloHitListNameU, m_outputCaloHitListNameV, and m_outputCaloHitListNameW.
Referenced by Run().
|
private |
Build separate CaloHitLists for each view.
Definition at line 79 of file PreProcessingAlgorithm.cc.
References GetFilteredCaloHitList(), m_filteredCaloHitListName, m_inputCaloHitListName, m_maxCellLengthScale, m_maxEventHits, m_minCellLengthScale, m_mipEquivalentCut, m_onlyAvailableCaloHits, m_outputCaloHitListNameU, m_outputCaloHitListNameV, m_outputCaloHitListNameW, and m_processedHits.
Referenced by Run().
|
private |
Build separate MCParticleLists for each view.
|
private |
Definition at line 243 of file PreProcessingAlgorithm.cc.
References m_currentCaloHitListReplacement, m_filteredCaloHitListName, m_inputCaloHitListName, m_maxCellLengthScale, m_maxEventHits, m_minCellLengthScale, m_mipEquivalentCut, m_onlyAvailableCaloHits, m_outputCaloHitListNameU, m_outputCaloHitListNameV, m_outputCaloHitListNameW, and m_searchRegion1D.
|
private |
Definition at line 35 of file PreProcessingAlgorithm.cc.
References m_processedHits.
|
private |
Definition at line 43 of file PreProcessingAlgorithm.cc.
References m_currentCaloHitListReplacement, PopulateVoidCaloHitLists(), and ProcessCaloHits().
|
private |
The name of the calo hit list to replace the current list (optional)
Definition at line 80 of file PreProcessingAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
The output calo hit list name for all U, V and W hits.
Definition at line 79 of file PreProcessingAlgorithm.h.
Referenced by PopulateVoidCaloHitLists(), ProcessCaloHits(), and ReadSettings().
|
private |
The input calo hit list name.
Definition at line 75 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The maximum length scale for calo hit.
Definition at line 70 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The maximum number of hits in an event to proceed with the reconstruction.
Definition at line 72 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The minimum length scale for calo hit.
Definition at line 69 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
Minimum mip equivalent energy for calo hit.
Definition at line 68 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
Whether to only include available calo hits.
Definition at line 74 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_U hits.
Definition at line 76 of file PreProcessingAlgorithm.h.
Referenced by PopulateVoidCaloHitLists(), ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_V hits.
Definition at line 77 of file PreProcessingAlgorithm.h.
Referenced by PopulateVoidCaloHitLists(), ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_W hits.
Definition at line 78 of file PreProcessingAlgorithm.h.
Referenced by PopulateVoidCaloHitLists(), ProcessCaloHits(), and ReadSettings().
|
private |
The set of all previously processed calo hits.
Definition at line 66 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and Reset().
|
private |
Search region, applied to each dimension, for look-up from kd-trees.
Definition at line 71 of file PreProcessingAlgorithm.h.
Referenced by GetFilteredCaloHitList(), and ReadSettings().