17 Gen::DepoBagger::~DepoBagger()
27 cfg[
"gate"] = Json::arrayValue;
34 m_gate = std::pair<double,double>(cfg[
"gate"][0].asDouble(),
35 cfg[
"gate"][1].asDouble());
44 deposetqueue.push_back(out);
46 deposetqueue.push_back(
nullptr);
51 const double t = depo->time();
virtual bool operator()(const input_pointer &depo, output_queue &deposetqueue)
The calling signature:
std::pair< double, double > m_gate
std::deque< output_pointer > output_queue
WIRECELL_FACTORY(DepoBagger, WireCell::Gen::DepoBagger, WireCell::IDepoCollector, WireCell::IConfigurable) using namespace std
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Json::Value Configuration
std::shared_ptr< const IDepo > input_pointer
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.