\section{lcfiplus\-:\-:algo\-Etc Namespace Reference}
\label{namespacelcfiplus_1_1algoEtc}\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf make\-Beam\-Tracks} ({\bf Track} $\ast$\&t1, {\bf Track} $\ast$\&t2, bool smear=true)
\item 
void {\bf make\-Beam\-Vertex} ({\bf Vertex} $\ast$\&vtx, bool smear=true)
\item 
void {\bf connect\-Vertices\-To\-Jets} (const {\bf Jet\-Vec} \&jets, const vector$<$ {\bf Vertex} $\ast$ $>$ \&vtcs, vector$<$ vector$<$ {\bf Vertex} $\ast$ $>$ $>$ \&jet\-Vertices, vector$<$ vector$<$ const {\bf Track} $\ast$ $>$ $>$ \&jet\-Residual\-Tracks, const {\bf Vertex} $\ast$ip=0)
\item 
vector$<$ const {\bf Track} $\ast$ $>$ {\bf extract\-Tracks} ({\bf Vertex\-Vec} \&vtx)
\item 
double {\bf calc\-Thrust} (vector$<$ T\-Vector3 $>$ \&list, T\-Vector3 \&taxis)
\item 
bool {\bf Simple\-Sec\-Muon\-Finder} (const {\bf Track} $\ast$tr, double d0sigth, double z0sigth, double maxpos, double mudepmin, double ecaldepmin, double ecaldepmax, double hcaldepmin, double hcaldepmax, double maxclusterpertrackenergy=10.)
\item 
bool {\bf Simple\-Sec\-Electron\-Finder} (const {\bf Track} $\ast$tr, double d0sigth, double z0sigth, double maxpos, double emin, double minfracecal, double minecalpertrackenergy, double maxecalpertrackenergy)
\item 
int {\bf min} (int a, int b)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!calc\-Thrust@{calc\-Thrust}}
\index{calc\-Thrust@{calc\-Thrust}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{calc\-Thrust}]{\setlength{\rightskip}{0pt plus 5cm}double lcfiplus\-::algo\-Etc\-::calc\-Thrust (
\begin{DoxyParamCaption}
\item[{vector$<$ T\-Vector3 $>$ \&}]{list, }
\item[{T\-Vector3 \&}]{taxis}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a0ef5e0af0d59d32c2ebdd05a99128eb6}


References min().



Referenced by lcfiplus\-::\-Z\-H\-H\-Algo\-::process().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!connect\-Vertices\-To\-Jets@{connect\-Vertices\-To\-Jets}}
\index{connect\-Vertices\-To\-Jets@{connect\-Vertices\-To\-Jets}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{connect\-Vertices\-To\-Jets}]{\setlength{\rightskip}{0pt plus 5cm}void lcfiplus\-::algo\-Etc\-::connect\-Vertices\-To\-Jets (
\begin{DoxyParamCaption}
\item[{const {\bf Jet\-Vec} \&}]{jets, }
\item[{const vector$<$ {\bf Vertex} $\ast$ $>$ \&}]{vtcs, }
\item[{vector$<$ vector$<$ {\bf Vertex} $\ast$ $>$ $>$ \&}]{jet\-Vertices, }
\item[{vector$<$ vector$<$ const {\bf Track} $\ast$ $>$ $>$ \&}]{jet\-Residual\-Tracks, }
\item[{const {\bf Vertex} $\ast$}]{ip = {\ttfamily 0}}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a5cf36e253a875ef6b9b51ba57f4c4000}


References extract\-Tracks(), and lcfiplus\-::\-Vertex\-::get\-Tracks().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!extract\-Tracks@{extract\-Tracks}}
\index{extract\-Tracks@{extract\-Tracks}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{extract\-Tracks}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ const {\bf Track} $\ast$ $>$ lcfiplus\-::algo\-Etc\-::extract\-Tracks (
\begin{DoxyParamCaption}
\item[{{\bf Vertex\-Vec} \&}]{vtx}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a48f75f12d0bf702688e2824e35ee283c}


Referenced by connect\-Vertices\-To\-Jets().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!make\-Beam\-Tracks@{make\-Beam\-Tracks}}
\index{make\-Beam\-Tracks@{make\-Beam\-Tracks}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{make\-Beam\-Tracks}]{\setlength{\rightskip}{0pt plus 5cm}void lcfiplus\-::algo\-Etc\-::make\-Beam\-Tracks (
\begin{DoxyParamCaption}
\item[{{\bf Track} $\ast$\&}]{t1, }
\item[{{\bf Track} $\ast$\&}]{t2, }
\item[{bool}]{smear = {\ttfamily true}}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a41719db5de88ab2db9315924620f9ae3}


References lcfiplus\-::tpar\-::cov\-N, lcfiplus\-::tpar\-::d0, lcfiplus\-::tpar\-::d0d0, lcfiplus\-::\-Globals\-::get\-Beam\-Size\-X(), lcfiplus\-::\-Globals\-::get\-Beam\-Size\-Z(), lcfiplus\-::\-Globals\-::get\-B\-Field(), lcfiplus\-::\-Globals\-::\-Instance(), lcfiplus\-::tpar\-::om, lcfiplus\-::tpar\-::omom, lcfiplus\-::tpar\-::par\-N, lcfiplus\-::tpar\-::ph, lcfiplus\-::tpar\-::phph, lcfiplus\-::\-Track\-::set\-Cov\-Matrix(), lcfiplus\-::\-Track\-::set\-Helix(), lcfiplus\-::\-Track\-::set\-Id(), lcfiplus\-::tpar\-::td, lcfiplus\-::tpar\-::tdtd, lcfiplus\-::tpar\-::z0, and lcfiplus\-::tpar\-::z0z0.

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!make\-Beam\-Vertex@{make\-Beam\-Vertex}}
\index{make\-Beam\-Vertex@{make\-Beam\-Vertex}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{make\-Beam\-Vertex}]{\setlength{\rightskip}{0pt plus 5cm}void lcfiplus\-::algo\-Etc\-::make\-Beam\-Vertex (
\begin{DoxyParamCaption}
\item[{{\bf Vertex} $\ast$\&}]{vtx, }
\item[{bool}]{smear = {\ttfamily true}}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a4a38aaaefd3e8503824ccf9d81237723}


References lcfiplus\-::\-Globals\-::get\-Beam\-Size\-X(), lcfiplus\-::\-Globals\-::get\-Beam\-Size\-Y(), lcfiplus\-::\-Globals\-::get\-Beam\-Size\-Z(), lcfiplus\-::\-Globals\-::\-Instance(), lcfiplus\-::\-Vertex\-::xx, lcfiplus\-::\-Vertex\-::xy, lcfiplus\-::\-Vertex\-::xz, lcfiplus\-::\-Vertex\-::yy, lcfiplus\-::\-Vertex\-::yz, and lcfiplus\-::\-Vertex\-::zz.



Referenced by lcfiplus\-::\-Vertex\-Finder\-Suehara\-::associate\-I\-P\-Tracks\-A\-V\-F(), lcfiplus\-::find\-Primary\-Vertex(), and test\-Tomohiko().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!min@{min}}
\index{min@{min}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{min}]{\setlength{\rightskip}{0pt plus 5cm}int lcfiplus\-::algo\-Etc\-::min (
\begin{DoxyParamCaption}
\item[{int}]{a, }
\item[{int}]{b}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_aae88816dd58310d90c39512aa706c2ba}


Referenced by calc\-Thrust(), lcfiplus\-::\-Jet\-Finder\-::func\-Durham(), lcfiplus\-::\-Jet\-Finder\-::func\-Durham\-Cheat(), lcfiplus\-::\-Jet\-Finder\-::func\-Kt(), lcfiplus\-::\-Jet\-Finder\-::func\-Valencia(), lcfiplus\-::\-Vertex\-Finder\-Suehara\-::\-Get\-Vertex\-List(), and lcfiplus\-::\-Jet\-Finder\-::run().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!Simple\-Sec\-Electron\-Finder@{Simple\-Sec\-Electron\-Finder}}
\index{Simple\-Sec\-Electron\-Finder@{Simple\-Sec\-Electron\-Finder}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{Simple\-Sec\-Electron\-Finder}]{\setlength{\rightskip}{0pt plus 5cm}bool lcfiplus\-::algo\-Etc\-::\-Simple\-Sec\-Electron\-Finder (
\begin{DoxyParamCaption}
\item[{const {\bf Track} $\ast$}]{tr, }
\item[{double}]{d0sigth, }
\item[{double}]{z0sigth, }
\item[{double}]{maxpos, }
\item[{double}]{emin, }
\item[{double}]{minfracecal, }
\item[{double}]{minecalpertrackenergy, }
\item[{double}]{maxecalpertrackenergy}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a3df5b5ba1c32d4596e322d970300c668}


References lcfiplus\-::tpar\-::d0d0, lcfiplus\-::tpar\-::ecal, lcfiplus\-::\-Track\-::get\-Calo\-Edep(), lcfiplus\-::\-Track\-::get\-Cov\-Matrix(), lcfiplus\-::\-Track\-::get\-D0(), lcfiplus\-::\-Track\-::get\-Z0(), lcfiplus\-::tpar\-::hcal, and lcfiplus\-::tpar\-::z0z0.



Referenced by lcfiplus\-::\-Ft\-N\-Electron\-::process().

\index{lcfiplus\-::algo\-Etc@{lcfiplus\-::algo\-Etc}!Simple\-Sec\-Muon\-Finder@{Simple\-Sec\-Muon\-Finder}}
\index{Simple\-Sec\-Muon\-Finder@{Simple\-Sec\-Muon\-Finder}!lcfiplus::algoEtc@{lcfiplus\-::algo\-Etc}}
\subsubsection[{Simple\-Sec\-Muon\-Finder}]{\setlength{\rightskip}{0pt plus 5cm}bool lcfiplus\-::algo\-Etc\-::\-Simple\-Sec\-Muon\-Finder (
\begin{DoxyParamCaption}
\item[{const {\bf Track} $\ast$}]{tr, }
\item[{double}]{d0sigth, }
\item[{double}]{z0sigth, }
\item[{double}]{maxpos, }
\item[{double}]{mudepmin, }
\item[{double}]{ecaldepmin, }
\item[{double}]{ecaldepmax, }
\item[{double}]{hcaldepmin, }
\item[{double}]{hcaldepmax, }
\item[{double}]{maxclusterpertrackenergy = {\ttfamily 10.}}
\end{DoxyParamCaption}
)}\label{namespacelcfiplus_1_1algoEtc_a059ca6e1beac41bb121adc75077cf543}


References lcfiplus\-::tpar\-::d0d0, lcfiplus\-::tpar\-::ecal, lcfiplus\-::\-Track\-::get\-Calo\-Edep(), lcfiplus\-::\-Track\-::get\-Cov\-Matrix(), lcfiplus\-::\-Track\-::get\-D0(), lcfiplus\-::\-Track\-::get\-Z0(), lcfiplus\-::tpar\-::hcal, lcfiplus\-::tpar\-::yoke, and lcfiplus\-::tpar\-::z0z0.



Referenced by lcfiplus\-::\-Jet\-Finder\-::prerun(), and lcfiplus\-::\-Ft\-N\-Muon\-::process().

