WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <SimpleFrame.h>
Public Member Functions | |
SimpleFrame (int ident, double time, const ITrace::vector &traces, double tick=0.5 *units::microsecond, const Waveform::ChannelMaskMap &cmm=Waveform::ChannelMaskMap()) | |
SimpleFrame (int ident, double time, ITrace::shared_vector traces, double tick=0.5 *units::microsecond, const Waveform::ChannelMaskMap &cmm=Waveform::ChannelMaskMap()) | |
~SimpleFrame () | |
virtual int | ident () const |
Return an identifying number of this frame. More... | |
virtual double | time () const |
virtual double | tick () const |
Return the digitization sample period. More... | |
virtual ITrace::shared_vector | traces () const |
Return a vector of all traces ignoring any potential tag. More... | |
virtual Waveform::ChannelMaskMap | masks () const |
Return all masks associated with this frame. More... | |
virtual const tag_list_t & | frame_tags () const |
virtual const tag_list_t & | trace_tags () const |
virtual const trace_list_t & | tagged_traces (const tag_t &tag) const |
virtual const trace_summary_t & | trace_summary (const tag_t &tag) const |
void | tag_frame (const tag_t &tag) |
void | tag_traces (const tag_t &tag, const IFrame::trace_list_t &indices, const IFrame::trace_summary_t &summary=IFrame::trace_summary_t(0)) |
![]() | |
virtual | ~IFrame () |
![]() | |
virtual | ~IData () |
Additional Inherited Members | |
![]() | |
typedef std::string | tag_t |
typedef std::vector< tag_t > | tag_list_t |
typedef std::vector< size_t > | trace_list_t |
typedef std::vector< double > | trace_summary_t |
![]() | |
typedef IFrame | value_type |
typedef std::shared_ptr< const IFrame > | pointer |
typedef std::vector< pointer > | vector |
typedef std::shared_ptr< const vector > | shared_vector |
A simple frame.
This is is nothing more than a bag of data.
Definition at line 15 of file SimpleFrame.h.
SimpleFrame::SimpleFrame | ( | int | ident, |
double | time, | ||
const ITrace::vector & | traces, | ||
double | tick = 0.5*units::microsecond , |
||
const Waveform::ChannelMaskMap & | cmm = Waveform::ChannelMaskMap() |
||
) |
Definition at line 6 of file SimpleFrame.cxx.
SimpleFrame::SimpleFrame | ( | int | ident, |
double | time, | ||
ITrace::shared_vector | traces, | ||
double | tick = 0.5*units::microsecond , |
||
const Waveform::ChannelMaskMap & | cmm = Waveform::ChannelMaskMap() |
||
) |
Definition at line 13 of file SimpleFrame.cxx.
SimpleFrame::~SimpleFrame | ( | ) |
Definition at line 20 of file SimpleFrame.cxx.
|
virtual |
Implements WireCell::IFrame.
Definition at line 52 of file SimpleFrame.cxx.
|
virtual |
Return an identifying number of this frame.
Implements WireCell::IFrame.
Definition at line 24 of file SimpleFrame.cxx.
|
virtual |
Return all masks associated with this frame.
Reimplemented from WireCell::IFrame.
Definition at line 31 of file SimpleFrame.cxx.
void SimpleFrame::tag_frame | ( | const tag_t & | tag | ) |
Definition at line 71 of file SimpleFrame.cxx.
void SimpleFrame::tag_traces | ( | const tag_t & | tag, |
const IFrame::trace_list_t & | indices, | ||
const IFrame::trace_summary_t & | summary = IFrame::trace_summary_t(0) |
||
) |
|
virtual |
Implements WireCell::IFrame.
Definition at line 61 of file SimpleFrame.cxx.
|
virtual |
Return the digitization sample period.
Implements WireCell::IFrame.
Definition at line 26 of file SimpleFrame.cxx.
|
virtual |
Return the reference time of the frame w.r.t. some global time. Note, each trace has a "tbin" counting number of ticks w.r.t. to this time where the trace starts. In general, tbin is not zero.
Implements WireCell::IFrame.
Definition at line 25 of file SimpleFrame.cxx.
|
virtual |
Implements WireCell::IFrame.
Definition at line 66 of file SimpleFrame.cxx.
|
virtual |
Implements WireCell::IFrame.
Definition at line 56 of file SimpleFrame.cxx.
|
virtual |
Return a vector of all traces ignoring any potential tag.
Implements WireCell::IFrame.
Definition at line 28 of file SimpleFrame.cxx.