ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
TrigVSI::Cluster< T > Class Template Reference

Base class for clusters. More...

#include <DBScan.h>

Collaboration diagram for TrigVSI::Cluster< T >:

Public Member Functions

 Cluster ()
 
 Cluster (const std::vector< T > &points)
 
 Cluster (std::vector< T > &&points)
 
getPoint (size_t ipt) const
 
size_t nPoints () const
 
std::vector< T > & Points ()
 
const std::vector< T > & getPoints () const
 

Protected Attributes

std::vector< T > m_points
 

Detailed Description

template<typename T>
class TrigVSI::Cluster< T >

Base class for clusters.

Definition at line 24 of file DBScan.h.

Constructor & Destructor Documentation

◆ Cluster() [1/3]

template<typename T >
TrigVSI::Cluster< T >::Cluster ( )
inline

Definition at line 26 of file DBScan.h.

26 { m_points.clear(); };

◆ Cluster() [2/3]

template<typename T >
TrigVSI::Cluster< T >::Cluster ( const std::vector< T > &  points)
inline

Definition at line 27 of file DBScan.h.

27 : m_points( points ){};

◆ Cluster() [3/3]

template<typename T >
TrigVSI::Cluster< T >::Cluster ( std::vector< T > &&  points)
inline

Definition at line 28 of file DBScan.h.

28 : m_points( std::move(points) ){};

Member Function Documentation

◆ getPoint()

template<typename T >
T TrigVSI::Cluster< T >::getPoint ( size_t  ipt) const
inline

Definition at line 30 of file DBScan.h.

30 { return m_points[ipt]; };

◆ getPoints()

template<typename T >
const std::vector<T>& TrigVSI::Cluster< T >::getPoints ( ) const
inline

Definition at line 34 of file DBScan.h.

34 { return m_points; };

◆ nPoints()

template<typename T >
size_t TrigVSI::Cluster< T >::nPoints ( ) const
inline

Definition at line 31 of file DBScan.h.

31 { return m_points.size(); };

◆ Points()

template<typename T >
std::vector<T>& TrigVSI::Cluster< T >::Points ( )
inline

Definition at line 33 of file DBScan.h.

33 { return m_points; };

Member Data Documentation

◆ m_points

template<typename T >
std::vector<T> TrigVSI::Cluster< T >::m_points
protected

Definition at line 37 of file DBScan.h.


The documentation for this class was generated from the following file:
TrigVSI::Cluster::m_points
std::vector< T > m_points
Definition: DBScan.h:34
jobOptions.points
points
Definition: jobOptions.GenevaPy8_Zmumu.py:97