Public Types | Public Member Functions | List of all members
WireCell::ITrace Class Referenceabstract

#include <ITrace.h>

Inheritance diagram for WireCell::ITrace:
WireCell::IData< ITrace > wcls::LazyTrace WireCell::SimpleTrace WireCell::ZSEndedTrace

Public Types

typedef std::vector< float > ChargeSequence
 Sequential collection of charge. More...
 
- Public Types inherited from WireCell::IData< ITrace >
typedef ITrace value_type
 
typedef std::shared_ptr< const ITracepointer
 
typedef std::vector< pointervector
 
typedef std::shared_ptr< const vectorshared_vector
 

Public Member Functions

virtual ~ITrace ()
 
virtual int channel () const =0
 
virtual int tbin () const =0
 
virtual const ChargeSequencecharge () const =0
 
- Public Member Functions inherited from WireCell::IData< ITrace >
virtual ~IData ()
 

Detailed Description

Interface to charge vs time waveform signal on a channel.

A trace is an ordered sequence of charge measurements in contiguous time bins.

Definition at line 16 of file ITrace.h.

Member Typedef Documentation

Sequential collection of charge.

Definition at line 21 of file ITrace.h.

Constructor & Destructor Documentation

ITrace::~ITrace ( )
virtual

Definition at line 166 of file IfaceDesctructors.cxx.

166 {}

Member Function Documentation

virtual int WireCell::ITrace::channel ( ) const
pure virtual

Return the identifier number for the channel on which this trace was recorded.

Implemented in WireCell::SimpleTrace, wcls::LazyTrace, and WireCell::ZSEndedTrace.

virtual const ChargeSequence& WireCell::ITrace::charge ( ) const
pure virtual

Return the contiguous adc/charge measurements on the channel starting at tbin.

Implemented in WireCell::SimpleTrace, wcls::LazyTrace, and WireCell::ZSEndedTrace.

virtual int WireCell::ITrace::tbin ( ) const
pure virtual

Return the time bin relative to some absolute time (typically the start of the frame) at which the first ADC/charge in the trace was digitized (leading bin edge).

Implemented in WireCell::SimpleTrace, wcls::LazyTrace, and WireCell::ZSEndedTrace.


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