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

#include <ZSEndedTrace.h>

Inheritance diagram for WireCell::ZSEndedTrace:
Collaboration diagram for WireCell::ZSEndedTrace:

Public Member Functions

 ZSEndedTrace (int chid, int nbins=0)
 
void operator() (int tbin, float charge)
 used to fill. More...
 
virtual int channel () const
 
virtual int tbin () const
 
virtual const ChargeSequencecharge () const
 
- Public Member Functions inherited from WireCell::ITrace
virtual ~ITrace ()
 
- Public Member Functions inherited from WireCell::IData< ITrace >
virtual ~IData ()
 

Additional Inherited Members

- Public Types inherited from WireCell::ITrace
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
 

Detailed Description

This concrete trace is filled by time bin and charge.

It provides the results of the filling such that the ChargeSequence is trivially (exactly) zero suppressed but only at the ends. Any zeros bounded by non-zero charge are kept.

Definition at line 17 of file ZSEndedTrace.h.

Constructor & Destructor Documentation

◆ ZSEndedTrace()

ZSEndedTrace::ZSEndedTrace ( int  chid,
int  nbins = 0 
)

Definition at line 6 of file ZSEndedTrace.cxx.

Member Function Documentation

◆ channel()

int ZSEndedTrace::channel ( ) const
virtual

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

Implements WireCell::ITrace.

Definition at line 19 of file ZSEndedTrace.cxx.

◆ charge()

const ZSEndedTrace::ChargeSequence & ZSEndedTrace::charge ( ) const
virtual

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

Implements WireCell::ITrace.

Definition at line 29 of file ZSEndedTrace.cxx.

Here is the caller graph for this function:

◆ operator()()

void ZSEndedTrace::operator() ( int  tbin,
float  charge 
)

used to fill.

Definition at line 12 of file ZSEndedTrace.cxx.

Here is the call graph for this function:

◆ tbin()

int ZSEndedTrace::tbin ( ) const
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).

Implements WireCell::ITrace.

Definition at line 24 of file ZSEndedTrace.cxx.


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