Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
PreProcessingAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_PRE_PROCESSING_ALGORITHM_H
9#define LAR_PRE_PROCESSING_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
13namespace lar_content
14{
15
16template <typename, unsigned int>
17class KDTreeLinkerAlgo;
18template <typename, unsigned int>
19class KDTreeNodeInfoT;
20
21//------------------------------------------------------------------------------------------------------------------------------------------
22
82
83} // namespace lar_content
84
85#endif // #ifndef LAR_PRE_PROCESSING_ALGORITHM_H
Header file for the algorithm class.
Class that implements the KDTree partition of 2D space and a closest point search algorithm.
Data stored in each KDTree node. The dim1/dim2 fields are usually the duplication of some PFRecHit va...
void ProcessCaloHits()
Build separate CaloHitLists for each view.
std::string m_currentCaloHitListReplacement
The name of the calo hit list to replace the current list (optional)
void PopulateVoidCaloHitLists() noexcept
Build empty calo hit lists.
void GetFilteredCaloHitList(const pandora::CaloHitList &inputList, pandora::CaloHitList &outputList)
Clean up the input CaloHitList.
std::string m_outputCaloHitListNameW
The output calo hit list name for TPC_VIEW_W hits.
std::string m_outputCaloHitListNameV
The output calo hit list name for TPC_VIEW_V hits.
KDTreeLinkerAlgo< const pandora::CaloHit *, 2 > HitKDTree2D
float m_mipEquivalentCut
Minimum mip equivalent energy for calo hit.
std::string m_inputCaloHitListName
The input calo hit list name.
void ProcessMCParticles()
Build separate MCParticleLists for each view.
KDTreeNodeInfoT< const pandora::CaloHit *, 2 > HitKDNode2D
float m_searchRegion1D
Search region, applied to each dimension, for look-up from kd-trees.
pandora::StatusCode Run()
Run the algorithm.
pandora::CaloHitSet m_processedHits
The set of all previously processed calo hits.
bool m_onlyAvailableCaloHits
Whether to only include available calo hits.
float m_minCellLengthScale
The minimum length scale for calo hit.
unsigned int m_maxEventHits
The maximum number of hits in an event to proceed with the reconstruction.
std::string m_filteredCaloHitListName
The output calo hit list name for all U, V and W hits.
float m_maxCellLengthScale
The maximum length scale for calo hit.
std::vector< HitKDNode2D > HitKDNode2DList
std::string m_outputCaloHitListNameU
The output calo hit list name for TPC_VIEW_U hits.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
pandora::StatusCode Reset()
Perform any operations when pandora is reset, typically at the end of each event.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
std::unordered_set< const CaloHit * > CaloHitSet
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.