WireCell / wire-cell-gen

Wire Cell packages that can generate things like wires, cells, depositions, diffusions, slices, frames, ...
0 stars 1 forks source link

Update Ductor and ImpactZipper to use an IDepoFramer #28

Closed brettviren closed 3 years ago

brettviren commented 6 years ago

Ductor currently does really two main things:

1) handle input depo management mode and ("fixed", "continuous")

2) delegate to ImpactZipper to actually calculate the waveforms.

A new method replacing his second one (and not covered in this ticket) is needed for this calculation which is faster. It can otherwise reuse the first of the above Ductor functionality. But to do that a component interface needs to be inserted between these two functionalities.

The existing IDepoFramer is a suitable interface.

Unordered steps to fix this bug:

brettviren commented 6 years ago

The new faster (for more than about 5000 depos) 2D FFT based "zipper" has been implemented directly in ImpactZipper and placed behind a m_flag variable. This needs to be moved out of this source file.