#include <Cluster1D.h>
Public Member Functions | |
Cluster1D () | |
Cluster1D (const Measurement1D &meas, const std::vector< const T * > &tracks, double weight=1.0) | |
Measurement1D | position () const |
std::vector< const T * > | tracks () const |
double | weight () const |
Private Attributes | |
Measurement1D | theMeasurement1D |
std::vector< const T * > | theTracks |
double | theWeight |
A generic templated cluster that lives in 1d.
Definition at line 13 of file Cluster1D.h.
Definition at line 43 of file Cluster1D.h.
: theMeasurement1D(), theTracks(), theWeight(0.) {}
Cluster1D< T >::Cluster1D | ( | const Measurement1D & | meas, |
const std::vector< const T * > & | tracks, | ||
double | weight = 1.0 |
||
) |
Definition at line 36 of file Cluster1D.h.
: theMeasurement1D(meas), theTracks(t), theWeight(weight) {}
Measurement1D Cluster1D< T >::position | ( | ) | const |
Definition at line 55 of file Cluster1D.h.
Referenced by pixeltemp::Cluster1DMerger< T >::operator()(), Cluster1DMerger< T >::operator()(), and Clusterizer1DCommons::ComparePairs< T >::operator()().
{ return theMeasurement1D; }
std::vector< const T * > Cluster1D< T >::tracks | ( | ) | const |
Definition at line 49 of file Cluster1D.h.
Referenced by pixeltemp::Cluster1DMerger< T >::operator()(), and Cluster1DMerger< T >::operator()().
{ return theTracks; }
double Cluster1D< T >::weight | ( | ) | const |
Definition at line 61 of file Cluster1D.h.
Referenced by pixeltemp::Cluster1DMerger< T >::operator()(), and Cluster1DMerger< T >::operator()().
{ return theWeight; }
Measurement1D Cluster1D< T >::theMeasurement1D [private] |
Definition at line 26 of file Cluster1D.h.
Definition at line 27 of file Cluster1D.h.
Definition at line 28 of file Cluster1D.h.