Public Member Functions | Private Attributes | List of all members
WireCell::Img::Data::Stripe Class Reference

#include <ImgData.h>

Inheritance diagram for WireCell::Img::Data::Stripe:
WireCell::IStripe WireCell::IData< IStripe >

Public Member Functions

 Stripe (int ident)
 
virtual ~Stripe ()
 
int ident () const
 An identifier for this stripe. More...
 
vector_t values () const
 the contiguous, ordered, per channel values. More...
 
void append (IChannel::pointer ich, value_t value)
 
- Public Member Functions inherited from WireCell::IStripe
virtual ~IStripe ()
 
- Public Member Functions inherited from WireCell::IData< IStripe >
virtual ~IData ()
 

Private Attributes

int m_ident
 
vector_t m_values
 

Additional Inherited Members

- Public Types inherited from WireCell::IStripe
typedef float value_t
 
typedef std::pair< IChannel::pointer, value_tpair_t
 A sample is a channel's value in the time slice. More...
 
typedef std::vector< pair_tvector_t
 
- Public Types inherited from WireCell::IData< IStripe >
typedef IStripe value_type
 
typedef std::shared_ptr< const IStripepointer
 
typedef std::vector< pointervector
 
typedef std::shared_ptr< const vectorshared_vector
 

Detailed Description

Definition at line 63 of file ImgData.h.

Constructor & Destructor Documentation

WireCell::Img::Data::Stripe::Stripe ( int  ident)
inline

Definition at line 68 of file ImgData.h.

68 : m_ident(ident) {}
int ident() const
An identifier for this stripe.
Definition: ImgData.h:71
Stripe::~Stripe ( )
virtual

Definition at line 5 of file ImgData.cxx.

6 {
7 }

Member Function Documentation

void WireCell::Img::Data::Stripe::append ( IChannel::pointer  ich,
value_t  value 
)
inline

Definition at line 76 of file ImgData.h.

76  {
77  m_values.push_back(make_pair(ich, value));
78  }
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
int WireCell::Img::Data::Stripe::ident ( ) const
inlinevirtual

An identifier for this stripe.

Implements WireCell::IStripe.

Definition at line 71 of file ImgData.h.

71 { return m_ident; }
vector_t WireCell::Img::Data::Stripe::values ( ) const
inlinevirtual

the contiguous, ordered, per channel values.

Implements WireCell::IStripe.

Definition at line 72 of file ImgData.h.

72 { return m_values; }

Member Data Documentation

int WireCell::Img::Data::Stripe::m_ident
private

Definition at line 64 of file ImgData.h.

vector_t WireCell::Img::Data::Stripe::m_values
private

Definition at line 65 of file ImgData.h.


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