Public Member Functions | Private Attributes | List of all members
WireCell::SimpleCluster Class Reference

#include <SimpleCluster.h>

Inheritance diagram for WireCell::SimpleCluster:
WireCell::ICluster WireCell::IData< ICluster >

Public Member Functions

 SimpleCluster (const cluster_graph_t &g, int ident=0)
 
virtual int ident () const
 Return an identifying number. More...
 
virtual ~SimpleCluster ()
 
const cluster_graph_tgraph () const
 
cluster_graph_tgraph ()
 
- Public Member Functions inherited from WireCell::ICluster
virtual ~ICluster ()
 
- Public Member Functions inherited from WireCell::IData< ICluster >
virtual ~IData ()
 

Private Attributes

int m_ident
 
cluster_graph_t m_graph
 

Additional Inherited Members

- Public Types inherited from WireCell::IData< ICluster >
typedef ICluster value_type
 
typedef std::shared_ptr< const IClusterpointer
 
typedef std::vector< pointervector
 
typedef std::shared_ptr< const vectorshared_vector
 

Detailed Description

Definition at line 5 of file SimpleCluster.h.

Constructor & Destructor Documentation

WireCell::SimpleCluster::SimpleCluster ( const cluster_graph_t g,
int  ident = 0 
)
inline

Definition at line 7 of file SimpleCluster.h.

8  : m_ident(ident)
9  {
10  boost::copy_graph(g, m_graph);
11  }
static const double g
Definition: Units.h:145
virtual int ident() const
Return an identifying number.
Definition: SimpleCluster.h:12
cluster_graph_t m_graph
Definition: SimpleCluster.h:21
virtual WireCell::SimpleCluster::~SimpleCluster ( )
inlinevirtual

Definition at line 13 of file SimpleCluster.h.

13 { }

Member Function Documentation

const cluster_graph_t& WireCell::SimpleCluster::graph ( ) const
inlinevirtual

Implements WireCell::ICluster.

Definition at line 14 of file SimpleCluster.h.

14 { return m_graph; }
cluster_graph_t m_graph
Definition: SimpleCluster.h:21
cluster_graph_t& WireCell::SimpleCluster::graph ( )
inline

Definition at line 17 of file SimpleCluster.h.

17 { return m_graph; }
cluster_graph_t m_graph
Definition: SimpleCluster.h:21
virtual int WireCell::SimpleCluster::ident ( ) const
inlinevirtual

Return an identifying number.

Implements WireCell::ICluster.

Definition at line 12 of file SimpleCluster.h.

12 { return m_ident; }

Member Data Documentation

cluster_graph_t WireCell::SimpleCluster::m_graph
private

Definition at line 21 of file SimpleCluster.h.

int WireCell::SimpleCluster::m_ident
private

Definition at line 20 of file SimpleCluster.h.


The documentation for this class was generated from the following file: