DepoZipper.h
Go to the documentation of this file.
1 /** Make a frame from depos using an ImpactZipper.
2 
3  See also the very similar DepoTransform which is newer and faster.
4  */
5 
6 #ifndef WIRECELLGEN_DEPOZIPPER
7 #define WIRECELLGEN_DEPOZIPPER
8 
11 #include "WireCellIface/IRandom.h"
14 
15 namespace WireCell {
16  namespace Gen {
17 
18  class DepoZipper : public IDepoFramer, public IConfigurable {
19  public:
20  DepoZipper();
21  virtual ~DepoZipper();
22 
23  virtual bool operator()(const input_pointer& in, output_pointer& out);
24 
25 
26  virtual void configure(const WireCell::Configuration& cfg);
28  private:
29 
32  std::vector<IPlaneImpactResponse::pointer> m_pirs;
33 
34  double m_start_time;
36  double m_tick;
37  double m_drift_speed;
38  double m_nsigma;
40 
41  };
42  }
43 }
44 
45 #endif
IAnodePlane::pointer m_anode
Definition: DepoZipper.h:30
cfg
Definition: dbjson.py:29
std::shared_ptr< const IDepoSet > input_pointer
Definition: IFunctionNode.h:39
std::vector< IPlaneImpactResponse::pointer > m_pirs
Definition: DepoZipper.h:32
virtual void configure(const WireCell::Configuration &cfg)
Accept a configuration.
Definition: DepoZipper.cxx:32
std::shared_ptr< Interface > pointer
Definition: Interface.h:16
virtual bool operator()(const input_pointer &in, output_pointer &out)
The calling signature:
Definition: DepoZipper.cxx:103
IRandom::pointer m_rng
Definition: DepoZipper.h:31
std::shared_ptr< const IFrame > output_pointer
Definition: IFunctionNode.h:40
Definition: Main.h:22
Json::Value Configuration
Definition: Configuration.h:50
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: DepoZipper.cxx:63