WireSource.h
Go to the documentation of this file.
1 #ifndef WIRECELLGEN_WIRESOURCE
2 #define WIRECELLGEN_WIRESOURCE
3 
8 
9 namespace WireCell {
10 
11  /** A WireCell::IWireSource facade in front of
12  * WireCell::WireParams and WireCell::WireGenerator.
13  */
14 
15  class WireSource : public IWireSource, public IConfigurable {
16  public:
17  WireSource();
18  virtual ~WireSource();
19 
20  virtual bool operator()(output_pointer& wires);
21 
22  /** Configurable interface.
23  */
24  virtual void configure(const WireCell::Configuration& config);
26 
27  private:
28  std::shared_ptr<WireParams> m_params;
30  };
31 
32 
33 }
34 
35 #endif
virtual void configure(const WireCell::Configuration &config)
Definition: WireSource.cxx:24
std::shared_ptr< WireParams > m_params
Definition: WireSource.h:28
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: WireSource.cxx:20
std::shared_ptr< const IWire::vector > output_pointer
Definition: ISourceNode.h:38
static Config * config
Definition: config.cpp:1054
Definition: Main.h:22
WireGenerator m_wiregen
Definition: WireSource.h:29
Json::Value Configuration
Definition: Configuration.h:50
virtual bool operator()(output_pointer &wires)
The calling signature:
Definition: WireSource.cxx:29