1 #ifndef WIRECELL_SIMPLEFRAME 2 #define WIRECELL_SIMPLEFRAME 27 virtual int ident()
const;
28 virtual double time()
const;
29 virtual double tick()
const;
IFrame::tag_list_t m_frame_tags
virtual const trace_list_t & tagged_traces(const tag_t &tag) const
SimpleFrame(int ident, double time, const ITrace::vector &traces, double tick=0.5 *units::microsecond, const Waveform::ChannelMaskMap &cmm=Waveform::ChannelMaskMap())
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 const tag_list_t & trace_tags() const
static const double microsecond
std::vector< pointer > vector
virtual const tag_list_t & frame_tags() const
void tag_frame(const tag_t &tag)
std::vector< double > trace_summary_t
virtual double time() const
constexpr std::array< std::size_t, geo::vect::dimension< Vector >)> indices()
Returns a sequence of indices valid for a vector of the specified type.
ITrace::shared_vector m_traces
IFrame::trace_list_t indices
std::vector< tag_t > tag_list_t
const SimpleTraceInfo & get_trace_info(const IFrame::tag_t &tag) const
IFrame::trace_summary_t summary
virtual const trace_summary_t & trace_summary(const tag_t &tag) const
virtual double tick() const
Return the digitization sample period.
virtual ITrace::shared_vector traces() const
Return a vector of all traces ignoring any potential tag.
Waveform::ChannelMaskMap m_cmm
virtual int ident() const
Return an identifying number of this frame.
virtual Waveform::ChannelMaskMap masks() const
Return all masks associated with this frame.
std::vector< size_t > trace_list_t
std::shared_ptr< const vector > shared_vector
std::map< IFrame::tag_t, SimpleTraceInfo > m_trace_info
IFrame::tag_list_t m_trace_tags