Pandora
Pandora source code navigator
|
KinkSplittingAlgorithm class. More...
#include "KinkSplittingAlgorithm.h"
Public Member Functions | |
KinkSplittingAlgorithm () | |
Default constructor. | |
const std::string & | GetType () const |
Get the type. | |
const std::string & | GetInstanceName () const |
Get the instance name. | |
const Pandora & | GetPandora () const |
Get the associated pandora instance. | |
Protected Member Functions | |
virtual pandora::StatusCode | Run () |
Run the algorithm. | |
pandora::StatusCode | RunUsingCurrentList () const |
Run the algorithm using the current cluster list as input. | |
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. | |
Protected Attributes | |
unsigned int | m_slidingFitHalfWindow |
float | m_minClusterLength |
const Pandora * | m_pPandora |
The pandora object that will run the process. | |
std::string | m_type |
The process type. | |
std::string | m_instanceName |
The process instance name. | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Read the algorithm settings. | |
pandora::StatusCode | FindBestSplitPosition (const TwoDSlidingFitResult &slidingFitResult, pandora::CartesianVector &splitPosition) const |
Use sliding linear fit to identify the best split position. | |
pandora::StatusCode | DivideCaloHits (const pandora::Cluster *const pCluster, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const |
Divide calo hits in a cluster into two lists, each associated with a separate fragment cluster. | |
pandora::StatusCode | DivideCaloHits (const TwoDSlidingFitResult &slidingFitResult, const pandora::CartesianVector &splitPosition, pandora::CaloHitList &firstCaloHitList, pandora::CaloHitList &secondCaloHitList) const |
Use sliding linear fit to separate cluster into two fragments. | |
pandora::StatusCode | SplitCluster (const pandora::Cluster *const pCluster, pandora::ClusterList &clusterSplittingList) const |
Split cluster into two fragments. | |
Private Attributes | |
float | m_maxScatterRms |
float | m_maxScatterCosTheta |
float | m_maxSlidingCosTheta |
pandora::StringVector | m_inputClusterListNames |
The list of input cluster list names - if empty, use the current cluster list. | |
KinkSplittingAlgorithm class.
Definition at line 19 of file KinkSplittingAlgorithm.h.
lar_content::KinkSplittingAlgorithm::KinkSplittingAlgorithm | ( | ) |
Default constructor.
Definition at line 18 of file KinkSplittingAlgorithm.cc.
|
privatevirtualinherited |
Divide calo hits in a cluster into two lists, each associated with a separate fragment cluster.
pCluster | address of the cluster |
firstCaloHitList | the hits in the first fragment |
secondCaloHitList | the hits in the second fragment |
Implements lar_content::ClusterSplittingAlgorithm.
Definition at line 27 of file TwoDSlidingFitSplittingAlgorithm.cc.
|
privateinherited |
Use sliding linear fit to separate cluster into two fragments.
slidingFitResult | the input sliding fit result |
splitPosition | the split position |
firstCaloHitList | the hits in the first cluster fragment |
secondCaloHitList | the hits in the second cluster fragment |
Definition at line 55 of file TwoDSlidingFitSplittingAlgorithm.cc.
|
privatevirtual |
Use sliding linear fit to identify the best split position.
slidingFitResult | the input sliding fit result |
splitPosition | the best split position |
Implements lar_content::TwoDSlidingFitSplittingAlgorithm.
Definition at line 24 of file KinkSplittingAlgorithm.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Perform any operations that must occur after reading settings, but before running the process.
Reimplemented in lar_content::BdtBeamParticleIdTool, lar_content::BeamParticleIdTool, lar_content::CosmicRayTaggingTool, lar_content::EventReadingAlgorithm, lar_content::EventWritingAlgorithm, lar_content::LArPseudoLayerPlugin, lar_content::LArRotationalTransformationPlugin, EventReadingAlgorithm, and EventWritingAlgorithm.
Definition at line 126 of file Process.h.
|
privatevirtual |
Read the algorithm settings.
xmlHandle | the relevant xml handle |
Reimplemented from lar_content::TwoDSlidingFitSplittingAlgorithm.
Definition at line 85 of file KinkSplittingAlgorithm.cc.
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
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.
|
inlineprotectedvirtualinherited |
Perform any operations when pandora is reset, typically at the end of each event.
Reimplemented in lar_content::MasterAlgorithm, lar_content::PostProcessingAlgorithm, and lar_content::PreProcessingAlgorithm.
Definition at line 133 of file Process.h.
|
protectedvirtualinherited |
Run the algorithm.
Implements pandora::Algorithm.
Definition at line 20 of file ClusterSplittingAlgorithm.cc.
|
protectedinherited |
Run the algorithm using the current cluster list as input.
Definition at line 52 of file ClusterSplittingAlgorithm.cc.
|
privateinherited |
Split cluster into two fragments.
pCluster | address of the cluster |
clusterSplittingList | to receive the two cluster fragments |
Definition at line 77 of file ClusterSplittingAlgorithm.cc.
|
privateinherited |
The list of input cluster list names - if empty, use the current cluster list.
Definition at line 51 of file ClusterSplittingAlgorithm.h.
|
protectedinherited |
|
private |
Definition at line 41 of file KinkSplittingAlgorithm.h.
|
private |
Definition at line 40 of file KinkSplittingAlgorithm.h.
|
private |
Definition at line 42 of file KinkSplittingAlgorithm.h.
|
protectedinherited |
Definition at line 43 of file TwoDSlidingFitSplittingAlgorithm.h.
|
protectedinherited |
|
protectedinherited |
Definition at line 42 of file TwoDSlidingFitSplittingAlgorithm.h.
|
protectedinherited |