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

#include <SimpleDepoSet.h>

Inheritance diagram for WireCell::SimpleDepoSet:
WireCell::IDepoSet WireCell::IData< IDepoSet >

Public Member Functions

 SimpleDepoSet (int ident, const IDepo::vector &depos)
 
virtual ~SimpleDepoSet ()
 
virtual int ident () const
 Return some identifier number that is unique to this set. More...
 
virtual IDepo::shared_vector depos () const
 Return the depositions in this set. More...
 
- Public Member Functions inherited from WireCell::IDepoSet
virtual ~IDepoSet ()
 
- Public Member Functions inherited from WireCell::IData< IDepoSet >
virtual ~IData ()
 

Private Attributes

int m_ident
 
IDepo::shared_vector m_depos
 

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file SimpleDepoSet.h.

Constructor & Destructor Documentation

WireCell::SimpleDepoSet::SimpleDepoSet ( int  ident,
const IDepo::vector depos 
)
inline

Definition at line 10 of file SimpleDepoSet.h.

11  : m_ident(ident)
12  , m_depos(std::make_shared<IDepo::vector>(depos.begin(), depos.end()))
13  { }
IDepo::shared_vector m_depos
Definition: SimpleDepoSet.h:8
virtual int ident() const
Return some identifier number that is unique to this set.
Definition: SimpleDepoSet.h:15
virtual IDepo::shared_vector depos() const
Return the depositions in this set.
Definition: SimpleDepoSet.h:16
SimpleDepoSet::~SimpleDepoSet ( )
virtual

Definition at line 173 of file IfaceDesctructors.cxx.

173 {}

Member Function Documentation

virtual IDepo::shared_vector WireCell::SimpleDepoSet::depos ( ) const
inlinevirtual

Return the depositions in this set.

Implements WireCell::IDepoSet.

Definition at line 16 of file SimpleDepoSet.h.

16 { return m_depos; }
IDepo::shared_vector m_depos
Definition: SimpleDepoSet.h:8
virtual int WireCell::SimpleDepoSet::ident ( ) const
inlinevirtual

Return some identifier number that is unique to this set.

Implements WireCell::IDepoSet.

Definition at line 15 of file SimpleDepoSet.h.

15 { return m_ident; }

Member Data Documentation

IDepo::shared_vector WireCell::SimpleDepoSet::m_depos
private

Definition at line 8 of file SimpleDepoSet.h.

int WireCell::SimpleDepoSet::m_ident
private

Definition at line 7 of file SimpleDepoSet.h.


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