\hypertarget{class_wire_cell_1_1_gen_1_1_truth_smearer}{}\section{Wire\+Cell\+:\+:Gen\+:\+:Truth\+Smearer Class Reference}
\label{class_wire_cell_1_1_gen_1_1_truth_smearer}\index{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}}


{\ttfamily \#include $<$Truth\+Smearer.\+h$>$}



Inheritance diagram for Wire\+Cell\+:\+:Gen\+:\+:Truth\+Smearer\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_wire_cell_1_1_gen_1_1_truth_smearer__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for Wire\+Cell\+:\+:Gen\+:\+:Truth\+Smearer\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_wire_cell_1_1_gen_1_1_truth_smearer__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_wire_cell_1_1_gen_1_1_truth_smearer_a4b317b743e2ef497213deb36fc379479}{Truth\+Smearer} ()
\item 
virtual bool \hyperlink{class_wire_cell_1_1_gen_1_1_truth_smearer_a67cb4fc4a60604fe8034b5837f3a27a0}{operator()} (const \hyperlink{class_wire_cell_1_1_i_queuedout_node_acf5f716a764553f3c7055a9cf67e906e}{input\+\_\+pointer} \&depo, \hyperlink{class_wire_cell_1_1_i_queuedout_node_a39018e4e3dd886befac9636ac791a685}{output\+\_\+queue} \&frames)
\item 
virtual void \hyperlink{class_wire_cell_1_1_gen_1_1_truth_smearer_a75e03e4110e01b8ff31ad3aba5e7804d}{configure} (const \hyperlink{namespace_wire_cell_a9f705541fc1d46c608b3d32c182333ee}{Wire\+Cell\+::\+Configuration} \&config)
\begin{DoxyCompactList}\small\item\em Accept a configuration. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_wire_cell_a9f705541fc1d46c608b3d32c182333ee}{Wire\+Cell\+::\+Configuration} \hyperlink{class_wire_cell_1_1_gen_1_1_truth_smearer_a9ba841f3a493bb16e41d87e69448843c}{default\+\_\+configuration} () const
\begin{DoxyCompactList}\small\item\em Optional, override to return a hard-\/coded default configuration. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 16 of file Truth\+Smearer.\+h.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_wire_cell_1_1_gen_1_1_truth_smearer_a4b317b743e2ef497213deb36fc379479}\label{class_wire_cell_1_1_gen_1_1_truth_smearer_a4b317b743e2ef497213deb36fc379479}} 
\index{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}!Truth\+Smearer@{Truth\+Smearer}}
\index{Truth\+Smearer@{Truth\+Smearer}!Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}}
\subsubsection{\texorpdfstring{Truth\+Smearer()}{TruthSmearer()}}
{\footnotesize\ttfamily Gen\+::\+Truth\+Smearer\+::\+Truth\+Smearer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

based on \hyperlink{class_wire_cell_1_1_gen_1_1_ductor}{Gen\+::\+Ductor} without convolution just smearing of charge depos in time and wire dimenstions (time\+\_\+smear = 0, wire\+\_\+smear = 1) means \char`\"{}\+Charge Truth\char`\"{} otherwires, \char`\"{}\+Signal Truth\char`\"{} with signal processing residual 

Definition at line 26 of file Truth\+Smearer.\+cxx.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_wire_cell_1_1_gen_1_1_truth_smearer_a75e03e4110e01b8ff31ad3aba5e7804d}\label{class_wire_cell_1_1_gen_1_1_truth_smearer_a75e03e4110e01b8ff31ad3aba5e7804d}} 
\index{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}!configure@{configure}}
\index{configure@{configure}!Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}}
\subsubsection{\texorpdfstring{configure()}{configure()}}
{\footnotesize\ttfamily void Gen\+::\+Truth\+Smearer\+::configure (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_wire_cell_a9f705541fc1d46c608b3d32c182333ee}{Wire\+Cell\+::\+Configuration} \&}]{config }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Accept a configuration. 

An interface, not used. Exact \char`\"{}\+Truth\char`\"{} after signal processing. 

Implements \hyperlink{class_wire_cell_1_1_i_configurable_a57ff687923a724093df3de59c6ff237d}{Wire\+Cell\+::\+I\+Configurable}.



Definition at line 105 of file Truth\+Smearer.\+cxx.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_wire_cell_1_1_gen_1_1_truth_smearer_a75e03e4110e01b8ff31ad3aba5e7804d_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_wire_cell_1_1_gen_1_1_truth_smearer_a9ba841f3a493bb16e41d87e69448843c}\label{class_wire_cell_1_1_gen_1_1_truth_smearer_a9ba841f3a493bb16e41d87e69448843c}} 
\index{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}!default\+\_\+configuration@{default\+\_\+configuration}}
\index{default\+\_\+configuration@{default\+\_\+configuration}!Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}}
\subsubsection{\texorpdfstring{default\+\_\+configuration()}{default\_configuration()}}
{\footnotesize\ttfamily \hyperlink{namespace_wire_cell_a9f705541fc1d46c608b3d32c182333ee}{Wire\+Cell\+::\+Configuration} Gen\+::\+Truth\+Smearer\+::default\+\_\+configuration (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Optional, override to return a hard-\/coded default configuration. 

How many Gaussian sigma due to diffusion to keep before truncating.

Whether to fluctuate the final Gaussian deposition.

The initial time for this ductor

The time span for each readout.

The sample period

If false then determine start time of each readout based on the input depos. This option is useful when running W\+CT sim on a source of depos which have already been \char`\"{}chunked\char`\"{} in time. If true then this \hyperlink{class_wire_cell_1_1_gen_1_1_ductor}{Ductor} will continuously simulate all time in \char`\"{}readout\+\_\+time\char`\"{} frames leading to empty frames in the case of some readout time with no depos.

The nominal speed of drifting electrons

Gaussian longitudinal (time) smearing -- time filter in SP

Discrete wire smear -- wire filter in Fig.\+16 ar\+Xiv\+: 1802.\+08709 the charge within one wire pitch is equally weighted, i.\+e. no impact position dependency

Transverse (wire) smearing -- re-\/distribute the charge onto nearby wires. A function of impact position, like field response. Attention\+: this is the residual field response (true / average). Normalization issue -- true, see percentage level charge bias for point source of charge at various locations within a wire. An interface, not used are present.

gain for truth -- sign of charge in the output

Allow for a custom starting frame number

Name of component providing the anode plane. 

Reimplemented from \hyperlink{class_wire_cell_1_1_i_configurable_a54841b2da3d1ea02189478bff96f7998}{Wire\+Cell\+::\+I\+Configurable}.



Definition at line 45 of file Truth\+Smearer.\+cxx.

Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_wire_cell_1_1_gen_1_1_truth_smearer_a9ba841f3a493bb16e41d87e69448843c_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_wire_cell_1_1_gen_1_1_truth_smearer_a67cb4fc4a60604fe8034b5837f3a27a0}\label{class_wire_cell_1_1_gen_1_1_truth_smearer_a67cb4fc4a60604fe8034b5837f3a27a0}} 
\index{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}!operator()@{operator()}}
\index{operator()@{operator()}!Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer@{Wire\+Cell\+::\+Gen\+::\+Truth\+Smearer}}
\subsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily bool Gen\+::\+Truth\+Smearer\+::operator() (\begin{DoxyParamCaption}\item[{const \hyperlink{class_wire_cell_1_1_i_queuedout_node_acf5f716a764553f3c7055a9cf67e906e}{input\+\_\+pointer} \&}]{depo,  }\item[{\hyperlink{class_wire_cell_1_1_i_queuedout_node_a39018e4e3dd886befac9636ac791a685}{output\+\_\+queue} \&}]{frames }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Definition at line 318 of file Truth\+Smearer.\+cxx.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
gen/inc/\+Wire\+Cell\+Gen/\hyperlink{_truth_smearer_8h}{Truth\+Smearer.\+h}\item 
gen/src/\hyperlink{_truth_smearer_8cxx}{Truth\+Smearer.\+cxx}\end{DoxyCompactItemize}
