\subsubsection*{Description}

Marlin\-Fast\-Jet is a small wrapper around the Fast\-Jet library for Jet Finding.\par
 It has access to a many of the Infrared and Collinear Safe jet finding algorithms like kt\-\_\-algorithm, anti\-\_\-kt\-\_\-algorithm and S\-I\-S\-Cone.

\subsubsection*{Available Algorithms}

The most used algorithms are kt\-\_\-algorithm, cambridge\-\_\-algorithm, antikt\-\_\-algorithm, ee\-\_\-kt\-\_\-algorithm and S\-I\-S\-Cone\-Plugin. For a complete list start the processor and look at the log (M\-E\-S\-S\-A\-G\-E). The corresponding parameter is \char`\"{}algorithm\char`\"{}, and it takes at least the algorithm name, plus its paramers (if any, typically R).

\subsubsection*{Clustering Modes}

This processor support 4 different kind of clustering modes, but not each mode is supported by each algorithm. It can be set via the parameter \char`\"{}clustering\-Mode\char`\"{} in the steering file.

We have available\-: 
\begin{DoxyItemize}
\item Inclusive $<$min\-Pt$>$\-: Clusters the entire event. 
\item Inclusive\-Iterative\-N\-Jets $<$\-N\-Jets$>$ $<$min\-E$>$\-: Clusters the entire event, but tries to modify the R parameter of the used algorithm to get exactly $<$\-N\-Jets$>$ with a minimum energy of $<$min\-E$>$. Very C\-P\-U intensive and might not be Infrared Safe. 
\item Exclusive\-N\-Jets $<$\-N\-Jets$>$\-: Clusters event until exactly $<$\-Njets$>$ are found, but introduces \char`\"{}beam jets\char`\"{} close to the beam axis. These \char`\"{}beam jets\char`\"{} are meant for the remnants of the proton at a hadron collider, and get rejected. Saves the value of Y\-Cut at which N-\/1 (N+1) jets would have been found in the L\-C\-Event. 
\item Exclusive\-Y\-Cut $<$\-Y\-Cut$>$\-: As Exclusive\-N\-Jets, but stops when the minimal distance of 2 jets is at $<$\-Y\-Cut$>$ 
\end{DoxyItemize}

\subsubsection*{Example steering file }

$<$marlin xmlns\-:xsi=\char`\"{}http\-://www.\-w3.\-org/2001/\-X\-M\-L\-Schema-\/instance\char`\"{} xsi\-:no\-Namespace\-Schema\-Location=\char`\"{}http\-://ilcsoft.\-desy.\-de/marlin/marlin.\-xsd\char`\"{}$>$ \par
 $<$execute$>$ \par
 $<$processor name=\char`\"{}\-My\-Fast\-Jet\-Processor\char`\"{}$>$ \par
 $<$processor name=\char`\"{}\-My\-L\-C\-I\-O\-Output\-Processor\char`\"{}$>$ \par
 $<$/execute$>$ \par


$<$global$>$ \par
 $<$parameter name=\char`\"{}\-L\-C\-I\-O\-Input\-Files\char`\"{}$>$ myfile.\-slcio $<$/parameter$>$ \par
 $<$parameter name=\char`\"{}\-Skip\-N\-Events\char`\"{} value=\char`\"{}0\char`\"{}$>$ \par
 $<$parameter name=\char`\"{}\-Supress\-Check\char`\"{} value=\char`\"{}false\char`\"{}$>$ \par
 $<$parameter name=\char`\"{}\-Verbosity\char`\"{} options=\char`\"{}\-D\-E\-B\-U\-G0-\/4,\-M\-E\-S\-S\-A\-G\-E0-\/4,\-W\-A\-R\-N\-I\-N\-G0-\/4,\-E\-R\-R\-O\-R0-\/4,\-S\-I\-L\-E\-N\-T\char`\"{}$>$ M\-E\-S\-S\-A\-G\-E $<$/parameter$>$ \par
 $<$/global$>$ \par


\begin{DoxyVerb}    <processor name="MyFastJetProcessor" type="FastJetProcessor"> <br />
            <parameter name="algorithm" type="StringVec">kt_algorithm 0.75</parameter> <br />
            <parameter name="clusteringMode" type="StringVec"> InclusiveIterativeNJets 4 10</parameter> <br />
            <parameter name="jetOut" type="string" lcioOutType="ReconstructedParticle">JetOut </parameter> <br />
            <parameter name="recParticleIn" type="string" lcioInType="ReconstructedParticle"> PandoraPFANewPFOs </parameter> <br />
            <parameter name="recombinationScheme" type="string">E_scheme </parameter> <br />
    </processor> <br />

    <processor name="MyLCIOOutputProcessor" type="LCIOOutputProcessor"> <br />
            <parameter name="LCIOOutputFile" type="string">outputfile.slcio </parameter> <br />
            <parameter name="LCIOWriteMode" type="string">WRITE_NEW</parameter> <br />
            <br />
    </processor> <br />
\end{DoxyVerb}


$<$/marlin$>$ \par
 