HerdSoftware
0.1.1
|
Class describing a track. More...
#include <dataobjects/Track2D.h>
Public Member Functions | |
Track2D () | |
Default constructor. More... | |
Track2D (Line2D line) | |
Constructor. More... | |
Track2D (const StkClustersColl &clusterColl) | |
Constructor. More... | |
Track2D (const ScdClustersColl &clusterColl) | |
Constructor. More... | |
Track2D (const FitClustersColl &clusterColl) | |
Constructor. More... | |
virtual | ~Track2D ()=default |
Virtual destructor. More... | |
void | AddClusters (const StkClustersColl &clusterColl) |
Add STK clusters to the current collection. More... | |
void | AddClusters (const ScdClustersColl &clusterColl) |
Add SCD clusters to the current collection. More... | |
void | AddClusters (const FitClustersColl &clusterColl) |
Add FIT clusters to the current collection. More... | |
unsigned int | NClusters () const |
Returns the total number of clusters associated to the track. More... | |
const Herd::Line2D & | GetLine () const |
Returns the line associated to the track. More... | |
const StkClustersColl & | GetStkClusters () const |
Returns the STK clusters associated to the track. More... | |
const ScdClustersColl & | GetScdClusters () const |
Returns the SCD clusters associated to the track. More... | |
const FitClustersColl & | GetFitClusters () const |
Returns the FIT clusters associated to the track. More... | |
float | ClusterResidual (const Cluster &cluster, const TrackingDetectorGeoParams &geoParams) const |
Returns the residual of the track w.r.t. a given Cluster. More... | |
SidesArray< std::vector< std::vector< float > > > | GetStkResiduals (const StkGeoParamsColl &stkGeoParamsColl) const |
Returns the residual of the track w.r.t. all STK Clusters. More... | |
SidesArray< std::vector< std::vector< float > > > | GetScdResiduals (const ScdGeoParamsColl &scdGeoParamsColl) const |
Returns the residual of the track w.r.t. all SCD Clusters. More... | |
SidesArray< std::vector< std::vector< float > > > | GetFitResiduals (const FitGeoParamsColl &fitGeoParamsColl) const |
Returns the residual of the track w.r.t. all FIT Clusters. More... | |
Private Attributes | |
Herd::Line2D | m_line |
StkClustersColl | m_stkClusterColl |
ScdClustersColl | m_scdClusterColl |
FitClustersColl | m_fitClusterColl |
Class describing a track.
A track is broadly defined as a Line2D obtained by fitting a set of Clusters.
|
inline |
Default constructor.
|
inline |
Constructor.
Constructs a track starting from a already pre-computed line.
line | Already computed Line2D object. |
|
inline |
Constructor.
Constructs a track starting from a set of measured STK clusters.
clusterColl | Collection of measured clusters. |
|
inline |
Constructor.
Constructs a track starting from a set of measured SCD clusters.
clusterColl | Collection of measured clusters. |
|
inline |
Constructor.
Constructs a track starting from a set of measured FIT clusters.
clusterColl | Collection of measured clusters. |
|
virtualdefault |
Virtual destructor.
void Herd::Track2D::AddClusters | ( | const StkClustersColl & | clusterColl | ) |
Add STK clusters to the current collection.
Append new clusters to the current STK clusters collection.
clusterColl | Collection of measured clusters. |
void Herd::Track2D::AddClusters | ( | const ScdClustersColl & | clusterColl | ) |
Add SCD clusters to the current collection.
Append new clusters to the current SCD clusters collection.
clusterColl | Collection of measured clusters. |
void Herd::Track2D::AddClusters | ( | const FitClustersColl & | clusterColl | ) |
Add FIT clusters to the current collection.
Append new clusters to the current FIT clusters collection.
clusterColl | Collection of measured clusters. |
float Herd::Track2D::ClusterResidual | ( | const Cluster & | cluster, |
const TrackingDetectorGeoParams & | geoParams | ||
) | const |
Returns the residual of the track w.r.t. a given Cluster.
|
inline |
Returns the FIT clusters associated to the track.
SidesArray< std::vector< std::vector< float > > > Herd::Track2D::GetFitResiduals | ( | const FitGeoParamsColl & | fitGeoParamsColl | ) | const |
Returns the residual of the track w.r.t. all FIT Clusters.
|
inline |
Returns the line associated to the track.
|
inline |
Returns the SCD clusters associated to the track.
SidesArray< std::vector< std::vector< float > > > Herd::Track2D::GetScdResiduals | ( | const ScdGeoParamsColl & | scdGeoParamsColl | ) | const |
Returns the residual of the track w.r.t. all SCD Clusters.
|
inline |
Returns the STK clusters associated to the track.
SidesArray< std::vector< std::vector< float > > > Herd::Track2D::GetStkResiduals | ( | const StkGeoParamsColl & | stkGeoParamsColl | ) | const |
Returns the residual of the track w.r.t. all STK Clusters.
unsigned int Herd::Track2D::NClusters | ( | ) | const |
Returns the total number of clusters associated to the track.
|
private |
|
private |
|
private |
|
private |