10 #ifndef WIRECELLGEN_MULTIDUCTOR 11 #define WIRECELLGEN_MULTIDUCTOR 51 std::function<bool(IDepo::pointer depo)>
check;
std::shared_ptr< const IDepo > pointer
void merge(const output_queue &newframes)
IAnodePlane::pointer m_anode
void msg(const char *fmt,...)
virtual bool operator()(const input_pointer &depo, output_queue &frames)
The calling signature:
std::vector< SubDuctor > ductorchain_t
std::deque< output_pointer > output_queue
void dump_frame(const IFrame::pointer frame, std::string msg="Gen::MultiDuctor:")
MultiDuctor(const std::string anode="AnodePlane")
std::shared_ptr< Interface > pointer
void maybe_extract(const input_pointer &depo, output_queue &outframes)
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
std::vector< ductorchain_t > m_chains
output_queue m_frame_buffer
std::shared_ptr< IDuctor > pointer
Json::Value Configuration
std::shared_ptr< const IDepo > input_pointer
bool start_processing(const input_pointer &depo)
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
SubDuctor(const std::string &tn, std::function< bool(IDepo::pointer depo)> f, IDuctor::pointer d)
void function(int client, int *resource, int parblock, int *test, int p)
std::function< bool(IDepo::pointer depo)> check