<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{marlintpc\-:\-:Photoelectric\-Distortions\-Calculator Class Reference}
\label{classmarlintpc_1_1PhotoelectricDistortionsCalculator}\index{marlintpc\-::\-Photoelectric\-Distortions\-Calculator@{marlintpc\-::\-Photoelectric\-Distortions\-Calculator}}


{\ttfamily \#include $&lt;$Photoelectric\-Distortions\-Calculator.\-h$&gt;$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Photoelectric\-Distortions\-Calculator} (const std\-::vector$&lt;$ {\bf tpcconddata\-::\-T\-P\-C\-Distortion\-Measurement} $\ast$ $&gt;$ \&amp;map, bool module\-Interpolation=false)\label{classmarlintpc_1_1PhotoelectricDistortionsCalculator_ad8cdff9c1702fbb03e0ac12da6629bd2}

\item 
gear\-::\-Vector2\-D {\bfseries get\-Estimated\-Shift2\-D} (const C\-L\-H\-E\-P\-::\-Hep3\-Vector \&amp;measured\-Position)\label{classmarlintpc_1_1PhotoelectricDistortionsCalculator_acf47cd62cc0735139849c46024492d0c}

\item 
void {\bfseries set\-Max\-Distance} (double dist)\label{classmarlintpc_1_1PhotoelectricDistortionsCalculator_a76af1afd5a998beb696157825f167028}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
K. Zenker, D\-E\-S\-Y
\end{DoxyAuthor}
This class can be used to calculate field distortions measured with the system of photodots on the T\-P\-C cathode. It considers the information of the true photodot position on the cathode and the reconstructed photodot position on the pad plane. With this information a given measured point can be converted into a \char`\"{}true\char`\"{} point inverting the distortions. Keep in mind the measured distortion are integrated over the whole T\-P\-C volume. So if you have a measured point close to the anode the result might be wrong. In detail the grid of points is used to construct elements with four corners. Next the element containing the point is searched for. In this element the distortions are linearly shaped using the information at the corners of the element. Finally the shift needed to move the given point to the estimated position without distortions is given. \begin{DoxyRemark}{Remarks}
This shift is given in local coordinates c0, c1 of the module!
\end{DoxyRemark}
\begin{DoxyNote}{Note}
I use points in 3 dimensions because maybe one could also do something on the z position sometime... 
\end{DoxyNote}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Photoelectric\-Distortions\-Calculator.\-h\item 
Photoelectric\-Distortions\-Calculator.\-cc\end{DoxyCompactItemize}
</pre></body></html>