HerdSoftware
0.1.1
|
Class describing a track. More...
#include <dataobjects/Track.h>
Public Member Functions | |
Track () | |
Default constructor. More... | |
Track (Line line) | |
Constructor. More... | |
Track (const CaloAxis &caloAxis) | |
Constructor. More... | |
Track (const Track2D &proj1, RefFrame::View view1, const Track2D &proj2, RefFrame::View view2) | |
Constructor. More... | |
virtual | ~Track ()=default |
Virtual destructor. More... | |
const Herd::Line & | GetLine () const |
Returns the line associated to the track. 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... | |
void | AddCaloAxis (const CaloAxis &caloAxis) |
Add calo hits to the current collection. 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... | |
const CaloAxis & | GetCaloAxis () const |
Returns the calorimeter axis associated to the track. More... | |
Private Attributes | |
CaloAxis | m_caloAxis |
StkClustersColl | m_stkClusterColl |
ScdClustersColl | m_scdClusterColl |
FitClustersColl | m_fitClusterColl |
Herd::Line | m_line |
Class describing a track.
A track is broadly defined as a #Line obtained by fitting a set of Points. Fitting should be done externally by some dedicated code, then the obtained Line can be used to create the Track object
|
inline |
Default constructor.
|
inline |
Constructor.
Constructs a track starting from a already pre-computed line.
line | Already computed Line object. |
|
inline |
Constructor.
Constructs a track starting from a calorimeter axis.
caloAxis | Collection of measured clusters. |
Herd::Track::Track | ( | const Track2D & | proj1, |
RefFrame::View | view1, | ||
const Track2D & | proj2, | ||
RefFrame::View | view2 | ||
) |
Constructor.
Constructs a 3D track starting from two 2D projections.
proj1 | The first projection. |
view1 | The view of the first projection. |
proj2 | The second projection. |
view1 | The view of the second projection. |
Exception | if the 2D lines in the given projections are not valid. |
|
virtualdefault |
Virtual destructor.
|
inline |
Add calo hits to the current collection.
Append new clusters to the current calo hits collection.
clusterColl | Collection of measured clusters. |
void Herd::Track::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::Track::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::Track::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. |
|
inline |
Returns the calorimeter axis associated to the track.
|
inline |
Returns the FIT clusters associated to the track.
|
inline |
Returns the line associated to the track.
|
inline |
Returns the SCD clusters associated to the track.
|
inline |
Returns the STK clusters associated to the track.
|
private |
|
private |
|
private |
|
private |
|
private |