WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::ITrace Class Referenceabstract

#include <ITrace.h>

Inheritance diagram for WireCell::ITrace:
Collaboration diagram for WireCell::ITrace:

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

◆ ChargeSequence

typedef std::vector<float> WireCell::ITrace::ChargeSequence

Sequential collection of charge.

Definition at line 21 of file ITrace.h.

Constructor & Destructor Documentation

◆ ~ITrace()

ITrace::~ITrace ( )
virtual

Definition at line 166 of file IfaceDesctructors.cxx.

Member Function Documentation

◆ channel()

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, and WireCell::ZSEndedTrace.

◆ charge()

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, and WireCell::ZSEndedTrace.

◆ tbin()

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, and WireCell::ZSEndedTrace.


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