CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
Cluster1D< T > Class Template Reference

#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
 

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.

43  :
45 {}
double theWeight
Definition: Cluster1D.h:28
std::vector< const T * > theTracks
Definition: Cluster1D.h:27
Measurement1D theMeasurement1D
Definition: Cluster1D.h:26
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.

38  :
40 {}
tuple t
Definition: tree.py:139
double theWeight
Definition: Cluster1D.h:28
std::vector< const T * > theTracks
Definition: Cluster1D.h:27
double weight() const
Definition: Cluster1D.h:61
Measurement1D theMeasurement1D
Definition: Cluster1D.h:26

Member Function Documentation

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

Definition at line 49 of file Cluster1D.h.

Referenced by Cluster1DMerger< T >::operator()(), and pixeltemp::Cluster1DMerger< T >::operator()().

50 {
51  return theTracks;
52 }
std::vector< const T * > theTracks
Definition: Cluster1D.h:27
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.