ClusterSink.h
Go to the documentation of this file.
1 #ifndef WIRECELLIMG_CLUSTERSINK
2 #define WIRECELLIMG_CLUSTERSINK
3 
6 
7 #include <string>
8 
9 namespace WireCell {
10  namespace Img {
11 
12  class ClusterSink : public IClusterSink, public IConfigurable {
13  public:
14  ClusterSink();
15  virtual ~ClusterSink();
16 
17  virtual void configure(const WireCell::Configuration& cfg);
19 
20  virtual bool operator()(const ICluster::pointer& cluster);
21  private:
24  };
25  }
26 }
27 #endif
std::shared_ptr< const ICluster > pointer
Definition: IData.h:19
std::string string
Definition: nybbler.cc:12
cfg
Definition: dbjson.py:29
Cluster finding and building.
virtual bool operator()(const ICluster::pointer &cluster)
The calling signature:
Definition: ClusterSink.cxx:98
virtual void configure(const WireCell::Configuration &cfg)
Accept a configuration.
Definition: ClusterSink.cxx:29
Definition: Main.h:22
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: ClusterSink.cxx:35
Json::Value Configuration
Definition: Configuration.h:50