LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 | 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... | |
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 24 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 34 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 35 of file PreProcessingAlgorithm.h.
|
private |
Definition at line 33 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 153 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().
|
private |
Build separate CaloHitLists for each view.
Definition at line 72 of file PreProcessingAlgorithm.cc.
References GetFilteredCaloHitList(), m_filteredCaloHitListName, m_inputCaloHitListName, m_maxCellLengthScale, 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 206 of file PreProcessingAlgorithm.cc.
References m_currentCaloHitListReplacement, m_filteredCaloHitListName, m_inputCaloHitListName, m_maxCellLengthScale, m_minCellLengthScale, m_mipEquivalentCut, m_onlyAvailableCaloHits, m_outputCaloHitListNameU, m_outputCaloHitListNameV, m_outputCaloHitListNameW, and m_searchRegion1D.
|
private |
Definition at line 34 of file PreProcessingAlgorithm.cc.
References m_processedHits.
|
private |
Definition at line 42 of file PreProcessingAlgorithm.cc.
References m_currentCaloHitListReplacement, and ProcessCaloHits().
|
private |
The name of the calo hit list to replace the current list (optional)
Definition at line 72 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 71 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The input calo hit list name.
Definition at line 67 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The maximum length scale for calo hit.
Definition at line 63 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The minimum length scale for calo hit.
Definition at line 62 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
Minimum mip equivalent energy for calo hit.
Definition at line 61 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
Whether to only include available calo hits.
Definition at line 66 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_U hits.
Definition at line 68 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_V hits.
Definition at line 69 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The output calo hit list name for TPC_VIEW_W hits.
Definition at line 70 of file PreProcessingAlgorithm.h.
Referenced by ProcessCaloHits(), and ReadSettings().
|
private |
The set of all previously processed calo hits.
Definition at line 59 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 64 of file PreProcessingAlgorithm.h.
Referenced by GetFilteredCaloHitList(), and ReadSettings().