14 #ifndef LARWIRECELL_COMPONENTS_FRAMESAVER
15 #define LARWIRECELL_COMPONENTS_FRAMESAVER
17 #include "WireCellIface/IFrameFilter.h"
18 #include "WireCellIface/IConfigurable.h"
26 #include <unordered_map>
31 public WireCell::IFrameFilter,
32 public WireCell::IConfigurable {
38 virtual void produces(art::ProducesCollector& collector);
39 virtual void visit(art::Event & event);
42 virtual bool operator()(
const WireCell::IFrame::pointer& inframe,
43 WireCell::IFrame::pointer& outframe);
47 virtual void configure(
const WireCell::Configuration& config);
std::map< int, geo::View_t > m_chview
std::vector< int > channel_masks
virtual WireCell::Configuration default_configuration() const
IConfigurable.
void save_cmms(art::Event &event)
virtual bool operator()(const WireCell::IFrame::pointer &inframe, WireCell::IFrame::pointer &outframe)
IFrameFilter.
void save_empty(art::Event &event)
virtual void visit(art::Event &event)
Implement to visit an Art event.
std::vector< std::string > m_summary_tags
void save_as_cooked(art::Event &event)
virtual void configure(const WireCell::Configuration &config)
std::vector< std::string > m_frame_tags
Json::Value m_pedestal_mean
Definition of data types for geometry description.
void save_as_raw(art::Event &event)
std::function< float(const std::vector< float > &tsvals)> summarizer_function
std::vector< double > m_summary_scale
WireCell::IFrame::pointer m_frame
std::unordered_map< std::string, summarizer_function > m_summary_operators
std::vector< double > m_frame_scale
std::vector< int > channel_list
virtual void produces(art::ProducesCollector &collector)
IArtEventVisitor.
void save_summaries(art::Event &event)