FrameSummer.h
Go to the documentation of this file.
1 // A frame summer can "add" two frames together, possibly limiting
2 // them by tag.
3 
4 #ifndef WIRECELL_GEN_FRAMESUMMER
5 #define WIRECELL_GEN_FRAMESUMMER
6 
9 
10 namespace WireCell {
11  namespace Gen {
12  class FrameSummer : public IFrameJoiner, public IConfigurable {
13  public:
14  FrameSummer();
15  virtual ~FrameSummer();
16 
17  // IJoinNode
18  virtual bool operator()(const input_tuple_type& intup,
19  output_pointer& out);
20 
21  // IConfigurable
22  virtual void configure(const WireCell::Configuration& config);
24  private:
25  double m_toffset;
26  bool m_align;
27 
28  };
29  }
30 }
31 
32 #endif
port_helper_type::template WrappedConst< std::shared_ptr >::type input_tuple_type
Definition: IJoinNode.h:46
virtual bool operator()(const input_tuple_type &intup, output_pointer &out)
Definition: FrameSummer.cxx:36
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: FrameSummer.cxx:12
static Config * config
Definition: config.cpp:1054
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition: FrameSummer.cxx:30
Definition: Main.h:22
Json::Value Configuration
Definition: Configuration.h:50