CMS 3D CMS Logo

Public Member Functions | Private Attributes

Cluster1D< T > Class Template Reference

#include <Cluster1D.h>

List of all members.

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

Detailed Description

template<class T>
class Cluster1D< T >

A generic templated cluster that lives in 1d.

Definition at line 13 of file Cluster1D.h.


Constructor & Destructor Documentation

template<class T >
Cluster1D< T >::Cluster1D ( )

Definition at line 43 of file Cluster1D.h.

template<class T >
Cluster1D< T >::Cluster1D ( const Measurement1D meas,
const std::vector< const T * > &  tracks,
double  weight = 1.0 
)

Definition at line 36 of file Cluster1D.h.


Member Function Documentation

template<class T >
Measurement1D Cluster1D< T >::position ( ) const
template<class T >
std::vector< const T * > Cluster1D< T >::tracks ( ) const
template<class T >
double Cluster1D< T >::weight ( ) const

Member Data Documentation

template<class T>
Measurement1D Cluster1D< T >::theMeasurement1D [private]

Definition at line 26 of file Cluster1D.h.

template<class T>
std::vector< const T *> Cluster1D< T >::theTracks [private]

Definition at line 27 of file Cluster1D.h.

template<class T>
double Cluster1D< T >::theWeight [private]

Definition at line 28 of file Cluster1D.h.