CMS 3D CMS Logo

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

◆ Cluster1D() [1/2]

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

Definition at line 38 of file Cluster1D.h.

◆ Cluster1D() [2/2]

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

Definition at line 34 of file Cluster1D.h.

Member Function Documentation

◆ position()

template<class T >
Measurement1D Cluster1D< T >::position ( ) const

Definition at line 46 of file Cluster1D.h.

46  {
47  return theMeasurement1D;
48 }

Referenced by Clusterizer1DCommons::ComparePairs< T >::operator()().

◆ tracks()

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

Definition at line 41 of file Cluster1D.h.

41  {
42  return theTracks;
43 }

◆ weight()

template<class T >
double Cluster1D< T >::weight ( ) const

Definition at line 51 of file Cluster1D.h.

51  {
52  return theWeight;
53 }

Member Data Documentation

◆ theMeasurement1D

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

Definition at line 24 of file Cluster1D.h.

◆ theTracks

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

Definition at line 25 of file Cluster1D.h.

◆ theWeight

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

Definition at line 26 of file Cluster1D.h.

Cluster1D::theMeasurement1D
Measurement1D theMeasurement1D
Definition: Cluster1D.h:24
Cluster1D::theTracks
std::vector< const T * > theTracks
Definition: Cluster1D.h:25
Cluster1D::theWeight
double theWeight
Definition: Cluster1D.h:26
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
weight
Definition: weight.py:1