BlobReframer.cxx
Go to the documentation of this file.
1 /*
2  This starts by finding the set of all frames accessible via slices
3  in a cluster that have at least one blob.
4 
5 
6 
7  */
8 
11 
12 
15 
16 
17 using namespace WireCell;
18 
20 {
21 }
22 
23 Img::BlobReframer::~BlobReframer()
24 {
25 }
26 
28 {
29 }
30 
31 WireCell::Configuration Img::BlobReframer::default_configuration() const
32 {
34  return cfg;
35 }
36 
37 // cluster goes in, frame goes out.
38 bool Img::BlobReframer::operator()(const input_pointer& in, output_pointer& out)
39 {
40  out = nullptr;
41  if (!in) {
42  return true; // EOS
43  }
44 
45  cluster_indexed_graph_t grind(in->graph());
46 
47  for (auto iblob : oftype<IBlob::pointer>(grind)) {
48  // to be continued.
49  }
50 
51 
52  return true;
53 }
54 
cfg
Definition: dbjson.py:29
WIRECELL_FACTORY(BlobReframer, WireCell::Img::BlobReframer, WireCell::IClusterFramer, WireCell::IConfigurable) using namespace WireCell
std::shared_ptr< const ICluster > input_pointer
Definition: IFunctionNode.h:39
def configure(cfg)
Definition: cuda.py:34
std::shared_ptr< const IFrame > output_pointer
Definition: IFunctionNode.h:40
Definition: Main.h:22
Json::Value Configuration
Definition: Configuration.h:50