% Created 2021-01-14 Thu 12:15
% Intended LaTeX compiler: pdflatex
\documentclass[presentation]{beamer}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage{pdfpages}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{libertine}
\usepackage{fontawesome}
\usetheme{Boadilla}
\setbeamertemplate{navigation symbols}{}
\hypersetup{colorlinks}
\setbeamerfont{alerted text}{series=\bfseries}
\usetheme{default}
\author{Brett Viren and Andrea Scarpelli}
\date{\today}
\title{Wire-Cell TPC Responses, Simulation, Signal Processing and Implications for Vertical Drift Designs}
\hypersetup{
 pdfauthor={Brett Viren and Andrea Scarpelli},
 pdftitle={Wire-Cell TPC Responses, Simulation, Signal Processing and Implications for Vertical Drift Designs},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 27.0.91 (Org mode 9.3.6)}, 
 pdflang={English}}
\begin{document}

\maketitle

\begin{frame}[label={sec:org7ab0cf1}]{Topics}
\begin{itemize}
\item Concepts governing simulation, noise filtering, signal processing.

\item Requirements and progression of LArTPC detector response models.

\item Performance of Wire-Cell Toolkit's implementations for wire detectors.

\item Challenges for 2-view strips+holes and performance of Wire-Cell
Toolkit with 50-L detector data.

\item Implications of 3-view strips+holes design choices.
\end{itemize}
\end{frame}

\begin{frame}[label={sec:org30c6f63}]{Conceptual LArTPC Simulation}
Real detector (and its simulation) produces an event via a \alert{convolution} of:

\begin{description}
\item[{\(\mathcal{S}\)}] an \alert{ionization charge distribution} (``signal'') with
\item[{\(\mathcal{R}\)}] a \alert{detector response} to drifting electrons, plus
\item[{\(\mathcal{N}\)}] all non-signal related ``\alert{noise}'', producing
\item[{\(\mathcal{M}\)}] a \alert{measurement} (eg ADC waveforms on channels).
\end{description}

\[ \mathcal{M}_x = \mathcal{N}_x + \mathcal{R}_x \circledast \mathcal{S}_x \]

With \(x =\) ``\alert{\(det\)}'' (real detector) or ``\alert{\(sim\)}'' (detector simulation).

\begin{description}
\item[{knowns}] \(\mathcal{M}_{det}\), \(\mathcal{M}_{sim}\), \(\mathcal{S}_{sim}\) and \(\mathcal{N}_{sim}\) (modeled), \(\mathcal{R}_{sim}\) (but imperfect).

\item[{unknowns}] \(\mathcal{R}_{det}\), \(\mathcal{S}_{det}\) and \(\mathcal{N}_{det}\).
\end{description}
\end{frame}

\begin{frame}[label={sec:org15e0f62}]{Conceptual LArTPC Noise Filtering}
Noise filtering is a transformation \(F_{nf}\) on the measurement:

\[ \mathcal{M}_x \to \mathcal{M}'_x = F_{nf}(\mathcal{M}_x) \]

\alert{designed} to strongly remove \alert{excess} or \alert{external} noise and potentially reduce \alert{inherent noise} leaving residual noise \(n_x\):

\[ F_{nf}(\mathcal{N}_x) \to n_x \ll \mathcal{N}_x \]

while attempting to leave the signal term approximately invariant:

\[ F_{nf}(\mathcal{R}_x \circledast \mathcal{S}_x) \approx \mathcal{R}_x \circledast \mathcal{S}_x \]
\end{frame}


\begin{frame}[label={sec:org9ee7fba}]{Conceptual LArTPC Signal Processing}
Signal processing attempts to recover a good approximation of
\(\mathcal{S}_x\) from \(\mathcal{M}_x\).

\vfill

It uses a \alert{deconvolution} of the measure with a response and with added
filters \(F_{sp}\) to further suppress the residual noise term.

\[ \mathcal{S}'_x = F_{sp} \circledast \mathcal{R}_{sp}^{-1} \circledast \mathcal{M}_x, x \in \{sim,det\} \]

We may not use the detailed \(\mathcal{R}_{sim}\) here as it is in
terms of the detailed, inaccessible ``true'' signal coordinates so we use
an \alert{average} \(\mathcal{R}_{sp}\) (ie, per-channel vs sample time matching \(\mathcal{M}_x\)).

\vfill \scriptsize

Note: for \alert{induction channels}, \(\mathcal{R}_{sp}^{-1}\) diverges at
DC, thus \alert{amplifies residual, low-frequency noise}.  To counter,
\(F_{sp}\) includes special algorithmic high-pass ``filters'' called
\emph{signal region of interest} (signal-ROI) and \emph{local baseline correction}.
\end{frame}

\begin{frame}[label={sec:orga1f18f4}]{Conceptual LArTPC Responses}
We then must \alert{choose} \(\mathcal{R}_{sim}\) and \(\mathcal{R}_{sp}\) and
wish to minimize the \alert{per-event difference} between SP and ``true''
ionization signal in the \(sim\):

\[|\mathcal{S}'_{sim} - \mathcal{S}_{sim} |\]

and simultaneously minimize an \alert{ensemble difference} between SP signal
over similar samples from \(det\) and \(sim\):

\[|<\mathcal{S}'_{det}> - <\mathcal{S}'_{sim}> |\]

This obviously implies we want:

\[\mathcal{R}_{det} \approx \mathcal{R}_{sim} \sim \mathcal{R}_{sp}\]

\footnotesize IOW, we want \(\mathcal{R}_{sim}\) as \alert{close to reality as computational power allows} and \(\mathcal{R}_{sp}\) as \alert{close to
reality tempered by our limited basis of measurement} \(\mathcal{M}\)
(ie, channel-level info).
\end{frame}

\begin{frame}[label={sec:org7760ef6}]{Historical Progress of Response Sophistication}
\huge
\[\mathcal{R}^{1D} \to \mathcal{R}^{2D} \to \mathcal{R}^{2.5D} \xrightarrow{?} \mathcal{R}^{3D}\]

\begin{center}
\footnotesize

LArSoft \(\to\) Wire-Cell Toolkit (with wires) \(\to\) WCT (with strips+holes) \(\to\) ???
\end{center}
\end{frame}

\begin{frame}[label={sec:org7986389}]{1D response model: \(\mathcal{R}^{1D}(x)\)}
\begin{itemize}
\item Response depends on 1D coordinate (drift direction).
\item Sim and SP assume current only in wire nearest to drifting electron.
\end{itemize}

Pros: 

\begin{itemize}
\item Computationally fast and algorithmically easy.

\item Still available for use in LArSoft SP and sim.

\item For sim, strongly minimizes: \(|\mathcal{S}'_{sim} - \mathcal{S}_{sim} | \approx 0\)
\end{itemize}

Cons:

\begin{itemize}
\item For sim, the \(|\mathcal{S}'_{sim} - \mathcal{S}_{sim} | \approx 0\) minimum is ``too perfect''.

\item For data, avg SP signal differences \(|<\mathcal{S}'_{det}> - <\mathcal{S}'_{sim}> |\) are large. 
\begin{itemize}
\item The ``long range induction'' effects can not be ignored.
\item MicroBooNE data demonstrated this model is too simplistic.
\begin{itemize}
\item will give examples
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}

\begin{frame}[label={sec:orga3800f4}]{Wire-Cell 2D response model: \(\mathcal{R}^{2D}(x,\rho)\)}
\begin{itemize}
\item Response depends on 2D coords (drift + pitch directions).
\item May induce current on range of nearby wires (\(1 \pm 10\)) or strips (\(1 \pm 5\)).
\item Response varies w/in one wire/strip region (10 sub-pitch bins).
\item Average sim over wire to get SP: \(\mathcal{R}^{2D}_{sp}(x) = \frac{1}{N}\sum_{\rho}\mathcal{R}^{2D}_{sim}(x,\rho)\)
\end{itemize}

Pros:

\begin{itemize}
\item Well minimizes both \(|\mathcal{S}'_{sim} - \mathcal{S}_{sim} |\) and \(|<\mathcal{S}'_{det}> - <\mathcal{S}'_{sim}> |\).
\item Validated, optimized implementation in Wire-Cell Toolkit.
\begin{itemize}
\item \scriptsize Now established as default in most LArSoft uses.
\end{itemize}
\item Works well even with geometries that are not actually 2D.
\begin{itemize}
\item \scriptsize But, note a coming \emph{caveat}.
\end{itemize}
\end{itemize}

Cons:

\begin{itemize}
\item Field response calculations more difficult than 1D, but reasonable.
\item Sim and sigproc algorithms more complex, somewhat slower than 1D.
\item The more 3D the geometry \(\Rightarrow\) more imperfections in 2D model.
\begin{itemize}
\item Particularly not suited for \alert{strips + holes} (more on this coming)
\end{itemize}
\end{itemize}
\end{frame}


\begin{frame}[label={sec:org6f63ff5}]{1D SP \emph{vs} Wire-Cell 2D SP on MicroBooNE \emph{det} data}
\begin{columns}
\begin{column}{0.5\columnwidth}
\begin{center}
\includegraphics[width=.9\linewidth]{mb-sim-data-1d-2d.png}
\end{center}
\end{column}

\begin{column}{0.5\columnwidth}
\footnotesize
Plotted: \(\mathcal{S}'^{1D}_{det}\) and \(\mathcal{S}'^{2D}_{det}\) average reconstructed ionization signal \emph{vs} sample time for ensemble of tracks in four angle bins.

\vspace{1cm}

2D Wire-Cell signal processing is able to correctly recover identical \alert{average} track signal \(\mathcal{S}'^{2D}_{det}\) \alert{independently on each wire plane}.

\vspace{1cm}

\tiny
Ionization Electron Signal Processing in Single Phsae LArTPCs II. Data/
Simulation Comparison and Performance in MicroBooNE
MicroBooNE Collaboration \href{http://arxiv.org/abs/1804.02583}{arXiv:1804.02583}, \href{https://doi.org/10.1088/1748-0221/13/07/P07007}{JINST 13, P07007 (2018)}.
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgd5e013d}]{The Test Metric Caveat}
Sensitive to \alert{response averages over space}.

\begin{itemize}
\item Demonstrates WCT \(\mathcal{R}^{2D}\)  \alert{good on average} for SP(\emph{sim}) \(\approx\) SP(\emph{det}).

\begin{itemize}
\item Does control for \alert{3D direction}, important variation for SP efficiency!
\end{itemize}

\item May not be sensitive to \alert{imperfect detailed variations} in \(\mathcal{R}^{2D}_{sim,sp}\)

\begin{itemize}
\item Eg, is there SP(\emph{sim}) \(\ne\) SP(\emph{det}) bias/resolution at specific locations?
\item Particularly strip+holes have large variations along strip direction.
\begin{itemize}
\item (will show)
\end{itemize}
\end{itemize}

\item Examples of more \alert{precise metrics} to apply in future \emph{det} vs \emph{sim}:

\begin{itemize}
\item Signal matching between planes with \(^{39}\)Ar or other ``blips''.

\item Detailed comparison of dE/dX with tracks from full 3D reco.
\end{itemize}
\end{itemize}
\end{frame}


\begin{frame}[label={sec:orgac18ea3}]{2D Field Response Calculations - Wires}
\begin{columns}
\begin{column}{0.35\columnwidth}
\footnotesize
\begin{itemize}
\item In 2D, wires are \alert{infinite, parallel and uniform}, and there are \alert{no edge effects}.
\item 126 drift paths per plane: \(1 \pm 10\) wires, 6 ``impact positions'' per wire at \(\frac{1}{10}^{th}\) pitch, exploit translation and mirror symmetries.
\item Pre convolve field and electronics response, 10 MHz \(\to\) 200 2 MHz samples per FR function.
\end{itemize}
\end{column}

\begin{column}{0.65\columnwidth}
\includegraphics[clip,trim=4.5cm 3cm 5cm 2cm,width=3.5cm]{larwires-3.pdf}\includegraphics[clip,trim=4.5cm 3cm 5cm 2cm,width=3.5cm]{larwires-4.pdf}

\begin{center}


\scriptsize 2D \((x, \rho)\) drift paths and example U-wire weighting field for ProtoDUNE-SP calculated by \href{https://github.com/brettviren/drifires}{drifires}/Garfield++ \\
(we are migrating from the venerable GARFIELD).
\end{center}
\end{column}
\end{columns}



\begin{block}{}
\scriptsize
Instantaneous induced current: 
\(I(t_i) = q \vec{W}(\vec{r}_i)\cdot\vec{v}(\vec{r}_i); \vec{r}_i = \vec{r}(t_i); t_i = t_0 + i\Delta t\)

\begin{itemize}
\item \tiny \(\vec{W}\): \emph{weighting field} is \(\vec{E}\)-field with conductor-of-interest at 1V, all else at 0V.
\item \(\vec{v}\): drift velocity along path \(\vec{r}\) calculated from LAr physics and solving for applied \(\vec{E}\)-field.
\item \(q\): an infinitesimal element from the distribution of drifted ionization electrons at the start of a drift path.
\end{itemize}
\end{block}
\end{frame}



\begin{frame}[label={sec:org49261e3}]{Wire-Cell 2D response for MicroBooNE}
\begin{columns}
\begin{column}{0.33\columnwidth}
\begin{center}
\footnotesize

\(\mathcal{R}^{2D}_{sim}(x,\rho)\) 

(drift vs impact position)

\begin{center}
\includegraphics[width=.9\linewidth]{mb-resp.png}
\end{center}
\end{center}
\end{column}

\begin{column}{0.65\columnwidth}
\begin{center}
\footnotesize

\(\mathcal{R}^{2D}_{sp}(x)\) 

(drift vs wire region + select wire regions)

\begin{center}
\includegraphics[width=.9\linewidth]{mb-wire-resp.png}
\end{center}
\end{center}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgafff7fd}]{More Wire-Cell NF/SP performance on MicroBooNE}
\begin{columns}
\begin{column}{0.4\columnwidth}
\tiny

Wire-Cell software \alert{noise filter} applied to MicroBooNE data event.

\vfill

\begin{center}
\includegraphics[width=.9\linewidth]{mb-noise-filter.png}
\end{center}

\vfill

Noise Characterization and Filtering in the MicroBooNE Liquid Argon TPC
MicroBooNE Collaboration \href{http://arxiv.org/abs/1705.07341}{arXiv:1705.07341}, \href{https://doi.org/10.1088/1748-0221/12/08/P08003}{JINST 12 P08003 (2017)}.
\end{column}

\begin{column}{0.6\columnwidth}
\tiny

\vspace{-4mm}

\alert{Signal processing} on MicroBooNE data event:\\
(a) noise filtered,
(b) 1D  and
(c) Wire-Cell 2D

\vspace{-4mm}

\begin{center}
\includegraphics[width=.9\linewidth]{mb-raw-1d-2d.png}
\end{center}

\vspace{-4mm}

Ionization Electron Signal Processing in Single Phase LArTPCs I. Algorithm
Description and Quantitative Evaluation with MicroBooNE Simulation
MicroBooNE Collaboration \href{http://arxiv.org/abs/1802.08709}{arXiv:1802.08709}, \href{https://doi.org/10.1088/1748-0221/13/07/P07006}{JINST 13, P07006 (2018)}.
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgadaed40}]{}
\begin{block}{Wire-Cell signal processing on ProtoDUNE-SP data}
\begin{center}
\includegraphics[width=0.7\textwidth]{pdsp-nf-sp.png}
\end{center}
\end{block}


\begin{block}{Wire-Cell simulation/data comparison dE/dX for \(\mu\) and P on PDSP}
\begin{center}


\includegraphics[width=0.7\textwidth]{pdsp-dedx-data-mc-pmu.png}
\end{center}
\end{block}

\begin{block}{}
\tiny

First results on ProtoDUNE-SP liquid argon time
projection chamber performance from a beam test at the
CERN Neutrino Platform. \href{https://arxiv.org/abs/2007.06722}{arXiv:2007.06722}, \href{https://iopscience.iop.org/article/10.1088/1748-0221/15/12/P12004}{JINST 15 (2020) P12004}.
\end{block}
\end{frame}



\begin{frame}[label={sec:org06216b7}]{Challenges of strips+holes for \(\mathcal{R}\)}
\begin{columns}
\begin{column}{.7\columnwidth}
Strips+holes strongly violate 2D model
\begin{itemize}
\item \alert{non-parallel strips between the planes} 
\begin{itemize}
\item (a ``feature'' shared with wires)
\end{itemize}
\item \alert{non-uniform along their length}.
\end{itemize}

Extra challenges:
\begin{itemize}
\item ind/col hole patterns differ between strips-in-plane and
strips-across-planes

\item hole-pattern has some finite \emph{repetition distance}

\begin{itemize}
\item 2-hole distance for 50-L's 2 views,
\item longer for the 3-view designs (will show \emph{eg}).
\end{itemize}
\end{itemize}

Small bonus: fields drop faster with strips than wires 
\begin{itemize}
\item \(1 \pm 10\) wires \(\to\) \(1 \pm 5\) strips.
\end{itemize}

\vspace{5mm}

\footnotesize
\flushright 
50-L detector collection stips+holes \(\longrightarrow\)
\end{column}

\begin{column}{0.3\columnwidth}
\vspace{-1cm}

\begin{center}
\includegraphics[width=.9\linewidth]{collection-impacts.pdf}
\end{center}
\end{column}
\end{columns}
\end{frame}



\begin{frame}[label={sec:orgd48a4c5}]{2.5D model for strips+holes \(\mathcal{R}^{2.5D} \to \mathcal{R}^{2D}_{sim,sp}\)}
\begin{columns}
\begin{column}{.7\columnwidth}
\footnotesize

\alert{``2.5D'' trick}
\begin{itemize}
\item \scriptsize Construct ``slices'' across strips spanning the \emph{pattern repetition distance}.
\item Each slices defines an \(\mathcal{R}^{2D}\) problem domain.
\item Calculate per-slice \(\mathcal{R}^{2D}_{slice}\), \alert{average} over slices to get \(\mathcal{R}^{2D}_{sim,sp}\)
\end{itemize}

Calculating the \(\mathcal{R}^{2D}_{slice}\)'s brings new problems:
\begin{itemize}
\item \scriptsize how best to define slices?
\begin{itemize}
\item \tiny we chose diameter-crossing slices
\end{itemize}
\item how many slices are needed?
\begin{itemize}
\item \tiny we chose two slices for 50-L, ``skewed'' will need more.
\end{itemize}
\item how to exploit symmetry to reduce calculation? 
\begin{itemize}
\item \tiny next slides.
\end{itemize}
\item \alert{how wrong} is this?
\begin{itemize}
\item \tiny initial \alert{average} checks (recall \emph{caveat}) with 50-L look good.
\item longer hole \emph{pattern repetition distance} is worrisome.
\end{itemize}
\end{itemize}

\footnotesize
\flushright 
Chosen slices shown as vertical lines \(\longrightarrow\)
\end{column}


\begin{column}{0.3\columnwidth}
\vspace{-1cm}

\begin{center}
\includegraphics[width=.9\linewidth]{collection-impacts.pdf}
\end{center}
\end{column}
\end{columns}
\end{frame}


\begin{frame}[label={sec:org6424204}]{The 2.5D trick applied to GARFIELD}
\begin{center}
\begin{center}
\includegraphics[width=.9\linewidth]{geometry-2D.png}
\end{center}

\scriptsize GARFIELD setup for 2D single-hole (Yichen Li)
\end{center}


\begin{columns}
\begin{column}{0.7\columnwidth}
\footnotesize Clever work-around to limitations of 2D and GARFIELD:
\begin{itemize}
\item \scriptsize \alert{Single-hole}, 2D geometry with strips constructed as array of hundreds of ``\alert{micro wire}'' sensing conductors
\begin{itemize}
\item \tiny the L/R and A/B blocks work around some GARFIELD technical limits.
\end{itemize}
\item Manual labor intensive post processing
\begin{itemize}
\item \tiny Catalog maps of drift paths on slice to single-hole geometry.
\item Catalog micro wire selection criteria for each drift path.
\item Longer the hole pattern repetition distance \(\Rightarrow\) more the effort.
\end{itemize}
\end{itemize}
\end{column}

\begin{column}{0.3\columnwidth}
\begin{center}
\includegraphics[width=.9\linewidth]{collection-impacts-detail.pdf}
\end{center}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:org668ec10}]{50-L detector's \(\mathcal{R}^{2.5D} \to \mathcal{R}^{2D}_{sim}\)}
\footnotesize Given the cataloging and GARFIELD ``micro-wire''
responses, the \href{https://github.com/brettviren/pcbro}{PCBro} (PCB anode readout) package processes and
averages the per-slice responses to produce WCT-compatible
\(\mathcal{R}^{2D}_{sim,sp}\).

\begin{center}
\scriptsize 

(induction plane, slices 0, 1 and average)

(collection plane, slices 0, 1 and average)
\end{center}

\begin{columns}
\begin{column}{0.3\columnwidth}
\includegraphics[width=\textwidth]{resp-07.pdf}

\includegraphics[width=\textwidth]{resp-10.pdf}

\begin{center}
\scriptsize Slice 1.
\end{center}
\end{column}

\begin{column}{0.3\columnwidth}
\includegraphics[width=\textwidth]{resp-08.pdf}

\includegraphics[width=\textwidth]{resp-11.pdf}

\begin{center}
\scriptsize Slice 2.
\end{center}
\end{column}

\begin{column}{0.3\columnwidth}
\includegraphics[width=\textwidth]{resp-09.pdf}

\includegraphics[width=\textwidth]{resp-12.pdf}

\begin{center}
\scriptsize Slices 1 + 2.
\end{center}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:org2344a6f}]{Next 3 slides}
Better view tails with ``\(\pm\)log 10'' scale for 50-L's \(\mathcal{R}^{2D}_{sim}\).

Each slide shows a slice-average or a specific slice:

\begin{enumerate}
\item average over both slices
\item highlight slice 0
\item highlight slice 1
\end{enumerate}

50-L detector only has 2-views: induction + collection.

The ``U'' and ``V'' labels indicate different forms for the \alert{induction} plane info. 

The ``W'' is always the \alert{collection} plane info.
\end{frame}

\begin{frame}[label={sec:org0c642bd}]{}
\begin{columns}
\begin{column}{0.6\columnwidth}
\includegraphics[height=\textheight]{pcbro-response-avg-zoom.png}
\end{column}

\begin{column}{0.4\columnwidth}
50-L \(\mathcal{R}^{2D}_{sim}\)

\begin{enumerate}
\item U is average over the two induction slices.

\item V is average over the two induction slices. 
\begin{itemize}
\item \scriptsize (the two are identical)
\end{itemize}

\item W is average over the two collection slices.
\end{enumerate}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:org03e7bfc}]{}
\begin{columns}
\begin{column}{0.6\columnwidth}
\includegraphics[height=\textheight]{pcbro-response-slc0-zoom.png}
\end{column}

\begin{column}{0.4\columnwidth}
50-L \(\mathcal{R}^{2D}_{sim}\)

\begin{enumerate}
\item U is average over both induction slices

\item V is induction slice 0

\item W is collection slice 0
\end{enumerate}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgce125b3}]{}
\begin{columns}
\begin{column}{0.6\columnwidth}
\includegraphics[height=\textheight]{pcbro-response-slc1-zoom.png}
\end{column}

\begin{column}{0.4\columnwidth}
50-L \(\mathcal{R}^{2D}_{sim}\)

\begin{enumerate}
\item U is average over both induction slices

\item V is induction slice 1

\item W is collection slice 1
\end{enumerate}
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgfafabc7}]{50-L raw data and WCT sigproc with \(\mathcal{R}^{2.5D}_{sp}\)}
The \href{https://github.com/brettviren/pcbro}{PCBro} package also provides a 50-L raw data decoder and hooks to
run \alert{Wire-Cell Toolkit signal processing} on 50-L data.

\begin{columns}
\begin{column}{0.5\columnwidth}
\begin{center}
\footnotesize 50-L raw data event

\alert{PCBro data decoder}

\vspace{-3mm}

\begin{center}
\includegraphics[width=.9\linewidth]{raw-31.png}
\end{center}
\end{center}
\end{column}

\begin{column}{0.5\columnwidth}
\begin{center}
\footnotesize Same event after \alert{Wire-Cell signal processing}

\vspace{-3mm}

\begin{center}
\includegraphics[width=.9\linewidth]{sig-31.png}
\end{center}
\end{center}
\end{column}
\end{columns}


\begin{block}{}
\scriptsize Note, the ``\alert{double induction}'' plane is merely duplicate to
fit nominal WCT assumptions of 3 planes.  The PCBro package uses
this ``extra'' plane to test different field responses in the same job.

In production processing, we need not waste CPU on the duplication.
\end{block}
\end{frame}

\begin{frame}[label={sec:org107878f}]{50-L WCT simulation of \(^{39}\)Ar ``blips''}
\footnotesize

\begin{center}


Andrea Scarpelli

collection plane | induction plane

\begin{center}
\includegraphics[width=.9\linewidth]{andrea-50l-simdat-ar39-blips.png}
\end{center}
\end{center}

Samples \(^{39}\)Ar energy spectrum scanned from \href{https://arxiv.org/abs/1705.05726}{arXiv:1705.05726v1}.
\end{frame}

\begin{frame}[label={sec:orgd54bb9e}]{50-L data / WCT sim comparison - \(^{39}\)Ar ``blips''}
\begin{columns}
\begin{column}{0.4\columnwidth}
\footnotesize

\begin{center}


Andrea Scarpelli and Serhan Tufanli
\end{center}


\alert{average raw waveforms} 

\scriptsize

50-L \textcolor{orange}{data (orange)} and Wire-Cell 2D \textcolor{blue}{sim (blue)} using a 2-slice \(\mathcal{R}^{2.5D}\).

Separated by induction (left) and collection (right) planes 
and for central strip (middle) and central \(\pm 1\) strips (top/bottom).
\end{column}


\begin{column}{0.6\columnwidth}
\begin{center}
\includegraphics[width=.9\linewidth]{andrea-50l-simdat-strip-p1.png}
\end{center}
\begin{center}
\includegraphics[width=.9\linewidth]{andrea-50l-simdat-center.png}
\end{center}  
\begin{center}
\includegraphics[width=.9\linewidth]{andrea-50l-simdat-strip-m1.png}
\end{center}  
\end{column}
\end{columns}
\end{frame}

\begin{frame}[label={sec:orgae86190}]{50-L data/sim checks t.b.d.}
Other sources:
\begin{itemize}
\item 1 MeV e- Bismuth source ``blips''.
\item MIP tracks in different direction bins.
\end{itemize}

Address ``Test Metric Caveat'' with more precise \emph{det} \emph{vs} \emph{sim} comparisons:
\begin{itemize}
\item SP ind/col ratio for ``blips'', ideally \(= 1.0\)
\item Invariant values (eg, raw ind waveform integral \(= 0.0\))
\item Raw waveforms from ``blips'' as \(f(\rho)\)?
\end{itemize}
\end{frame}


\begin{frame}[label={sec:org176b070}]{Skewed hole pattern: 2.5D? 2.7D?}
\begin{columns}
\begin{column}{0.6\columnwidth}
\footnotesize 50-L: \alert{average} tests look good for \(\mathcal{R}^{2.5D}_{sim}\), \alert{eyeballing} SP event display looks good for \(\mathcal{R}^{2.5D}_{sp}\).

But, 50-L has fairly \alert{regular hole pattern}.  

\alert{New worry}: 3-view's ``diagonal'' strip with ``skewed'' hole pattern. \(\longrightarrow\)

\begin{itemize}
\item May need \(N>2\) slice average: ``2.7D \ldots{} 2.9D''

\begin{itemize}
\item \tiny Have scheme to produce \alert{data-driven optimal weighting} of slices.  Non-trivial, but there if we need it.
\end{itemize}

\item Strip angle such that \alert{no slice} goes only through hole diameters.

\begin{itemize}
\item \tiny Further biasing of the ``2.x D'' approach?
\end{itemize}

\item Even with 3D, prefer to maximize regularity of patterns.
\end{itemize}

\(\therefore\) \alert{Design wish}: rectangular 2-plane or isosceles/hexagonal 3-plane!
\end{column}



\begin{column}{0.4\columnwidth}
\vspace{-1cm}

\begin{center}
\includegraphics[width=.9\linewidth]{strip-holes-3d.png}
\end{center}

\begin{center}
\includegraphics[width=.9\linewidth]{strip-holes-2d.png}
\end{center}


\scriptsize From Bo's presentation at the recent \href{https://indico.fnal.gov/event/46396/}{DUNE collab call}
\end{column}
\end{columns}
\end{frame}


\begin{frame}[label={sec:org8e2d622}]{So, why not \(\mathcal{R}^{3D}\)?}
\begin{columns}
\begin{column}{0.8\columnwidth}
\footnotesize 

Some work in 3D exists.
\begin{itemize}
\item \scriptsize Mostly for ``near by'' fields or ``far fields'' but for \alert{wires}.
\item Far field 2D calculation takes \alert{minutes-hours}, 3D calculations take \alert{hours-days} (using BEM, effectively impossible with FEM).
\item Strips+holes need finer meshing \(\Rightarrow\) more processing (than wires).
\item Longer hole repetition distance \(\Rightarrow\) more processing (than 50-L).
\end{itemize}

And, given \(\mathcal{R}^{3D}\) sim must contend with an explosion of data.  
\begin{itemize}
\item \(\mathcal{R}_{sim}\) \alert{drift paths per plane} (some estimate/guesses)
\begin{itemize}
\item \tiny 2D wires: 126.
\item 2.5D strips: O(100) for 50L, O(1,000) for skewed hole pattern
\begin{itemize}
\item \tiny but at least results in ``standard'' \(\mathcal{R}^{2D}_{sim,sp}\)!
\end{itemize}
\item 3D: O(50,000), and worse: \alert{old simulation must be thrown out}.
\end{itemize}
\end{itemize}

3D simulation
\begin{itemize}
\item \scriptsize Same concepts as 2D sim, but need all new algorithms/code.
\item 2D sim exploits 10-way interlacing across common, wire-relative impact positions in order to use 2D FFT + 10-way sum for fast convolution.
\begin{itemize}
\item \tiny How to even apply this trick in 3D?  More variety along the strip direction will increase interlacing \(\Rightarrow\) harder/slower calculation.
\end{itemize}
\end{itemize}
\end{column}


\begin{column}{0.2\columnwidth}
\vspace{-1cm}

\begin{center}
\scriptsize

\begin{center}
\includegraphics[width=.9\linewidth]{near-field-3d.png}
\end{center}

\href{https://indico.fnal.gov/event/46396/}{From Bo's talk again}

\begin{center}
\includegraphics[width=.9\linewidth]{larf-wires-drifts.png}
\end{center}

\href{https://github.com/brettviren/larf/}{LARF}

\begin{center}
\includegraphics[width=.9\linewidth]{triangle-path-starts.png}
\end{center} 
\end{center}
\end{column}
\end{columns}
\end{frame}


\begin{frame}[label={sec:org561c335}]{Summary and some next steps}
\begin{itemize}
\item Wire-Cell's use of \(\mathcal{R}^{2D}_{sim,sp}\) improves over \(\mathcal{R}^{1D}\) as demonstrated with MicroBooNE and ProtoDUNE.

\item The \(\mathcal{R}^{2.5D}\) trick brings Wire-Cell support to 50-L strips+holes det. 
\begin{itemize}
\item Eyeball SP event display and average raw waveform tests look okay.
\item These \alert{average} test metrics may hide some variational problems.
\end{itemize}

\item Unclear if ``2.5D'' trick can be pushed to designs with more variability.
\begin{itemize}
\item Will need test detector data to confirm.
\end{itemize}

\item 2D or 3D \(\mathcal{R}\) calculations prefer regularity.
\begin{itemize}
\item \alert{rectangular 2-view} and \alert{isosceles/hexagonal 3-plane} designs, please!
\end{itemize}

\item Continue developing and applying test metrics
\begin{itemize}
\item Focus on \alert{precise tests} to check for \alert{variational problems}.
\item If found, will first look into pushing on ``2.5D'' to more slices.
\item Hold off on 3D as last resort due to effort required.
\end{itemize}

\item We continue to improve support in Wire-Cell Toolkit for 
strip+hole test detectors and for the eventual DUNE VD module(s)!
\end{itemize}
\end{frame}

\begin{frame}[label={sec:org7f4cd7e}]{}
\Huge

\begin{center}
\(\mathcal{F}\mathcal{I}\mathcal{N}\)
\end{center}
\end{frame}
\end{document}