Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::ClusterFitHelper Class Reference

ClusterFitHelper class. More...

#include "ClusterFitHelper.h"

Static Public Member Functions

static StatusCode FitStart (const Cluster *const pCluster, const unsigned int maxOccupiedLayers, ClusterFitResult &clusterFitResult)
 Fit points in first n occupied pseudolayers of a cluster.
 
static StatusCode FitEnd (const Cluster *const pCluster, const unsigned int maxOccupiedLayers, ClusterFitResult &clusterFitResult)
 Fit points in last n occupied pseudolayers of a cluster.
 
static StatusCode FitFullCluster (const Cluster *const pCluster, ClusterFitResult &clusterFitResult)
 Fit all points in a cluster.
 
static StatusCode FitLayers (const Cluster *const pCluster, const unsigned int startLayer, const unsigned int endLayer, ClusterFitResult &clusterFitResult)
 Fit all cluster points within the specified (inclusive) pseudolayer range.
 
static StatusCode FitLayerCentroids (const Cluster *const pCluster, const unsigned int startLayer, const unsigned int endLayer, ClusterFitResult &clusterFitResult)
 Fit all cluster centroids within the specified (inclusive) pseudolayer range.
 
static StatusCode FitPoints (ClusterFitPointList &clusterFitPointList, ClusterFitResult &clusterFitResult)
 Perform linear regression of x vs d and y vs d and z vs d (assuming same error on all hits)
 

Static Private Member Functions

static StatusCode PerformLinearFit (const CartesianVector &centralPosition, const CartesianVector &centralDirection, ClusterFitPointList &clusterFitPointList, ClusterFitResult &clusterFitResult)
 Perform linear fit to cluster fit points.
 

Detailed Description

ClusterFitHelper class.

Definition at line 214 of file ClusterFitHelper.h.

Member Function Documentation

◆ FitEnd()

StatusCode pandora::ClusterFitHelper::FitEnd ( const Cluster *const  pCluster,
const unsigned int  maxOccupiedLayers,
ClusterFitResult clusterFitResult 
)
static

Fit points in last n occupied pseudolayers of a cluster.

Parameters
pClusterthe cluster containing the ordered list of calo hits to fit
maxOccupiedLayersthe maximum number of occupied pseudo layers to consider
clusterFitResultto receive the cluster fit result

Definition at line 53 of file ClusterFitHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FitFullCluster()

StatusCode pandora::ClusterFitHelper::FitFullCluster ( const Cluster *const  pCluster,
ClusterFitResult clusterFitResult 
)
static

Fit all points in a cluster.

Parameters
pClusterthe cluster containing the ordered list of calo hits to fit
clusterFitResultto receive the cluster fit result

Definition at line 86 of file ClusterFitHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FitLayerCentroids()

StatusCode pandora::ClusterFitHelper::FitLayerCentroids ( const Cluster *const  pCluster,
const unsigned int  startLayer,
const unsigned int  endLayer,
ClusterFitResult clusterFitResult 
)
static

Fit all cluster centroids within the specified (inclusive) pseudolayer range.

Parameters
pClusterthe cluster containing the ordered list of calo hits to fit
startLayerthe start of the pseudolayer range
endLayerthe end of the pseudolayer range
clusterFitResultto receive the cluster fit result

Definition at line 148 of file ClusterFitHelper.cc.

Here is the call graph for this function:

◆ FitLayers()

StatusCode pandora::ClusterFitHelper::FitLayers ( const Cluster *const  pCluster,
const unsigned int  startLayer,
const unsigned int  endLayer,
ClusterFitResult clusterFitResult 
)
static

Fit all cluster points within the specified (inclusive) pseudolayer range.

Parameters
pClusterthe cluster containing the ordered list of calo hits to fit
startLayerthe start of the pseudolayer range
endLayerthe end of the pseudolayer range
clusterFitResultto receive the cluster fit result

Definition at line 111 of file ClusterFitHelper.cc.

Here is the call graph for this function:

◆ FitPoints()

StatusCode pandora::ClusterFitHelper::FitPoints ( ClusterFitPointList clusterFitPointList,
ClusterFitResult clusterFitResult 
)
static

Perform linear regression of x vs d and y vs d and z vs d (assuming same error on all hits)

Parameters
clusterFitPointListlist of cluster fit points
clusterFitResultto receive the cluster fit result

Definition at line 206 of file ClusterFitHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FitStart()

StatusCode pandora::ClusterFitHelper::FitStart ( const Cluster *const  pCluster,
const unsigned int  maxOccupiedLayers,
ClusterFitResult clusterFitResult 
)
static

Fit points in first n occupied pseudolayers of a cluster.

Parameters
pClusterthe cluster containing the ordered list of calo hits to fit
maxOccupiedLayersthe maximum number of occupied pseudo layers to consider
clusterFitResultto receive the cluster fit result

Definition at line 20 of file ClusterFitHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PerformLinearFit()

StatusCode pandora::ClusterFitHelper::PerformLinearFit ( const CartesianVector centralPosition,
const CartesianVector centralDirection,
ClusterFitPointList clusterFitPointList,
ClusterFitResult clusterFitResult 
)
staticprivate

Perform linear fit to cluster fit points.

Parameters
centralPositioncentral position of the cluster fit points
centralDirectioncentral direction of normal to cluster fit calorimeter cells
clusterFitPointListlist of cluster fit points
clusterFitResultto receive the cluster fit result

Definition at line 239 of file ClusterFitHelper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: