Fork me on GitHub

source: svn/trunk/paper/CommPhysComp/notes.tex@ 560

Last change on this file since 560 was 560, checked in by Xavier Rouby, 15 years ago

commentaires VL: premiere vague

File size: 111.9 KB
Line 
1\documentclass[preprint,times,5p,twocolumn]{elsarticle}
2\usepackage[ansinew]{inputenc}
3
4\usepackage{amsmath}
5\usepackage{epic}
6\usepackage{wrapfig}
7\usepackage{eepic}
8\usepackage{latexsym}
9\usepackage{array}
10\usepackage{multicol}
11
12\usepackage{fancyhdr}
13\usepackage{verbatim}
14\addtolength{\textwidth}{1cm} \addtolength{\hoffset}{-0.5cm}
15\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue, unicode]{hyperref}
16\usepackage{ifpdf}
17\usepackage{cite}
18
19\usepackage{enumitem}
20
21\newcommand{\dollar}{\$}
22
23\usepackage{graphicx}
24\graphicspath{{figures/}}
25
26
27\journal{Computer Physics Communications}
28
29\begin{document}
30
31\begin{frontmatter}
32
33\title{Delphes, a framework for fast simulation of a generic collider experiment}
34\author{S. Ovyn\corref{cor1}}
35\ead{severine.ovyn@uclouvain.be}
36
37\author{X. Rouby}
38\author{V. Lema\^itre}
39
40\address{Center for Particle Physics and Phenomenology (CP3),\\
41 Universit\'e catholique de Louvain,\\
42 B-1348 Louvain-la-Neuve, Belgium}
43
44\begin{abstract}
45
46This paper presents a new \texttt{C++} framework, \textit{Delphes}, performing a
47fast multipurpose detector response simulation.
48The simulation includes a tracking system, embedded into a magnetic field,
49calorimeters and a muon system, and possible very forward detectors arranged
50along the beamline.
51The framework is interfaced to standard file formats (e.g.\ Les Houches Event File or \texttt{HepMC}) and outputs observables such as isolated leptons, missing transverse energy and collection of jets which can be used for dedicated analyses.
52The simulation of the detector response takes into account the effect of magnetic field, the granularity of the calorimeters and subdetector resolutions.
53A simplified preselection can also be applied on processed events for trigger emulation. Detection of very forward scattered particles relies on the transport in beamlines with the \textit{Hector} software. Finally, the \textsc{FROG} 2D/3D event display is used for visualisation of the collision final states.
54\\ \\
55
56
57\textit{Preprint:} \texttt{CP3-09-01}, \texttt{arXiv:0903.2225 [hep-ph]}\\ \\
58\includegraphics[scale=0.8]{fig0}\\
59{\bf PROGRAM SUMMARY}\\
60\begin{small}
61\noindent
62{\em Program Title:} DELPHES \\
63{\em Current version:} 1.8 \\
64{\em Journal Reference:} \\
65{\em Catalogue identifier:} \\
66{\em Distribution format:} tar.gz \\
67{\em Programming language:} C++ \\
68%{\em Computer:} any computer with a C++ compiler and the ROOT environment \cite{bib:Root}
69 %Computer(s) for which program has been designed.
70%{\em Operating system:} \\
71 %Operating system(s) for which program has been designed.
72%{\em RAM:} bytes \\
73 %RAM in bytes required to execute program with typical data.
74%{\em Number of processors used:} \\
75 %If more than one processor.
76%{\em Supplementary material:} \\
77 % Fill in if necessary, otherwise leave out.
78%{\em Keywords:} Keyword one, Keyword two, Keyword three, etc. \\
79 % Please give some freely chosen keywords that we can use in a
80 % cumulative keyword index.
81%{\em Classification:} \\
82 %Classify using CPC Program Library Subject Index, see (
83 % http://cpc.cs.qub.ac.uk/subjectIndex/SUBJECT_index.html)
84 %e.g. 4.4 Feynman diagrams, 5 Computer Algebra.
85{\em External routines/libraries:} ROOT environment \\
86 % Fill in if necessary, otherwise leave out.
87{\em Subprograms used:} HepMC, StdHEP, FASTJET, \textit{Hector}, FROG. All provided within \textit{Delphes} distribution. \\
88{\em URL:}\href{http://www.fynu.ucl.ac.be/delphes.html}{http://www.fynu.ucl.ac.be/delphes.html}\\
89%{\em References:}
90%\begin{refnummer}
91%\item Reference 1 % This is the reference list of the Program Summary
92%\item Reference 2 % Type references in text as [1], [2], etc.
93%\item Reference 3 % This list is different from the bibliography, which
94 % you can use in the Long Write-Up.
95%\end{refnummer}
96\end{small}
97
98\begin{keyword}
99\textit{Delphes} \sep detector simulation \sep event reconstruction \sep trigger \sep \textsc{LHC}
100\PACS 29.85.-c \sep 07.05.Tp \sep 29.90.+r \sep 29.50.+v
101\end{keyword}
102
103\end{abstract}
104\cortext[cor1]{Corresponding author: +32.10.47.32.29.}
105\end{frontmatter}
106
107\section{Introduction}
108
109Multipurpose detectors at high energy colliders are very complex systems.
110Precise data analyses require a full detector simulation, including transport of
111the primary and secondary particles through the detector material accounting for
112the various detector inefficiencies, the dead material, the imperfections and
113the geometrical details. Their simulation is in general performed by means of
114the GEANT~\citep{bib:geant} package and final observables used for analyses
115usually require sophisticated reconstruction algorithms.
116
117
118This complexity can only be handled by large collaborations. Such simulation is
119very complicated, technical and requires a large \texttt{CPU} power.
120Phenomenological studies, looking for the observability of given signals,
121require in general only fast but realistic estimates of the expected signal
122signatures and their associated backgrounds.
123
124In this context, a new framework, called \textit{Delphes}~\citep{bib:delphes},
125has been developped, for a fast simulation of a general-purpose collider
126experiment.
127Using this framework, observables such as cross-sections and efficiencies after
128event selection can be estimated for specific reactions.
129Starting from the output of event generators, the simulation of the detector
130response takes into account the subdetector resolutions, by smearing the
131kinematics of final-state particles (i.e. those considered as stable by the
132event generator
133\footnote{In the current \textit{Delphes} version, particles other than
134electrons ($e^\pm$), photons ($\gamma$), muons ($\mu^\pm$), neutrinos ($\nu_e$,
135$\nu_\mu$ and $\nu_\tau$) and neutralinos are simulated as hadrons for their
136interactions with the calorimeters. The simulation of stable particles beyond
137the Standard Model should therefore be handled with
138care~\citep{qr:invisibleparticles}.}).
139
140
141\textit{Delphes} includes the most crucial experimental features, such as
142(Fig.~\ref{fig:FlowChart}):
143\begin{enumerate}
144\item the geometry of both central and forward detectors,
145\item the effect of magnetic field on tracks,
146\item the reconstruction of photons, leptons, jets, $b$-jets, $\tau$-jets and
147missing transverse energy,
148\item a lepton isolation,
149\item a trigger emulation,
150\item an event display.
151\end{enumerate}
152
153\begin{figure*}[!ht]
154\begin{center}
155%\includegraphics[scale=0.78]{FlowDELPHES}
156\includegraphics[scale=0.78]{fig1}
157\caption{Flow chart describing the principles behind \textit{Delphes}. Event
158files coming from external Monte Carlo generators are read by a converter stage
159(top).
160The kinematics variables of the final-state particles are then smeared
161according to the tunable subdetector resolutions.
162Tracks are reconstructed in a simulated solenoidal magnetic field and
163calorimetric cells sample the energy deposits. Based on these low-level objects,
164dedicated algorithms are applied for particle identification, isolation and
165reconstruction.
166The transport of very forward particles to the near-beam detectors is also
167simulated.
168Finally, an output file is written, including generator-level and
169analysis-object data.
170If requested, a fully parametrisable trigger can be emulated. Optionally, the
171geometry and visualisation files for the 3D event display can also be produced.
172All user parameters are set in the \textit{Detector/Smearing Card} and the
173\textit{Trigger Card}. }
174\label{fig:FlowChart}
175\end{center}
176\end{figure*}
177
178Although \textit{Delphes} yields much realistic results than a simple
179``parton-level" analysis, it has some limitations. Detector geometry is
180idealised, being uniform, symmetric around the beam axis, and having no cracks
181nor dead material. Secondary interactions, multiple scatterings, photon
182conversion and bremsstrahlung are also neglected.
183
184Several common datafile formats can be used as input in \textit{Delphes}
185\citep{qr:inputformat}, in order to process events from many different
186generators. \textit{Delphes} creates output data in a ROOT ntuple
187\citep{bib:Root}. This output contains a copy of the generator-level data, the
188analysis data objects after reconstruction, and possibly the results of the
189trigger emulation \citep{qr:outputformat}.
190In option \textit{Delphes} can produce a reduced output file in \texttt{*.lhco}
191text format, which is limited to the list of the reconstructed high-level
192objects in the final states~\citep{qr:lhco}.
193
194
195
196\section{Simulation of the detector response}
197
198The overall layout of the multipurpose detector simulated by \textit{Delphes}
199is shown in Fig.~\ref{fig:GenDet3}. It consists in a central tracking system
200(\textsc{TRACKER}) surrounded by an electromagnetic and a hadron calorimeters
201(\textsc{ECAL} and \textsc{HCAL}, each with a central region and two endcaps)
202and two forward calorimeters (\textsc{FCAL}). Finally, a muon system
203(\textsc{MUON}) encloses the central detector volume.
204
205A detector card \citep{qr:detectorcard} allows a large spectrum of running
206conditions by modifying basic detector parameters, including calorimeter and
207tracking coverage and resolution, thresholds or jet algorithm parameters.
208Even if \textit{Delphes} has been developped for the simulation of
209general-purpose detectors at the \textsc{LHC} (namely, \textsc{CMS} and
210\textsc{ATLAS}), this input parameter file interfaces a flexible parametrisation
211for other cases, e.g.\ at future linear colliders~\citep{qr:datacards}.
212If no detector card is provided, predefined values based on ``typical''
213\textsc{CMS} acceptances and resolutions are used. The geometrical coverage of
214the various subsystems used in the default configuration are summarised in
215Tab.~\ref{tab:defEta}. The detector is assumed to be strictly symmetric around
216the beam axis.
217
218\begin{table}[t]
219\begin{center}
220\caption{Default extension in pseudorapidity $\eta$ of the different subdetectors.
221Full azimuthal ($\phi$) acceptance is assumed.
222 \vspace{0.5cm}}
223\begin{tabular}{lcc}
224\hline
225 & $\eta$ & $\phi$ \\ \hline
226\textsc{TRACKER} & $[-2.5; 2.5]$ & $[-\pi ; \pi]$\\
227\textsc{ECAL}, \textsc{HCAL} & $[-1.7 ; 1.7]$ & $[-\pi ; \pi]$\\
228\textsc{ECAL}, \textsc{HCAL} endcaps & $[-3 ; -1.7]$ \& $[1.7 ; 3]$ & $[-\pi ; \pi]$\\
229\textsc{FCAL} & $[-5 ; -3]$ \& $[3 ;5]$ & $[-\pi ; \pi]$\\
230\textsc{MUON} & $[-2.4 ; 2.4]$ & $[-\pi ; \pi]$\\ \hline
231\end{tabular}
232\label{tab:defEta}
233\end{center}
234\end{table}
235
236\begin{figure}[!ht]
237\begin{center}
238%\includegraphics[width=\columnwidth]{Detector_DELPHES_3}
239\includegraphics[width=\columnwidth]{fig2}
240\caption{
241Profile of layout of the generic detector geometry assumed in \textit{Delphes}.
242The innermost layer, close to the interaction point, is a central tracking
243system (pink). It is surrounded by a central calorimeter volume (green) with
244both electromagnetic and hadronic sections. The outer layer of the central
245system (red) is muon system. In addition, two end-cap calorimeters (blue) extend
246the pseudorapidity coverage of the central detector.
247Additional forward detectors are not depicted.
248}
249\label{fig:GenDet3}
250\end{center}
251\end{figure}
252
253
254\subsection{Magnetic field}
255In addition to the subdetectors, the effects of a solenoidal magnetic field are
256simulated for the charged particles~\citep{qr:magneticfield}. This affects the
257position at which charged particles enter the calorimeters and their
258corresponding tracks. The field extension is limited to the tracker volume and
259is in particular not applied for muon chambers. Howerver, this is not a limiting
260factor as the resolution applied for muon reconstruction is the one expected by
261the experiment, which consequently includes the effects of the magnetic field
262within the muon system.
263
264
265\subsection{Tracks reconstruction}
266Every stable charged particle with a transverse momentum above some threshold and lying inside the detector volume covered by the tracker provides a track.
267By default, a track is assumed to be reconstructed with $90\%$ probability if
268its transverse momentum $p_T$ is higher than $0.9~\textrm{GeV}/c$ and if its
269pseudorapidity $|\eta| \leq 2.5$~\citep{qr:tracks}. No smearing is currently
270applied on tracks.
271
272
273\subsection{Calorimetric cells}
274
275The response of the calorimeters to energy deposits of incoming particles
276depends on their segmentation and resolution, as well as on the nature of the
277particles themselves. In CMS and ATLAS detectors, for instance, the calorimeter
278characteristics are not identical in every direction, with typically finer
279resolution and granularity in the central
280regions~\citep{bib:cmsjetresolution,bib:ATLASresolution}. It is thus very
281important to compute the exact coordinates of the entry point of the particles
282into the calorimeters, via the magnetic field calculations.
283
284The smallest unit for geometrical sampling of the calorimeters is a
285\textit{cell}; it segments the $(\eta,\phi)$ plane for the energy measurement.
286No longitudinal segmentation is available in the simulated
287calorimeters. \textit{Delphes} assumes that ECAL and HCAL have the same
288segmentations and that the detector is symmetric in $\phi$ and with respect to
289the $\eta=0$ plane~\citep{qr:calorimetriccells}.
290Fig.~\ref{fig:calosegmentation} illustrates the default calorimeter
291segmentation.
292
293\begin{figure}[!ht]
294\begin{center}
295%\includegraphics[width=\columnwidth]{calosegmentation}
296\includegraphics[width=\columnwidth]{fig3}
297\caption{Default segmentation of the calorimeters in the $(\eta,\phi)$ plane. Only the central detectors (\textsc{ECAL}, \textsc{HCAL}) and \textsc{FCAL} are considered. $\phi$ angles are expressed in radians.}
298\label{fig:calosegmentation}
299\end{center}
300\end{figure}
301
302
303The calorimeter response is parametrised through a Gaussian smearing of the accumulated cell energy with a variance $\sigma$:
304\begin{equation}
305\frac{\sigma}{E} = \frac{S}{\sqrt{E}} \oplus \frac{N}{E} \oplus C,
306\label{eq:caloresolution}
307\end{equation}
308where $S$, $N$ and $C$ are the \textit{stochastic}, \textit{noise} and \textit{constant} terms, respectively, and $\oplus$ stands for quadratic additions~\citep{qr:energysmearing}.\\
309
310In the default parametrisation, ECAL and HCAL are assumed to cover the pseudorapidity range $|\eta|<3$, and FCAL between $3.0$ and $5.0$, with different response to electromagnetic objects ($e^\pm, \gamma$) or hadrons.
311Muons and neutrinos are assumed not to interact with the calorimeters~\citep{qr:invisibleparticles}.
312The default values of the stochastic, noise and constant terms are given in Tab.~\ref{tab:defResol}.\\
313
314\begin{table}[!h]
315\begin{center}
316\caption{Default values for the resolution of the central and forward
317calorimeters (for both electromagnetic and hadronic parts). Resolution is
318parametrised by the \textit{stochastic} ($S$), \textit{noise} ($N$) and
319\textit{constant} ($C$) terms
320(Eq.~\ref{eq:caloresolution})~\citep{qr:resolutionterms}.
321\vspace{0.5cm}}
322\begin{tabular}[!h]{lccc}
323\hline
324 & $S$ (GeV$^{1/2}$) & $N$ (GeV) & $C$ \\\hline
325 ECAL & $0.05$ & $0.25$ & $0.0055$ \\
326 ECAL, end caps & $0.05$ & $0.25$ & $0.0055$ \\
327 FCAL, e.m. part & $2.084$ & $0$ & $0.107$ \\
328 HCAL & $1.5$ & $0$ & $0.05$\\
329 HCAL, end caps & $1.5$ & $0$ & $0.05$\\
330 FCAL, had. part & $2.7$ & $0$ & $0.13$\\
331\hline
332\end{tabular}
333\label{tab:defResol}
334\end{center}
335\end{table}
336
337
338Electrons and photons leave their energy in the electromagnetic parts of the
339calorimeters (\textsc{ECAL} and \textsc{FCAL}, e.m.), while charged and neutral
340final-state hadrons interact with the hadronic parts (\textsc{HCAL} and
341\textsc{FCAL}, had.).
342Some long-living particles, such as the $K^0_s$ and $\Lambda$'s, with lifetime
343$c\tau$ smaller than $10~\textrm{mm}$ are considered as stable particles by the
344generators although they may decay before the calorimeters. The energy smearing
345of such particles is therefore performed using the expected fraction of the
346energy, determined according to their decay products, that would be deposited
347into the \textsc{ECAL} ($E_{\textsc{ECAL}}$) and into the \textsc{HCAL}
348($E_{\textsc{HCAL}}$). Defining $F$ as the fraction of the energy leading to a
349\textsc{HCAL} deposit, the two energy values are given by
350\begin{equation}
351\left\{
352\begin{array}{l}
353E_{\textsc{HCAL}} = E \times F \\
354E_{\textsc{ECAL}} = E \times (1-F) \\
355\end{array}
356\right.
357\end{equation}
358where $0 \leq F \leq 1$. The electromagnetic part is handled similarly as for
359electrons and photons. The resulting calorimetry energy measurement given after
360the application of the smearing is then $E = E_{\textsc{HCAL}} +
361E_{\textsc{ECAL}}$. For $K_S^0$ and $\Lambda$ hadrons, the energy fraction is
362$F$ is assumed to be $0.7$~\citep{qr:emhadratios}.\\
363
364
365No sharing between neighbouring cells is implemented when particles enter a
366cell very close to its geometrical edge. Due to the finite segmentation, the
367smearing, as defined in Eq.~\ref{eq:caloresolution}, is applied directly on the
368accumulated electromagnetic and hadronic energies of each calorimetric cell. The
369calorimetric cells enter in the calculation of the missing transverse energy
370(\textsc{MET}), and are used as input for the jet reconstruction algorithms.
371
372
373
374
375\section{High-level object reconstruction}
376
377The output file created by \textit{Delphes}~\citep{qr:analysistree} stores the
378final collections of particles ($e^\pm$, $\mu^\pm$, $\gamma$) and objects (light
379jets, $b$-jets, $\tau$-jets, $E_T^\textrm{miss}$). In addition, some detector
380data are added, such as tracks, calorimetric cells and hits in the very forward
381detectors (\textsc{ZDC}, \textsc{RP220} and \textsc{FP420}, see
382Sec.~\ref{sec:vfd}). While electrons, muons and photons are easily identified,
383other quantities are more difficult to evaluate as they rely on sophisticated
384algorithms (e.g. jets or missing energy).
385
386For most of these objects, their four-momentum and related quantities are
387directly accessible in \textit{Delphes} output ($E$, $\vec{p}$, $p_T$, $\eta$
388and $\phi$). Additional properties are available for specific objects (like the
389charge and the isolation status for $e^\pm$ and $\mu^\pm$, the result of
390application of $b$-tag for jets and time-of-flight for some detector hits).
391
392\subsection{Photon and charged lepton}
393From here onwards, \textit{electrons} refer to both positrons ($e^+$) and
394electrons ($e^-$), and $\textit{charged leptons}$ refer to electrons and muons
395($\mu^\pm$), leaving out the $\tau^\pm$ leptons as they decay before being
396detected.
397
398The electron, muon and photon collections contains only the true final-state
399particles identified via the generator-data. In addition, these particles must
400pass fiducial cuts taking into account the magnetic field effects and some
401additional reconstruction cuts.
402
403Consequently, no fake candidates enter these collections. However, when needed,
404fake candidates can be added into the collections at the analysis level, when
405processing \textit{Delphes} output data. As effects like bremsstrahlung are not
406taken into account along the lepton propagation in the tracker, no clustering is
407needed for the electron reconstruction in \textit{Delphes}.
408
409\subsubsection*{Electrons and photons}
410Real electron ($e^\pm$) and photon candidates are associated to the final-state
411collections if they fall into the acceptance of the tracking system and have a
412transverse momentum above some threshold (default: $p_T > 10~\textrm{GeV}/c$).
413Assuming a good measurement of the track parameters in the real experiment, the
414electron energy can be reasonably recovered. \textit{Delphes} assumes a perfect
415algorithm for clustering and Brehmstrahlung recovery. Electron energy is smeared
416according to the resolution of the calorimetric cell where it points to, but
417independently from any other deposited energy is this cell.
418Electrons and photons may create a candidate in the jet collection.
419
420\subsubsection*{Muons}
421Generator-level muons entering the muon detector acceptance (default: $-2.4
422\leq \eta \leq 2.4$) and overpassing some threshold (default : $p_T >
42310~\textrm{GeV}/c$) are considered as good candidates for analyses.
424The application of the detector resolution on the muon momentum depends on a
425Gaussian smearing of the $p_T$~\citep{qr:muonsmearing}.
426Neither $\eta$ nor $\phi$ variables are modified beyond the calorimeters: no
427additional magnetic field is applied. Multiple scattering is neglected. This
428implies that low energy muons have in \textit{Delphes} a better resolution than
429in a real detector. At last, the particles which might leak out of the
430calorimeters into the muon systems (\textit{punch-through}) are not considered
431as muon candidates in \textit{Delphes}.
432
433\subsubsection*{Charged lepton isolation}
434\label{sec:isolation}
435
436To improve the quality of the contents of the charged lepton collections,
437isolation criteria can be applied. This requires that electron or muon
438candidates are isolated in the detector from any other particle, within a small
439cone. In \textit{Delphes}, charged lepton isolation demands that there is no
440other charged particle with $p_T>2~\textrm{GeV}/c$ within a cone of $\Delta R =
441\sqrt{\Delta \eta^2 + \Delta \phi^2} <0.5$ centered on the cell associated to
442the charged lepton $\ell$, obviously taking the magnetic field into account.
443
444The result (i.e.\ \textit{isolated} or \textit{not}) is added to the charged lepton measured properties.
445In addition, the sum $P_T$ of the transverse momenta of all tracks but the lepton one within the isolation cone is
446provided~\citep{qr:isolflag}:
447$$ P_T = \sum_{i \neq \ell}^\textrm{tracks} p_T(i)$$
448
449No calorimetric isolation is applied, but the charged lepton collections
450contain also the ratio $\rho_\ell$ between (1) the sum of the transverse
451energies in all calorimetric cells in a $N \times N$ grid around the lepton, and
452(2) the lepton transverse momentum~\citep{qr:caloisolation}:
453$$ \rho_\ell = \frac{\Sigma_i E_T(i)}{p_T(\ell)}~,~ i\textrm{ in }N \times N
454\textrm { grid centred on }\ell.$$
455
456
457\subsection{Jet reconstruction}
458
459A realistic analysis requires a correct treatment of partons which have
460hadronised. Therefore, the most widely currently used jet algorithms have been
461integrated into the \textit{Delphes} framework using the FastJet
462tools\footnote{A more detailed description of the jet algorithms is given in the
463User Manual, in appendix.}. Six different jet reconstruction schemes are
464available~\citep{bib:FASTJET,qr:jetalgo}. For all of them, the calorimetric
465cells are used as inputs. Jet algorithms differ in their sensitivity to soft
466particles or collinear splittings, and in their computing speed performances.
467
468\subsubsection*{Cone algorithms}
469
470\begin{enumerate}
471
472\item {\it CDF Jet Clusters}~\citep{bib:jetclu}: Cone algorithm forming jets by
473combining cells lying within a circle (default radius $\Delta R=0.7$) in the
474$(\eta$, $\phi)$ space. Jets are seeded by all cells with transverse energy
475$E_T$ above a given threshold (default: $E_T >
4761~\textrm{GeV}$)~\citep{qr:jetparams}.
477
478\item {\it CDF MidPoint}~\citep{bib:midpoint}: Cone algorithm with additional
479``midpoints'' (energy barycentres) in the list of seeds.
480
481\item {\it Seedless Infrared Safe Cone}~\citep{bib:SIScone}: The
482\textsc{SISC}one algorithm is simultaneously insensitive to additional soft
483particles and collinear splittings.
484\end{enumerate}
485
486\subsubsection*{Recombination algorithms}
487
488The next three jet algorithms rely on recombination schemes where calorimeter
489cell pairs are successively merged:
490
491\begin{enumerate}[start=4]
492\item {\it Longitudinally invariant $k_t$ jet}~\citep{bib:ktjet},
493\item {\it Cambridge/Aachen jet}~\citep{bib:aachen},
494\item {\it Anti $k_t$ jet}~\citep{bib:antikt}, where hard jets are exactly
495circular in the $(y,\phi)$ plane.
496\end{enumerate}
497
498The recombination algorithms are safe with respect to soft radiations
499(\textit{infrared}) and collinear splittings. Their implementations are similar
500except for the definition of the \textit{distances} used during the merging
501procedure.
502
503By default, reconstruction uses the CDF cone algorithm. Jets are stored if their
504transverse energy is higher than $20~\textrm{GeV}$~\citep{qr:ptcutjet}.
505
506
507\subsubsection*{Energy flow}
508
509In jets, several particle can leave their energy into a given calorimetric cell,
510which broadens the jet energy resolution. However, the energy of charged
511particles associated to jets can be deduced from their reconstructed track, thus
512providing a way to identify some of the components of cells with multiple hits.
513When the \textit{energy flow} is switched on in \textit{Delphes}, the energy of
514tracks pointing to calorimetric cells is subtracted and smeared separately,
515before running the chosen jet reconstruction algorithm. This option allows a
516better jet $E$ reconstruction~\citep{qr:energyflow}.
517
518\subsection{$b$-tagging}
519\label{btagging}
520
521A jet is tagged as $b$-jets if its direction lies in the acceptance of the
522tracker and if it is associated to a parent $b$-quark. By default, a $b$-tagging
523efficiency of $40\%$ is assumed if the jet has a parent $b$ quark. For $c$-jets
524and light jets (i.e.\ originating in $u$, $d$, $s$ quarks or in gluons), a fake
525$b$-tagging efficiency of $10 \%$ and $1 \%$ respectively is
526assumed~\citep{qr:btag}. The (mis)tagging relies on the identity of
527the most energetic parton within a cone around the jet axis, with a
528radius equal to the one used to reconstruct the jet (default: $\Delta R$ of
529$0.7$). In current version of \textit{Delphes}, the displacement of secondary
530vertices is not simulated.
531
532\subsection{\texorpdfstring{$\tau$}{\texttau} identification}
533
534Jets originating from $\tau$-decays are identified using a procedure consistent
535with the one applied in a full detector simulation~\citep{bib:cmsjetresolution}.
536The tagging relies on two properties of the $\tau$ lepton. First, $77\%$ of the
537$\tau$ hadronic decays contain only one charged hadron associated to a few
538neutrals (Tab.~\ref{tab:taudecay}). Secondly, the particles arisen from the
539$\tau$ lepton produce narrow jets in the calorimeter (this is defined as the jet
540\textit{collimation}).
541
542
543\begin{table}[!h]
544\begin{center}
545\caption{ Branching ratios for $\tau^-$ lepton~\citep{bib:pdg}. $h^\pm$ and
546$h^0$ refer to charged and neutral hadrons, respectively. $n \geq 0$ and $m \geq
5470$ are integers.
548\vspace{0.5cm} }
549\begin{tabular}[!h]{lll}
550\hline
551 \multicolumn{3}{l}{\textbf{Leptonic decays}}\\
552 & $ \tau^- \rightarrow e^- \ \bar \nu_e \ \nu_\tau$ & $17.9\% $ \\
553 & $ \tau^- \rightarrow \mu^- \ \bar \nu_\mu \ \nu_\tau$ & $17.4\%$ \\
554 \multicolumn{3}{l}{\textbf{Hadronic decays}}\\
555 & $ \tau^- \rightarrow h^-\ (n\times h^\pm) \ (m\times h^0) \ \nu_\tau$ & $64.7\%$ \\
556 & $ \tau^- \rightarrow h^-\ (m\times h^0) \ \nu_\tau$ & $50.1\%$ \\
557 & $ \tau^- \rightarrow h^-\ h^+ h^- (m\times h^0) \ \nu_\tau$ & $14.6\%$ \\
558\hline
559\end{tabular}
560\label{tab:taudecay}
561\end{center}
562\end{table}
563
564\begin{figure}[!ht]
565\begin{center}
566%\includegraphics[width=0.6\columnwidth]{Tau}
567\includegraphics[width=0.80\columnwidth]{fig5}
568\caption{Illustration of the identification of $\tau$-jets ($1-$prong). The jet cone is narrow and contains only one track. The small cone serves to apply the \textit{electromagnetic collimation}, while the broader cone is used to reconstruct the jet originating from the $\tau$-decay.}
569\label{h_WW_ss_cut1}
570\end{center}
571\end{figure}
572
573
574\begin{table}[!h]
575\begin{center}
576\caption{Default values for parameters used in $\tau$-jet reconstruction algorithm. Electromagnetic collimation requirements involve the inner \textit{small} cone radius $R^\textrm{em}$, the minimum transverse energy for calorimetric cells $E_T^\textrm{cell}$ and the collimation factor $C_\tau$. Tracking isolation constrains the number of tracks with a significant transverse momentum $p_T^\textrm{tracks}$ in a cone of radius $R^\textrm{tracks}$. Finally, the $\tau$-jet collection is purified by the application of a cut on the $p_T$ of $\tau$-jet candidates~\citep{qr:taujets}.
577\vspace{0.5cm} }
578\begin{tabular}[!h]{lll}
579\hline
580\multicolumn{3}{l}{\textbf{Electromagnetic collimation}} \\
581& $R^\textrm{em}$ & $0.15$\\
582& min $E_{T}^\textrm{cell}$ & $1.0$~GeV\\
583& $C_{\tau}$ & $0.95$\\
584\multicolumn{3}{l}{\textbf{Tracking isolation}} \\
585& $R^\textrm{tracks}$ & $0.4$\\
586& min $p_T^\textrm{tracks}$ & $2$ GeV$/c$\\
587\multicolumn{3}{l}{\textbf{$\tau$-jet candidate}} \\
588& $\min p_T$ & $10$ GeV$/c$\\
589\hline
590\end{tabular}
591\label{tab:tauRef}
592\end{center}
593\end{table}
594
595
596\subsubsection*{Electromagnetic collimation}
597
598To use the narrowness of the $\tau$-jet, the \textit{electromagnetic
599collimation} $C_{\tau}$ is defined as the sum of the energy of cells in a small
600cone of radius $R^\textrm{em}$ around the jet axis, divided by the energy of the
601reconstructed jet. To be taken into account, a calorimeter cell should have a
602transverse energy $E_T^\textrm{cell}$ above a given threshold. A large fraction
603of the jet energy is expected in this small cone. This fraction, or
604\textit{collimation factor}, is represented in Fig.~\ref{fig:tau2} for the
605default values (see Tab.~\ref{tab:tauRef}).
606
607\begin{figure}[!ht]
608\begin{center}
609%\includegraphics[width=\columnwidth]{Tau2}
610\includegraphics[width=\columnwidth]{fig6}
611\caption{Distribution of the electromagnetic collimation $C_\tau$ variable for true $\tau$-jets, normalised to unity. This distribution is shown for associated $WH$ photoproduction~\citep{bib:whphotoproduction}, where the Higgs boson decays into a $W^+ W^-$ pair. Each $W$ boson decays into a $\ell \nu_\ell$ pair, where $\ell = e, \mu, \tau$.
612Events generated with MadGraph/MadEvent~\citep{bib:mgme}.
613Final state hadronisation is performed by \textit{Pythia}~\citep{bib:pythia}.
614Histogram entries correspond to true $\tau$-jets, matched with generator-level data. }
615\label{fig:tau2}
616\end{center}
617\end{figure}
618
619\subsubsection*{Tracking isolation}
620
621The tracking isolation for the $\tau$ identification requires that the number
622of tracks associated to particles with significant transverse momenta is one and
623only one in a cone of radius $R^\textrm{tracks}$ ($3-$prong $\tau$-jets are
624dropped). This cone should be entirely incorporated into the tracker to be taken
625into account. Default values of these parameters are given in
626Tab.~\ref{tab:tauRef}.
627
628
629
630\begin{figure}[!ht]
631\begin{center}
632%\includegraphics[width=\columnwidth]{Tau1}
633\includegraphics[width=\columnwidth]{fig7}
634\caption{Distribution of the number of tracks $N^\textrm{tracks}$ within a small jet cone for true $\tau$-jets, normalised to unity. Photoproduced $WH$ events, where $W$ bosons decay leptonically ($e,\mu,\tau$), as in Fig.~\ref{fig:tau2}.
635Histogram entries correspond to true $\tau$-jets, matched with generator-level data.}
636\label{fig:tau1}
637\end{center}
638\end{figure}
639
640
641\subsubsection*{Purity}
642Once both electromagnetic collimation and tracking isolation are applied, a
643threshold on the $p_T$ of the $\tau$-jet candidate is requested to purify the
644collection. This procedure selects $\tau$ leptons decaying hadronically with a
645typical efficiency of $66\%$.
646
647\subsection{Missing transverse energy}
648In an ideal detector, momentum conservation imposes the transverse momentum of
649the observed final state $\overrightarrow{p_T}^\textrm{obs}$ to be equal and
650in opposite direction to the $\overrightarrow{p_T}$ vector sum of the
651invisible particles, written $\overrightarrow{p_T}^\textrm{miss}$.
652The \textit{true} missing transverse energy, i.e.\ at generator-level, is
653calculated as the opposite of the vector sum of the transverse momenta of all
654visible particles -- or equivalently, to the vector sum of invisible particle
655transverse momenta.
656In a real experiment, calorimeters measure energy and not momentum. Any problem
657affecting the detector (dead channels, misalignment, noisy cells, cracks)
658worsens directly the measured missing transverse energy $\overrightarrow
659{E_T}^\textrm{miss}$. In \textit{Delphes}, \textsc{MET} is based on the
660calorimetric cells only. Muons and neutrinos are therefore not taken into
661account for its evaluation:
662\begin{equation}
663\overrightarrow{E_T}^\textrm{miss} = - \sum^\textrm{cells}_i \overrightarrow{E_T}(i)
664\end{equation}
665However, as muon candidates, tracks and calorimetric cells are available in the
666output file, the missing transverse energy can always be reprocessed a
667posteriori with more specialised algorithms.
668
669\section{Trigger emulation}
670
671Most of the usual trigger algorithms select events containing leptons, jets, and
672\textsc{MET} with an energy scale above some threshold. This is often expressed
673in terms of a cut on the transverse momentum of one or several objects of the
674measured event. Logical combinations of several conditions are also possible.
675For instance, a trigger path could select events containing at least one jet and
676one electron such as $p_T^\textrm{jet} > 100~\textrm{GeV}/c$ and $p_T^e >
67750~\textrm{GeV}/c$.
678
679A trigger emulation is included in \textit{Delphes}, using a fully
680parametrisable \textit{trigger table} \citep{qr:triggercard}. When enabled, this
681trigger is applied on analysis-object data. In a real experiment, the online
682selection is often divided into several steps (or \textit{levels}).
683corresponding to the different trigger levels.
684First-level triggers are fast and simple but based only on partial data as not
685all detector front-ends are readable within the decision latency.
686Higher level triggers are more complex, of finer-but-not-final quality and
687based on full detector data.
688
689Real triggers are thus intrinsically based on reconstructed data with a worse
690resolution than final analysis information. On the contrary, the same
691information is used in \textit{Delphes} for the trigger emulation and for final
692analyses.
693
694\section{\label{sec:vfd}Very forward detector simulation}
695
696Most of the recent experiments in beam colliders have additional
697instrumentation along the beamline. These extend the $\eta$ coverage to higher
698values, for the detection of very forward final-state particles. In
699\textit{Delphes}, Zero Degree Calorimeters, roman pots and forward taggers have
700been implemented (Fig.~\ref{fig:fdets}), similarly as for CMS and
701ATLAS collaborations~\citep{bib:cmsjetresolution, bib:ATLASresolution}.
702
703\begin{figure}[!ht]
704\begin{center}
705%\includegraphics[width=\columnwidth]{fdets}
706\includegraphics[width=\columnwidth]{fig4}
707\caption{Default location of the very forward detectors, including
708\textsc{ZDC}, \textsc{RP220} and \textsc{FP420} in the \textsc{LHC} beamline.
709Incoming (beam 1, red) and outgoing (beam 2, black) beams on one side of the
710fifth interaction point (\textsc{IP5}, $s=0~\textrm{m}$ on the plot).
711The Zero Degree Calorimeter is located in perfect alignment with the beamline
712axis at the interaction point, at $140~\textrm{m}$, where the beam paths are
713well separated. The forward taggers are near-beam detectors located at
714$220~\textrm{m}$ and $420~\textrm{m}$. Beamline simulation with
715\textit{Hector}~\citep{bib:hector}. All very forward detectors are located
716symmetrically around the interaction point. }
717\label{fig:fdets}
718\end{center}
719\end{figure}
720
721\begin{table}[t]
722\begin{center}
723\caption{Default parameters for the forward detectors: distance from the
724interaction point and detector acceptance. The \textsc{LHC} beamline is assumed
725around the fifth \textsc{LHC} interaction point (\textsc{IP}). For the
726\textsc{ZDC}, the acceptance depends only on the pseudorapidity $\eta$ of the
727particle, which should be neutral and stable.
728It is expressed in terms of the particle energy ($E$).
729All detectors are located on both sides of the interaction point.
730\vspace{0.5cm}}
731\begin{tabular}{llcl}
732\hline
733Detector & Distance & Acceptance & \\ \hline
734\textsc{ZDC} & $\pm 140$ m & $|\eta|> 8.3$ & for $n$ and $\gamma$\\
735\textsc{RP220} & $\pm 220$ m & $E \in [6100 ; 6880]$ (GeV) & at $2~\textrm{mm}$\\
736\textsc{FP420} & $\pm 420$ m & $E \in [6880 ; 6980]$ (GeV) & at $4~\textrm{mm}$\\
737\hline
738\end{tabular}
739\label{tab:fdetacceptance}
740\end{center}
741\end{table}
742
743
744\subsection{Zero Degree Calorimeters}
745
746In direct sight of the interaction point, on both sides of the central
747detector, the Zero Degree Calorimeters (\textsc{ZDC}s) are located at zero
748angle, i.e.\ are aligned with the beamline axis at the interaction point. They
749are placed beyond the point where the paths of incoming and outgoing beams
750separate. These allow the measurement of stable neutral particles ($\gamma$ and
751$n$) coming from the interaction point, with large pseudorapidities (e.g.\
752$|\eta_{\textrm{n,}\gamma}| > 8.3$ in \textsc{ATLAS} and \textsc{CMS}).
753
754The trajectory of the neutrals observed in the \textsc{ZDC}s is a straight
755line, while charged particles are deflected away from their acceptance window by
756the powerful magnets located in front of them. The fact that additional charged
757particles may enter the \textsc{ZDC} acceptance is neglected in the current
758versions of \textit{Delphes}.
759
760The \textsc{ZDC}s have the ability to measure the time-of-flight of the particle.
761This corresponds to the delay $t$ after which the particle is observed in the
762detector, with respect to the bunch crossing reference time at the interaction
763point ($t_0$):
764\begin{equation}
765 t = t_0 + \frac{1}{v} \times \Big( \frac{s-z}{\cos \theta}\Big) \approx \frac{1}{c} \times (s-z),
766\end{equation}
767where $t_0$ is thus the true time coordinate of the vertex from which the
768particle originates, $v$ the particle velocity, $s$ is the \textsc{ZDC} distance
769to the interaction point, $z$ is the longitudinal coordinate of the vertex,
770$\theta$ is the particle emission angle. It is assumed that the neutral particle
771observed in the \textsc{ZDC} is highly relativistic and very forward.
772For the time-of-flight measurement, a Gaussian smearing can be applied according
773to the detector resolution
774(Tab.~\ref{tab:defResolZdc})~\citep{qr:resolutionterms}.
775
776
777The \textsc{ZDC}s are composed of an electromagnetic and a hadronic sections,
778for the measurement of photons and neutrons, respectively. The energy of the
779observed neutral is smeared according to Eq.~\ref{eq:caloresolution} and the
780corresponding section resolutions (Tab.~\ref{tab:defResolZdc}). The \textsc{ZDC}
781hits do not enter in the calorimeter cell list used for reconstruction of jets
782and missing transverse energy.
783
784\begin{table}[!h]
785\begin{center}
786\caption{Default values for the resolution of the zero degree calorimeters.
787Resolution on energy measurement is parametrised by the \textit{stochastic}
788($S$), \textit{noise} ($N$) and \textit{constant} ($C$) terms
789(Eq.~\ref{eq:caloresolution})~\citep{qr:resolutionterms}. The time-of-flight is
790smeared according to a Gaussian function.
791\vspace{0.5cm}}
792\begin{tabular}[!h]{llcc}
793\hline
794 \multicolumn{3}{l}{\textsc{ZDC}, electromagnetic part} & hadronic part \\
795 & $S$ (GeV$^{1/2}$) & $0.7$ & $1.38$\\
796 & $N$ (GeV) & $0$ & $0$ \\
797 & $C$ & $0.08$& $0.13$ \\
798 \multicolumn{4}{l}{\textsc{ZDC}, timing resolution} \\
799 & $\sigma_t$ (s) & $0$ & \\
800\hline
801\end{tabular}
802\label{tab:defResolZdc}
803\end{center}
804\end{table}
805
806The reconstructed ZDC hits correspond to neutral particles with a lifetime long
807enough to reach these detectors (default: $c \tau \geq 140~\textrm{m}$) and very
808large pseudorapidities (default: $|\eta|>8.3$).
809Photons and neutrons are identified if their energy overpasses a given threshold
810(def. $E_\gamma \leq 20$~GeV and $E_n \leq 50$~GeV)~\citep{qr:fwdneutrals}.
811
812
813
814\subsection{Forward taggers}
815
816Forward taggers (called here \textsc{RP220}, for ``roman pots at
817$220~\textrm{m}$'' and \textsc{FP420} for ``forward proton taggers at
818$420~\textrm{m}$'', as at the \textsc{LHC}) are meant for the measurement of
819particles following very closely the beam path. Such devices, also used at
820\textsc{HERA} and Tevatron, are located very far away from the interaction point
821(further than $150$~m in the \textsc{LHC} case).
822
823To be able to reach these detectors, particles must have a charge identical to
824the beam particles, and a momentum very close to the nominal value of the beam.
825These taggers are near-beam detectors located a few millimetres from the true
826beam trajectory and this distance defines their acceptance
827(Tab.~\ref{tab:fdetacceptance}). For instance, roman pots at $220~\textrm{m}$
828from the \textsc{IP} and $2~\textrm{mm}$ from the beam will detect all forward
829protons with an energy between $120$ and $900~\textrm{GeV}$~\citep{bib:hector}.
830In practice, in the \textsc{LHC}, only positively charged muons ($\mu^+$) and
831protons can reach the forward taggers as other particles with a single positive
832charge coming from the interaction points will decay before their possible
833tagging. In \textit{Delphes}, extra hits coming from the beam-gas events or
834secondary particles hitting the beampipe in front of the detectors are not taken
835into account.
836
837While neutral particles propagate along a straight line to the \textsc{ZDC}, a
838dedicated simulation of the transport of charged particles is needed for
839\textsc{RP220} and \textsc{FP420}. This fast simulation uses the \textit{Hector}
840software~\citep{bib:hector}, which includes the chromaticity effects and the
841geometrical aperture of the beamline elements of any arbitrary collider.
842
843Forward taggers are able to measure the hit positions ($x,y$) and angles
844($\theta_x,\theta_y$) in the transverse plane at the location of the detector
845($s$ meters away from the \textsc{IP}), as well as the
846time-of-flight\footnote{It is worth noting that for both \textsc{CMS} and
847\textsc{ATLAS} experiments, the taggers located at $220$~m are not able to
848measure the time-of-flight, contrary to \textsc{FP420} detectors.} ($t$). Out of
849these the particle energy ($E$) and the momentum transfer it underwent during
850the interaction ($q^2$) can be reconstructed at the analysis level (it is not
851implemented in the current versions of \textit{Delphes}. The time-of-flight
852measurement can be smeared with a Gaussian distribution (default value
853$\sigma_t = 0~\textrm{s}$)~\citep{qr:protontaggers}.
854
855
856
857\section{Validation}
858
859\textit{Delphes} performs a fast simulation of a collider experiment.
860Its performances in terms of computing time and data size are directly
861proportional to the number of simulated events and on the considered physics
862process. As an example, $10,000$ $pp \rightarrow t \bar t X$ events are
863processed in $110~\textrm{s}$ on a regular laptop and use less than
864$250~\textrm{MB}$ of disk space.
865The quality and validity of the output are assessed by comparing the
866resolutions on the reconstructed data to the expectations of both
867\textsc{CMS}~\citep{bib:cmsjetresolution} and
868\textsc{ATLAS}~\citep{bib:ATLASresolution} detectors.
869
870Electrons and muons are by construction equal to the experiment designs, as the
871Gaussian smearing of their kinematics properties is defined according to the
872detector specifications. Similarly, the $b$-tagging efficiency (for real
873$b$-jets) and misidentification rates (for fake $b$-jets) are taken directly
874from the expected values of the experiment. Unlike these simple objects, jets
875and missing transverse energy should be carefully cross-checked.
876
877\subsection{Jet resolution}
878
879The majority of interesting processes at the \textsc{LHC} contain jets in the
880final state. The jet resolution obtained using \textit{Delphes} is therefore a
881crucial point for its validation, both for \textsc{CMS}- and \textsc{ATLAS}-like
882detectors. This validation is based on $pp \rightarrow gg$ events produced with
883MadGraph/MadEvent and hadronised
884using \textit{Pythia}~\citep{bib:mgme,bib:pythia}.
885
886For a \textsc{CMS}-like detector, a similar procedure as the one explained in
887published results is applied here. The events were arranged in $14$ bins of
888gluon transverse momentum $\hat{p}_T$. In each $\hat{p}_T$ bin, every jet in
889\textit{Delphes} is matched to the closest jet of generator-level particles,
890using the spatial separation between the two jet axes
891\begin{equation}
892\Delta R = \sqrt{ \big(\eta^\textrm{rec} - \eta^\textrm{MC} \big)^2 +
893\big(\phi^\textrm{rec} - \phi^\textrm{MC} \big)^2}<0.25.
894\end{equation}
895The jets made of generator-level particles, here referred as \textit{MC jets},
896are obtained by applying the algorithm to all particles considered as stable
897after hadronisation (i.e.\ including muons). Jets produced by \textit{Delphes}
898and satisfying the matching criterion are called hereafter \textit{reconstructed
899jets}. All jets are computed with the clustering algorithm (JetCLU) with a cone
900radius $R$ of $0.7$.
901
902The ratio of the transverse energies of every reconstructed jet
903$E_T^\textrm{rec}$ to its corresponding \textsc{MC} jet $E_T^\textrm{MC}$ is
904calculated in each $\hat{p}_T$ bin. The $E_T^\textrm{rec}/E_T^\textrm{MC}$
905histogram is fitted with a Gaussian distribution in the interval \mbox{$\pm
9062$~\textsc{RMS}} centred around the mean value. The resolution in each
907$\hat{p}_T$ bin is obtained by the fit mean $\langle x \rangle$ and variance
908$\sigma^2(x)$:
909\begin{equation}
910\frac{\sigma \Big (\frac{E_T^\textrm{rec}}{E_T^\textrm{MC}} \Big)_\textrm{fit}}{
911\Big \langle \frac{E_T^\textrm{rec}}{E_T^\textrm{MC}} \Big
912\rangle_\textrm{fit}}~
913\Big( \hat{p}_T(i) \Big)\textrm{, for all }i.
914\end{equation}
915
916\begin{figure}[!ht]
917\begin{center}
918%\includegraphics[width=\columnwidth]{resolutionJet}
919\includegraphics[width=\columnwidth]{fig8}
920\caption{Resolution of the transverse energy of reconstructed jets $E_T^\textrm{rec}$ as a function of the transverse energy of the closest jet of generator-level particles $E_T^\textrm{MC}$, in a \textsc{CMS}-like detector. The jets events are reconstructed with the JetCLU clustering algorithm with a cone radius of $0.7$. The maximum separation between the reconstructed and \textsc{MC}-jets is $\Delta R= 0.25$. Dotted line is the fit result for comparison to the \textsc{CMS} resolution~\citep{bib:cmsjetresolution}, in blue. The $pp \rightarrow gg$ dijet events have been generated with MadGraph/MadEvent and hadronised with \textit{Pythia}.}
921\label{fig:jetresolcms}
922\end{center}
923\end{figure}
924
925The resulting jet resolution as a function of $E_T^\textrm{MC}$ is shown in Fig.~\ref{fig:jetresolcms}.
926This distribution is fitted with a function of the following form:
927\begin{equation}
928\frac{a}{E_T^\textrm{MC}}\oplus \frac{b}{\sqrt{E_T^\textrm{MC}}}\oplus c,
929\label{eq:fitresolution}
930\end{equation}
931where $a$, $b$ and $c$ are the fit parameters.
932It is then compared to the resolution published by the \textsc{CMS} collaboration~\citep{bib:cmsjetresolution}. The resolution curves from \textit{Delphes} and \textsc{CMS} are in good agreement.
933
934Similarly, the jet resolution is evaluated for an \textsc{ATLAS}-like detector. The $pp \rightarrow gg$ events are here arranged in $8$ adjacent bins in $p_T$. A $k_T$ reconstruction algorithm with $R=0.6$ is chosen and the maximal matching distance between the \textsc{MC}-jets and the reconstructed jets is set to $\Delta R=0.2$. The relative energy resolution is evaluated in each bin by:
935\begin{equation}
936\frac{\sigma(E)}{E} = \sqrt{~~ \Bigg \langle ~\Bigg( \frac{E^\textrm{rec} - E^\textrm{MC}}{E^\textrm{rec}} \Bigg)^2 ~ \Bigg \rangle ~ - ~ \Bigg \langle \frac{E^\textrm{rec} - E^\textrm{MC}}{ E^\textrm{rec} } \Bigg \rangle^2}.
937\end{equation}
938
939Figure~\ref{fig:jetresolatlas} shows a good agreement between the resolution obtained with \textit{Delphes}, the result of the fit with Equation~\ref{eq:fitresolution} and the corresponding curve provided by the \textsc{ATLAS} collaboration~\citep{bib:ATLASresolution}.
940
941\begin{figure}[!ht]
942\begin{center}
943\includegraphics[width=\columnwidth]{fig9}
944\caption{Relative energy resolution of reconstructed jets as a function of the energy of the closest jet of generator-level particles $E^\textrm{MC}$, in an \textsc{ATLAS}-like detector. The jets are reconstructed with the $k_T$ algorithm with a radius $R=0.6$. The maximal matching distance between \textsc{MC}- and reconstructed jets is $\Delta R=0.2$. Only central jets are considered ($|\eta|<0.5$). Dotted line is the fit result for comparison to the \textsc{ATLAS} resolution~\citep{bib:ATLASresolution}, in blue. The $pp \rightarrow gg$ di-jet events have been generated with MadGraph/MadEvent and hadronised with \textit{Pythia}.}
945\label{fig:jetresolatlas}
946\end{center}
947\end{figure}
948
949
950\subsection{MET resolution}
951
952All major detectors at hadron colliders have been designed to be as much hermetic as possible in order to detect the presence of one or more neutrinos and/or new weakly interacting particles through apparent missing transverse energy.
953The resolution of the $\overrightarrow{E_T}^\textrm{miss}$ variable, as obtained with \textit{Delphes}, is then crucial.
954
955The samples used to study the \textsc{MET} performance are identical to those used for the jet validation.
956It is worth noting that the contribution to $E_T^\textrm{miss}$ from muons is negligible in the studied sample.
957The input samples are divided in five bins of scalar $E_T$ sums $(\Sigma E_T)$. This sum, called \textit{total visible transverse energy}, is defined as the scalar sum of transverse energy in all cells.
958The quality of the \textsc{MET} reconstruction is checked via the resolution on its horizontal component $E_x^\textrm{miss}$.
959
960The $E_x^\textrm{miss}$ resolution is evaluated in the following way.
961The distribution of the difference between $E_x^\textrm{miss}$ in \textit{Delphes} and at generator-level is fitted with a Gaussian function in each $(\Sigma E_T)$ bin. The fit \textsc{RMS} gives the \textsc{MET} resolution in each bin.
962The resulting value is plotted in Fig.~\ref{fig:resolETmis} as a function of the total visible transverse
963energy, for \textsc{CMS}- and \textsc{ATLAS}-like detectors.
964
965\begin{figure}[!ht]
966\begin{center}
967%\includegraphics[width=\columnwidth]{resolutionETmis}
968\includegraphics[width=\columnwidth]{fig10}
969\includegraphics[width=\columnwidth]{fig10b}
970\caption{$\sigma(E^\textrm{mis}_{x})$ as a function on the scalar sum of all cells ($\Sigma E_T$) for $pp \rightarrow gg$ events, for a \textsc{CMS}-like detector (top) and an \textsc{ATLAS}-like detector (bottom), for di-jet events produced with MadGraph/MadEvent and hadronised with \textit{Pythia}.}
971\label{fig:resolETmis}
972\end{center}
973\end{figure}
974
975The resolution $\sigma_x$ of the horizontal component of \textsc{MET} is observed to behave like
976\begin{equation}
977\sigma_x = \alpha ~\sqrt{E_T}~~~(\mathrm{GeV}^{1/2}),
978\end{equation}
979where the $\alpha$ parameter depends on the resolution of the calorimeters.
980
981The \textsc{MET} resolution expected for the \textsc{CMS} detector for similar events is $\sigma_x = (0.6-0.7) ~ \sqrt{E_T} ~ \mathrm{GeV}^{1/2}$ with no pile-up (i.e. extra simultaneous $pp$ collision occurring at high-luminosity in the same bunch crossing)~\citep{bib:cmsjetresolution}, which compares very well with the $\alpha = 0.63$ obtained with \textit{Delphes}. Similarly, for an \textsc{ATLAS}-like detector, a value of $0.53$ is obtained by \textit{Delphes} for the $\alpha$ parameter, while the experiment expects it in the range $[0.53~ ;~0.57]$~\citep{bib:ATLASresolution}.
982
983\subsection{\texorpdfstring{$\tau$}{\texttau}-jet efficiency}
984Due to the complexity of their reconstruction algorithm, $\tau$-jets have also to be checked.
985Table~\ref{tab:taurecoefficiency} lists the reconstruction efficiencies in \textit{Delphes} for the hadronic $\tau$-jets from $H,Z \rightarrow \tau^+ \tau^-$. The mass of the Higgs boson is set successively to $140$ and $300~\textrm{GeV}/c^2$. The inclusive gauge boson productions ($pp \rightarrow HX$ and $pp \rightarrow ZX$) are performed with MadGraph/MadEvent and the $\tau$ lepton decay and further hadronisation are handled by \textit{Pythia/Tauola}. All reconstructed $\tau$-jets are $1-$prong, and follow the definition described in section~\ref{btagging}, which is very close to an algorithm of the \textsc{CMS} experiment~\citep{bib:cmstauresolution}. At last, corresponding efficiencies published by the \textsc{CMS} and \textsc{ATLAS} experiments are quoted for comparison. The agreement is good enough at this level to validate the $\tau-$reconstruction.
986
987\begin{table}[!h]
988\begin{center}
989\caption{Reconstruction efficiencies of $\tau$-jets in $\tau^+ \tau^-$ decays from $Z$ or $H$ bosons, in \textit{Delphes}, \textsc{CMS} and \textsc{ATLAS} experiments~\citep{bib:cmstauresolution,bib:ATLASresolution}. Two scenarios for the mass of the Higgs boson are investigated. Events generated with MadGraph/MadEvent and hadronised with \textit{Pythia}. The decays of $\tau$ leptons is handled by the \textit{Tauola} version embedded in \textit{Pythia}.\vspace{0.5cm}}
990%\begin{tabular}{lll}
991%\hline
992%\multicolumn{2}{c}{\textsc{CMS}} & \\
993%$Z \rightarrow \tau^+ \tau^-$ & $38 \%$ & \\
994%$H \rightarrow \tau^+ \tau^-$ & $36 \%$ & $m_H = 150~\textrm{GeV}/c^2$ \\
995%$H \rightarrow \tau^+ \tau^-$ & $47 \%$ & $m_H = 300~\textrm{GeV}/c^2$ \\
996%\multicolumn{2}{c}{Delphes} & \\
997%$H \rightarrow \tau^+ \tau^-$ &$42 \%$ & $m_H = 140~\textrm{GeV}/c^2$ \\
998%\hline
999%\end{tabular}
1000
1001\begin{tabular}{lrlrl}
1002\hline
1003 & \textsc{CMS}&Delphes & \textsc{ATLAS}&Delphes \\
1004$Z \rightarrow \tau^+ \tau^-$ & $38.2\%$ & $32.4\pm1.8\%$ & $33\%$ & $28.6\pm 1.9\%$ \\
1005$H(140) \rightarrow \tau^+ \tau^-$ & $36.3\%$ & $39.9\pm1.6\%$ & & $32.8\pm 1.8\%$ \\
1006$H(300) \rightarrow \tau^+ \tau^-$ & $47.3\%$ & $49.7\pm1.5\%$ & & $43.8\pm 1.6\%$ \\
1007\hline
1008
1009\end{tabular}
1010\label{tab:taurecoefficiency}
1011\end{center}
1012\end{table}
1013
1014
1015\section{Visualisation}
1016
1017When performing an event analysis, a visualisation tool is useful to convey information about the detector layout and the event topology in a simple way. The \textit{Fast and Realistic OpenGL Displayer} \textsc{FROG}~\citep{bib:FROG} has been interfaced in \textit{Delphes}, allowing an easy display of the defined detector configuration~\citep{qr:frog}.
1018%\footnote{\texttt{[code] } To prepare the visualisation, the \texttt{FLAG\_FROG} parameter should be equal to $1$.}.
1019
1020% \begin{figure}[!ht]
1021% \begin{center}
1022% \includegraphics[width=\columnwidth]{Detector_DELPHES_1}
1023% \caption{Layout of the generic detector geometry assumed in Delphes. The innermost layer, close to the interaction point, is a central tracking system (pink), embedded into a solenoidal magnetic field.
1024% It is surrounded by a central calorimeter volume (green) with both electromagnetic and hadronic sections.
1025% The outer layer of the central system (red) consist of a muon system.
1026% In addition, two end-cap calorimeters (blue) extend the pseudorapidity coverage of the central detector.
1027% The actual detector granularity and extension is defined in the detector card.
1028% The detector is assumed to be strictly symmetric around the beam axis (black line).
1029% Additional forward detectors are not depicted.}
1030% \label{fig:GenDet}
1031% \end{center}
1032% \end{figure}
1033
1034Two and three-dimensional representations of the detector configuration can be used for communication purposes, as they clearly illustrate the geometric coverage of the different detector subsystems.
1035As an example, the generic detector geometry assumed in this paper is shown in Fig.~\ref{fig:GenDet3}
1036%, \ref{fig:GenDet}
1037 and~\ref{fig:GenDet2}.
1038The extensions of the central tracking system, the central calorimeters and both forward calorimeters are visible.
1039Note that only the geometrical coverage is depicted and that the calorimeter segmentation is not taken into account in the drawing of the detector. Moreover, both the radius and the length of each sub-detectors are just display parameters and are not relevant for the physics simulation.
1040
1041\begin{figure}[!ht]
1042\begin{center}
1043%\includegraphics[width=\columnwidth]{Detector_DELPHES_2b}
1044\includegraphics[width=\columnwidth]{fig11}
1045\caption{Layout of the generic detector geometry assumed in \textit{Delphes}. Open 3D-view of the detector with solid volumes. Same colour codes as for Fig.~\ref{fig:GenDet3} are applied. Additional forward detectors are not depicted.}
1046\label{fig:GenDet2}
1047\end{center}
1048\end{figure}
1049
1050Deeper understanding of interesting physics processes is possible by displaying the events themselves.
1051The visibility of each set of objects ($e^\pm$, $\mu^\pm$, $\tau^\pm$, jets, transverse missing energy) is enhanced by a colour coding.
1052Moreover, kinematics information of each object is visible by a simple mouse action.
1053As an illustration, an associated photoproduction of a $W$ boson and a $t$ quark is shown in Fig.~\ref{fig:wt}.
1054This corresponds to a $pp(\gamma p \rightarrow Wt)pX$ process, where the $Wt$ couple is induced by an incoming photon emitted by one of the colliding proton~\citep{bib:wtphotoproduction}.
1055This leading proton survives after photon emission and is present in the final state.
1056As the energy and virtuality of the emitted photon are low, the surviving proton does not leave the beam and escapes from the central detector without being detected.
1057The experimental signature is a lack of hadronic activity in the forward hemisphere where the surviving proton escapes.
1058The $t$ quark decays into a $W$ boson and a $b$ quark.
1059Both $W$ bosons decay into leptons ($W \rightarrow \mu \nu_\mu$ and $W \rightarrow e \nu_e$).
1060The balance between the missing transverse energy and the charged lepton pair is clear, as well as the presence of an empty forward region. It is interesting to notice that the reconstruction algorithms build a fake $\tau$-jet around the electron.
1061
1062\begin{figure}[!ht]
1063\begin{center}
1064%%\includegraphics[width=\columnwidth]{Events_DELPHES_1}
1065%\includegraphics[width=\columnwidth]{DisplayWt}
1066\includegraphics[width=\columnwidth]{fig12}
1067\caption{Example of $pp(\gamma p \rightarrow Wt)pY$ event display in different orientations, with $t \rightarrow Wb$.
1068One $W$ boson decays into a $\mu \nu_\mu$ pair and the second one into a $e \nu_e$ pair.
1069The surviving proton leaves a forward hemisphere with no hadronic activity.
1070The isolated muon is shown as the dark blue vector.
1071Around the electron, in red, is reconstructed a fake $\tau$-jet (green vector surrounded by a blue cone), while the reconstructed missing energy (in grey) is very small. One jet is visible in one forward region, along the beamline axis, opposite to the direction of the escaping proton.}
1072\label{fig:wt}
1073\end{center}
1074\end{figure}
1075
1076For comparison, Fig.~\ref{fig:gg} depicts an inclusive gluon pair production $pp \rightarrow ggX$.
1077The event final state contains more jets, in particular along the beam axis, which is expected as the interacting protons are destroyed by the collision. Two muon candidates and large missing transverse energy are also visible.
1078
1079\begin{figure}[!ht]
1080\begin{center}
1081%%\includegraphics[width=\columnwidth]{Events_DELPHES_1}
1082%\includegraphics[width=\columnwidth]{Displayppgg}
1083\includegraphics[width=\columnwidth]{fig13}
1084\caption{Example of inclusive gluon pair production $pp \rightarrow ggX$. Many jets are visible in the event, in particular along the beam axis. Two muons (in blue) are produced and the missing transverse energy is significant in this event (grey vector).}
1085\label{fig:gg}
1086\end{center}
1087\end{figure}
1088
1089
1090\section{Conclusion and perspectives}
1091
1092% \subsection{version 1}
1093% We have described here the major features of the \textit{Delphes} framework, introduced for the fast simulation of a collider experiment.
1094% It has already been used for several phenomenological studies, in particular in photon interactions at the \textsc{LHC}.
1095%
1096% \textit{Delphes} takes the output of event generators, in various formats, and yields analysis-object data.
1097% The simulation applies the resolutions of central and forward detectors by smearing the kinematical properties of final state particles.
1098% It yields tracks in a solenoidal magnetic field and calorimetric towers.
1099% Realistic reconstruction algorithms are run, including the FastJet package, to produce collections of $e^\pm$, $\mu^\pm$, jets and $\tau$-jets. $b$-tag and missing transverse energy are also evaluated.
1100% The output is validated by comparing to the \textsc{CMS} expected performances.
1101% A trigger stage can be emulated on the output data.
1102% At last, event visualisation is possible through the \textsc{FROG} 3D event display.
1103%
1104%
1105% \textit{Delphes} has been developped using the parameters of the \textsc{CMS} experiment but can be easily extended to \textsc{ATLAS} and other non-\textsc{LHC} experiments, as at Tevatron or at the \textsc{ILC}. Further developments include a more flexible design for the subdetector assembly and possibly the implementation of an event mixing module for pile-up event simulation.
1106%
1107%
1108% \subsection{version 2}
1109We have described here the major features of the \textit{Delphes} framework, introduced for the fast simulation of a collider experiment. This framework is a tool meant for feasibility studies in phenomenology, gauging the observability of model predictions in collider experiments.
1110
1111\textit{Delphes} takes as an input the output of event-generators and yields analysis-object data in the form of \texttt{TTree} in a \texttt{*.root} file.
1112The simulation includes central and forward detectors to produce realistic observables using standard reconstruction algorithms.
1113Moreover, the framework allows trigger emulation and 3D event visualisation.
1114
1115\textit{Delphes} has been developed using the parameters of the \textsc{CMS} experiment but can be easily extended to \textsc{ATLAS} and other non-\textsc{LHC} experiments, as at Tevatron or at the \textsc{ILC}. Further developments include a more flexible design for the subdetector assembly, a better $b$-tag description and possibly the implementation of an event mixing module for pile-up event simulation. This framework has already been used for several analyses~\citep{bib:wtphotoproduction, bib:papierquisortirajamais, bib:papiersimon}, in particular in photon-induced interactions at the \textsc{LHC}.
1116
1117
1118\section*{Acknowledgements}
1119\addcontentsline{toc}{section}{Acknowledgements}
1120The authors would like to thank Jer\^ome de Favereau, Christophe Delaere, Muriel Vander Donckt and David d'Enterria for useful discussions and comments, and Loic Quertenmont for support in interfacing \textsc{FROG}. We are also really grateful to Alice Dechambre and Simon de Visscher for being beta testers of the complete package.
1121Part of this work was supported by the Belgian Federal Office for Scientific, Technical and Cultural Affairs through the Interuniversity Attraction Pole P6/11.
1122
1123
1124\begin{thebibliography}{99}
1125\addcontentsline{toc}{section}{References}
1126
1127\bibitem{bib:geant} J. Allison, et al., Nucl. Inst. \& Meth. in \textbf{Phys. Res. A} \href{http://dx.doi.org/10.1016/S0168-9002(03)01368-8}{506 (2003) 250-303}; \textbf{IEEE Trans. on Nucl. Sc.} \href{http://dx.doi.org/10.1109/TNS.2006.869826}{53:1 (2006) 270-278}.
1128
1129\bibitem{bib:delphes} \textit{Delphes}, \href{http://www.fynu.ucl.ac.be/delphes.html}{www.fynu.ucl.ac.be/delphes.html}
1130\bibitem{bib:Root} %\textsc{ROOT}, \textit{An Object Oriented Data Analysis Framework},
1131R. Brun, F. Rademakers, Nucl. Inst. \& Meth. in \textbf{Phys. Res. A} \href{http://dx.doi.org/10.1016/S0168-9002(97)00048-X}{389 (1997) 81-86}.
1132\bibitem{bib:ExRootAnalysis} %\textit{The} \textsc{ExRootAnalysis} \textit{analysis steering utility},
1133P. Demin, (2006), unpublished. Now part of MadGraph/MadEvent.
1134\bibitem{bib:cmsjetresolution} The \textsc{CMS} Collaboration, \textbf{CERN/LHCC} \href{http://documents.cern.ch/cgi-bin/setlink?base=LHCc&categ=public&id=LHCc-2006-001}{2006-001}.
1135\bibitem{bib:ATLASresolution} The \textsc{ATLAS} Collaboration, \textbf{CERN-OPEN} 2008-020, \\arXiv:\href{http://arxiv.org/abs/arxiv:0901.0512}{0901.0512v1}[hep-ex].
1136\bibitem{bib:hector} %\textit{Hector}, \textit{a fast simulator for the transport of particles in beamlines},
1137X. Rouby, J. de Favereau, K. Piotrzkowski, \textbf{JINST} \href{http://www.iop.org/EJ/abstract/1748-0221/2/09/P09005}{2 P09005 (2007)}.
1138\bibitem{bib:FASTJET} %\textit{The} FastJet \textit{package},
1139M. Cacciari, G.P. Salam, \textbf{Phys. Lett. B} \href{http://dx.doi.org/10.1016/j.physletb.2006.08.037}{641 (2006) 57}.
1140\bibitem{bib:jetclu} %\textsc{CDF} Run I legacy algorithm,
1141F. Abe et al. (CDF Coll.), \textbf{Phys. Rev. D} \href{http://link.aps.org/doi/10.1103/PhysRevD.45.1448}{45 (1992) 1448}.
1142\bibitem{bib:midpoint} %Run II Jet Physics: Proceedings of the Run II QCD and Weak Boson Physics Workshop,
1143G.C. Blazey, et al., arXiv:\href{http://arxiv.org/abs/hep-ex/0005012}{0005012}[hep-ex].
1144\bibitem{bib:SIScone} %\textsc{SISC}one, \textit{A practical Seedless Infrared-Safe Cone jet algorithm},
1145G.P. Salam, G. Soyez, \textbf{JHEP} \href{http://dx.doi.org/10.1088/1126-6708/2007/05/086}{05 (2007) 086}.
1146\bibitem{bib:ktjet} S. Catani, Y.L. Dokshitzer, M.H. Seymour, B.R. Webber, \textbf{Nucl. Phys. B} \href{http://dx.doi.org/10.1016/0550-3213(93)90166-M}{406 (1993) 187}; S.D. Ellis, D.E. Soper, \textbf{Phys. Rev. D} \href{http://link.aps.org/doi/10.1103/PhysRevD.48.3160}{48 (1993) 3160}.
1147\bibitem{bib:aachen} Y.L. Dokshitzer, G.D. Leder, S. Moretti, B.R. Webber, \textbf{JHEP} \href{http://dx.doi.org/10.1088/1126-6708/1998/01/011}{08} \href{http://dx.doi.org/10.1088/1126-6708/1998/01/011}{(1997) 001}; M. Wobisch, T. Wengler, arXiv:\href{http://arxiv.org/abs/hep-ph/9907280}{9907280}[hep-ph].
1148\bibitem{bib:antikt} %\textit{The anti-kt jet clustering algorithm},
1149M. Cacciari, G.P. Salam, G. Soyez, \textbf{JHEP} \href{http://dx.doi.org/10.1088/1126-6708/2008/04/063}{04 (2008) 063}.
1150\bibitem{bib:pdg} C. Amsler et al. (Particle Data Group), \textbf{Phys. Lett. B} \href{http://dx.doi.org/10.1016/j.physletb.2008.07.018}{667 (2008) 1}.
1151\bibitem{bib:whphotoproduction} S. Ovyn, \textbf{Nucl. Phys. Proc. Suppl.} \href{http://dx.doi.org/10.1016/j.nuclphysbps.2008.07.034}{179-180 (2008) 269-276}.
1152\bibitem{bib:mgme} %\textsc{MadGraph/MadEvent v4}, \textit{The New Web Generation},
1153J. Alwall, et al., \textbf{JHEP} \href{http://dx.doi.org/10.1088/1126-6708/2007/09/028}{09 (2007) 028}.
1154\bibitem{bib:pythia} %\textsc{Pythia 6.4}, \textit{Physics and Manual},
1155T. Sjostrand, S. Mrenna, P. Skands, \textbf{JHEP} \href{http://dx.doi.org/10.1088/1126-6708/2006/05/026}{05 (2006) 026}.
1156\bibitem{bib:cmstauresolution} %\textit{Study of $\tau$-jet identification in CMS},
1157R. Kinnunen, A.N. Nikitenko, \textbf{CMS NOTE} \href{http://cdsweb.cern.ch/record/687274}{1997/002}.
1158\bibitem{bib:FROG} L. Quertenmont, V. Roberfroid, \textbf{CMS CR} \href{http://cms.cern.ch/iCMS/jsp/openfile.jsp?type=CR&year=2009&files=CR2009_028.pdf}{2009/028}, arXiv:\href{http://arxiv.org/abs/0901.2718}{0901.2718v1}[hep-ex].
1159\bibitem{bib:wtphotoproduction} J. de Favereau de Jeneret, S. Ovyn, \textbf{Nucl. Phys. Proc. Suppl.} \href{http://dx.doi.org/10.1016/j.nuclphysbps.2008.07.040}{179-180 (2008)} \href{http://dx.doi.org/10.1016/j.nuclphysbps.2008.07.040}{277-284}; S. Ovyn, J. de Favereau de Jeneret, \href{http://dx.doi.org/10.1393/ncb/i2008-10684-5}{Nuovo Cimento B}, arXiv:0806.4841[hep-ph].
1160
1161\bibitem{bib:papierquisortirajamais}J. de Favereau~et~al, \href{http://arxiv.org/abs/0908.2020}{arXiv:0908.2020v1} [hep-ph] (2008), to be published in EPJ.
1162
1163%\bibitem{bib:papiersimon} ``Phenomenology of a twisted two-Higgs-doublet model'', Simon de Visscher, Jean-Marc Gerard, Michel Herquet, Vincent Lema\^itre, Fabio Maltoni, to be published.
1164\bibitem{bib:papiersimon} S. de Visscher, J.M. Gerard, M. Herquet, V. Lema\^itre, F. Maltoni, arXiv:\href{http://arxiv.org/abs/0904.0705}{0904.0705}[hep-ph].
1165
1166\bibitem{bib:mcfio} P. Lebrun, L. Garren, Copyright (c) 1994-1995 Universities Research Association, Inc.
1167\bibitem{bib:stdhep} L.A. Garren, M. Fischler, \href{http://cepa.fnal.gov/psm/stdhep/c++}{cepa.fnal.gov/psm/stdhep/c++}
1168\bibitem{bib:hepmc} M. Dobbs and J.B. Hansen, \textbf{Comput. Phys. Commun.} \href{http://dx.doi.org/10.1016/S0010-4655(00)00189-2}{134 (2001) 41}.
1169\bibitem{bib:lhe} J. Alwall, et al., \textbf{Comput. Phys. Commun.} \href{http://dx.doi.org/10.1016/j.cpc.2006.11.010}{176:300-304,2007}.
1170
1171\end{thebibliography}
1172
1173
1174
1175% references to code
1176\renewcommand\refname{Internal code references}
1177\begin{thebibliography}{2}
1178\addcontentsline{toc}{section}{Internal code references}
1179
1180\bibitem[a]{qr:inputformat} The standard Monte Carlo event structures \texttt{StdHEP}~\citep{bib:stdhep} and \texttt{HepMC}~\citep{bib:hepmc} can be used as an input. Besides, \textit{Delphes} can also provide detector response for events read in ``Les Houches Event Format'' (LHEF~\citep{bib:lhe}) and \texttt{*.root} files obtained from \texttt{*.hbook} using the \texttt{h2root} utility from the ROOT framework~\citep{bib:Root}.
1181See the following classes: \texttt{HEPEVTConverter}, \texttt{HepMCConverter}, \texttt{LHEFConverter}, \texttt{STDHEPConverter} and \texttt{DelphesRootConverter}.
1182
1183\bibitem[b]{qr:outputformat} The ROOT output files are created using the \texttt{ExRootAnalysis} utility~\citep{bib:ExRootAnalysis}. Generator-level data are located under the \texttt{GEN} tree, the analysis data objects after reconstruction under the \texttt{Analysis} tree, and the results of the trigger emulation under the \texttt{Trigger} tree.
1184
1185\bibitem[c]{qr:lhco} Set the \texttt{FLAG\_LHCO} variable to $1$ or $0$ in the detector card to switch on/off the creation of \texttt{*.lhco} output file.
1186
1187\bibitem[d]{qr:invisibleparticles} The list of particles considered as invisible is accessible in the \texttt{PdgParticle} class. This list currently contains the PIDs 12, 14, 16, 1000022, 1000023, 1000025, 1000035 and 1000045, in absolute values.
1188
1189\bibitem[e]{qr:detectorcard}The detector card is the \texttt{data/DetectorCard.dat} file. This file is parsed by the \texttt{SmearUtil} class.
1190
1191\bibitem[f]{qr:datacards} Detector and trigger cards for the \textsc{ATLAS} and \textsc{CMS} experiments are also provided in \texttt{data/} directory.
1192
1193\bibitem[g]{qr:resolutionterms}The resolution terms in the detector card are named \texttt{ELG\_Xyyy} or \texttt{HAD\_Xyyy}, refering to electromagnetic and hadronic terms (resp.); \texttt{X} is replaced by \texttt{S}, \texttt{N}, \texttt{C} for the stochastic, noise and constant terms; and finally \texttt{yyy} is \texttt{cen} for central part, \texttt{ec} for end-caps, \texttt{fwd} for the forward calorimeters and \texttt{zdc} for the zero-degree calorimeters.
1194
1195\bibitem[h]{qr:magneticfield} See the \texttt{TrackPropagation} class.
1196
1197\bibitem[i]{qr:tracks} See the \texttt{TRACK\_eff} and \texttt{TRACK\_ptmin} terms in the detector card.
1198
1199\bibitem[j]{qr:energysmearing} The response of the detector is applied to the electromagnetic and the hadronic particles through the \texttt{SmearElectron} and \texttt{SmearHadron} methods in the \texttt{SmearUtil} class.
1200
1201\bibitem[k]{qr:emhadratios} To implement different ratios for other particles, see the \texttt{BlockClasses} class.
1202
1203\bibitem[l]{qr:calorimetriccells} As the detector is assumed to be cylindrical (e.g.\ symmetric in $\phi$ and with respect to the $\eta=0$ plane), the detector card stores the number of calorimetric cells with $\phi=0$ and $\eta>0$ (default: $40$ cells). For a given $\eta$, the size of the $\phi$ segmentation is also specified. See the \texttt{TOWER\_number}, \texttt{TOWER\_eta\_edges} and \texttt{TOWER\_dphi} variables in the detector card.
1204
1205\bibitem[m]{qr:analysistree} All these processed data are located under the \texttt{Analysis} tree.
1206
1207\bibitem[n]{qr:muonsmearing} See the \texttt{SmearMuon} method in the \texttt{SmearUtil} class.
1208
1209\bibitem[o]{qr:isolflag} See the \texttt{IsolFlag} and \texttt{IsolPt} values in the \texttt{Electron} or \texttt{Muon} collections in the \texttt{Analysis} tree, as well as the \texttt{ISOL\_PT} and \texttt{ISOL\_Cone} variables in the detector card.
1210
1211\bibitem[p]{qr:caloisolation} Calorimetric isolation parameters in the detector card are \texttt{ISOL\_Calo\_ET} and \texttt{ISOL\_Calo\_Grid} in the detector card.
1212
1213\bibitem[q]{qr:fwdneutrals} These thresholds are defined by the \texttt{ZDC\_gamma\_E} and \texttt{ZDC\_n\_E} variables in the detector card.
1214
1215\bibitem[r]{qr:jetalgo} The choice is done by allocating the \texttt{JET\_jetalgo } input parameter in the detector card.
1216
1217\bibitem[s]{qr:ptcutjet} See the \texttt{PTCUT\_jet }variable in the detector card.
1218
1219\bibitem[t]{qr:jetparams} See the \texttt{JET\_coneradius} and \texttt{JET\_seed} variables in the detector card. The existing FastJet code has been modified to allow easy modification of the cell pattern in $(\eta, \phi)$ space.
1220In following versions of \textit{Delphes}, a new dedicated plug-in will be created on this purpose.
1221
1222\bibitem[u]{qr:energyflow} Set \texttt{JET\_Eflow} to $1$ or $0$ in the detector card in order to switch on or off the energy flow for jet reconstruction.
1223
1224\bibitem[v]{qr:btag} Corresponding to the \texttt{BTAG\_b}, \texttt{BTAG\_mistag\_c} and \texttt{BTAG\_mistag\_l} constants, for the efficiency of tagging of a $b$-jet, the efficiency of mistagging a $c$-jet as a $b$-jet, and the
1225efficiency of mistagging a light jet ($u$,$d$,$s$,$g$) as a $b$-jet.
1226
1227\bibitem[w]{qr:taujets} See the following parameters in the detector card:\\
1228\texttt{TAU\_energy\_scone } for $R^\textrm{em}$; \texttt{JET\_M\_seed } for min $E_{T}^\textrm{cell}$;
1229\texttt{TAU\_energy\_frac} for $C_{\tau}$; \texttt{TAU\_track\_scone} for $R^\textrm{tracks}$;
1230 \texttt{PTAU\_track\_pt } for min $p_T^\textrm{tracks}$ and \texttt{TAUJET\_pt} for $\min p_T$.
1231
1232
1233\bibitem[x]{qr:triggercard} The trigger card is the \texttt{data/TriggerCard.dat} file. Default trigger files are also available for CMS-like and ATLAS-like detectors
1234
1235\bibitem[y]{qr:protontaggers} The resolution is defined by the \texttt{RP220\_T\_resolution} and \texttt{RP420\_T\_resolution} parameters in the detector card.
1236
1237\bibitem[z]{qr:frog} To prepare the visualisation, the \texttt{FLAG\_FROG} parameter should be equal to $1$.
1238
1239\end{thebibliography}
1240
1241
1242
1243
1244\onecolumn
1245\appendix
1246
1247\section{User manual}
1248
1249The available \texttt{C++}-code is compressed in a zipped tar file which contains everything needed to run the \textit{Delphes} package, assuming a running \textsc{ROOT} installation. The package includes \texttt{ExRootAnalysis}~\citep{bib:ExRootAnalysis}, \textit{Hector}~\citep{bib:hector}, FastJet~\citep{bib:FASTJET}, and \textsc{FROG}~\citep{bib:FROG}, as well as the conversion codes to read standard \mbox{StdHEP} input files (\texttt{mcfio} and \texttt{stdhep})~\citep{bib:mcfio} and HepMC~\citep{bib:hepmc}.
1250In order to visualise the events with the \textsc{FROG} software, a few additional external libraries may be required, as explained in \href{http://projects.hepforge.org/FROG/}{http://projects.hepforge.org/FROG/}.
1251
1252\subsection{Getting started}
1253
1254In order to run \textit{Delphes} on your system, first download its sources and compile them:\\
1255\begin{quote}\texttt{wget http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/files/Delphes\_V\_*.tar.gz}\end{quote}
1256Replace the \texttt{*} symbol by the proper version number. Always refer to the download page on the \textit{Delphes} website \href{http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/download.html}{http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/download.html}. Current version of Delphes for this manual is V 1.8 (July 2009).
1257
1258\begin{quote}
1259\begin{verbatim}
1260me@mylaptop:~$ tar -xvf Delphes_V_*.tar.gz
1261me@mylaptop:~$ cd Delphes_V_*.*
1262me@mylaptop:~$ ./genMakefile.tcl > Makefile
1263me@mylaptop:~$ make
1264\end{verbatim}
1265\end{quote}
1266Due to the large number of external utilities, the number of printed lines during the compilation can be high. The user should not pay attention to possible warning messages, which are due to the external packages used by \textit{Delphes}. When compilation is completed, the following message is printed:
1267\begin{quote}
1268\begin{verbatim}
1269me@mylaptop:~$ Delphes has been compiled
1270me@mylaptop:~$ Ready to run
1271\end{verbatim}
1272\end{quote}
1273
1274\subsection{Running \textit{Delphes} on your events}
1275
1276In this sub-appendix, we will explain how to use \textit{Delphes} to perform a fast simulation of a general-purpose detector on your event files. The first step to use \textit{Delphes} is to create the list of input event files (e.g.\ {\verb inputlist.list }). It is important to notice that all the files comprised in the list file should have the same of extension (\texttt{*.hep}, \texttt{*.lhe}, \texttt{*.hepmc} or \texttt{*.root}). In the simplest way to run \textit{Delphes}, you need this input file and you need to specify the name of the output file that will contain the generator-level data (\texttt{GEN} tree), the analysis data objects after reconstruction (\texttt{Analysis} tree), and the results of the trigger emulation (\texttt{Trigger} tree).
1277
1278\begin{quote}
1279\begin{verbatim}
1280me@mylaptop:~$ ./Delphes inputlist.list OutputRootFileName.root
1281\end{verbatim}
1282\end{quote}
1283
1284\subsubsection{Setting up the configuration}
1285
1286The program is driven by two datacards (default cards are {\verb data/DetectorCard.dat } and {\verb data/TriggerCard.dat }) which allow the user to choose among a large spectrum of running conditions. Please note that if the user does not provide these datacards, the running will be done using the default parameters defined in the constructor of the class \texttt{RESOLution} (see next). If you choose a different detector or running configuration, you will need to edit the datacards accordingly. Detector and trigger cards are provided in the \texttt{data/} subdirectory for the \textsc{CMS} and \textsc{ATLAS} experiments.
1287
1288\begin{enumerate}
1289\item{\bf The detector card }
1290It contains all pieces of information needed to run \textit{Delphes}:
1291\begin{itemize}
1292 \item detector parameters, including calorimeter and tracking coverage and resolutions, transverse energy thresholds for object reconstruction and jet algorithm parameters.
1293 \item six flags ({\verb FLAG_bfield }, {\verb FLAG_vfd }, {\verb FLAG_RP }, {\verb FLAG_trigger }, {\verb FLAG_FROG } and {\verb FLAG_LHCO }), should be set in order to configure the magnetic field propagation, the very forward detectors simulation, the use of very forward taggers, the trigger selection, the preparation for \textsc{FROG} display and the creation of an output file in \texttt{*.LHCO} text format (respectively).
1294 \end{itemize}
1295
1296If no datacard is provided by the user, the default smearing and running parameters are used (corresponding to tables~\ref{tab:defEta},~\ref{tab:defResol}).\\
1297Definition of the sub-detector extensions:
1298\begin{quote}
1299\begin{verbatim}
1300CEN_max_tracker 2.5 // Maximum tracker coverage
1301CEN_max_calo_cen 1.7 // central calorimeter coverage
1302CEN_max_calo_ec 3.0 // calorimeter endcap coverage
1303CEN_max_calo_fwd 5.0 // forward calorimeter pseudorapidity coverage
1304CEN_max_mu 2.4 // muon chambers pseudorapidity coverage
1305\end{verbatim}
1306\end{quote}
1307Definition of the sub-detector resolutions:
1308\begin{quote}
1309\begin{verbatim}
1310# Energy resolution for electron/photon in central/endcap/fwd/zdc calos
1311# \sigma/E = C + N/E + S/\sqrt{E}, E in GeV
1312ELG_Scen 0.05 // S term for central ECAL
1313ELG_Ncen 0.25 // N term
1314ELG_Ccen 0.005 // C term
1315ELG_Sec 0.05 // S term for ECAL endcap
1316ELG_Nec 0.25 // N term
1317ELG_Cec 0.005 // C term
1318ELG_Sfwd 2.084 // S term for FCAL
1319ELG_Nfwd 0. // N term
1320ELG_Cfwd 0.107 // C term
1321ELG_Szdc 0.70 // S term for ZDC
1322ELG_Nzdc 0. // N term
1323ELG_Czdc 0.08 // C term
1324
1325# Energy resolution for hadrons in central/endcap/fwd/zdc calos
1326# \sigma/E = C + N/E + S/\sqrt{E}, E in GeV
1327HAD_Scen 1.5 // S term for central HCAL
1328HAD_Ncen 0. // N term
1329HAD_Ccen 0.05 // C term
1330HAD_Sec 1.5 // S term for HCAL endcap
1331HAD_Nec 0. // N term
1332HAD_Cec 0.05 // C term
1333HAD_Sfwd 2.7 // S term for FCAL
1334HAD_Nfwd 0. // N term
1335HAD_Cfwd 0.13 // C term
1336HAD_Szdc 1.38 // S term for ZDC
1337HAD_Nzdc 0. // N term
1338HAD_Czdc 0.13 // C term
1339
1340# Time resolution for ZDC/RP220/RP420
1341ZDC_T_resolution 0 // in s
1342RP220_T_resolution 0 // in s
1343RP420_T_resolution 0 // in s
1344
1345# Muon smearing
1346MU_SmearPt 0.01 // transverse momentum Pt in GeV/c
1347
1348# Tracking efficiencies
1349TRACK_ptmin 0.9 // minimal pT
1350TRACK_eff 90 // efficiency associated to the tracking (%)
1351\end{verbatim}
1352\end{quote}
1353Definitions related to the calorimetric cells:
1354\begin{quote}
1355\begin{verbatim}
1356# Calorimetric towers
1357TOWER_number 40
1358TOWER_eta_edges 0. 0.087 0.174 0.261 0.348 0.435 0.522 0.609 0.696 0.783
1359 0.870 0.957 1.044 1.131 1.218 1.305 1.392 1.479 1.566 1.653
1360 1.740 1.830 1.930 2.043 2.172 2.322 2.500 2.650 2.868 2.950
1361 3.125 3.300 3.475 3.650 3.825 4.000 4.175 4.350 4.525 4.700
1362 5.000
1363
1364TOWER_dphi 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 10
1365 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 20 20
1366\end{verbatim}
1367\end{quote}
1368\texttt{TOWER\_eta\_edges} is the list of the edges in $\eta$ of all cells, in the $\eta>0$ hemisphere (the detector is supposed to be symmetric with respect to the $\eta=0$ plane, as well as around the $z$-axis). Starts with the lower edge of the most central tower (default: $\eta = 0$) and ends with the higher edge of the most forward tower.
1369\texttt{TOWER\_dphi} lists the tower size in $\phi$ (in degree), assuming that all cells are similar in $\phi$ for a given $\eta$.\\
1370Thresholds applied for storing the reconstructed objects in the final collections:
1371\begin{quote}
1372\begin{verbatim}
1373# Thresholds for reconstructed objects, in GeV/c
1374PTCUT_elec 10.0
1375PTCUT_muon 10.0
1376PTCUT_jet 20.0
1377PTCUT_gamma 10.0
1378PTCUT_taujet 10.0
1379
1380# Thresholds for reconstructed objects in ZDC, E in GeV
1381ZDC_gamma_E 20
1382ZDC_n_E 50
1383\end{verbatim}
1384\end{quote}
1385Definitions of variables related to the charged lepton isolation:
1386\begin{quote}
1387\begin{verbatim}
1388# Charged lepton isolation. Pt and Et in GeV
1389ISOL_PT 2.0 //minimal pt of tracks for isolation criteria
1390ISOL_Cone 0.5 //Cone for isolation criteria
1391ISOL_Calo_Cone 0.4 //Cone for calorimetric isolation
1392ISOL_Calo_ET 2.0 //minimal tower E_T for isolation criteria. 1E99 means "off"
1393ISOL_Calo_Grid 3 //Grid size (N x N) for calorimetric isolation
1394\end{verbatim}
1395\end{quote}
1396Definitions of variables related to the jet reconstruction:
1397\begin{quote}
1398\begin{verbatim}
1399# General jet variable
1400JET_coneradius 0.7 // generic jet radius
1401JET_jetalgo 1 // 1 for Cone algorithm,
1402 // 2 for MidPoint algorithm,
1403 // 3 for SIScone algorithm,
1404 // 4 for kt algorithm
1405 // 5 for Cambridge/Aachen algorithm
1406 // 6 for anti-kt algorithm
1407JET_seed 1.0 // minimum seed to start jet reconstruction, in GeV
1408JET_Eflow 1 // Energy flow: perfect energy assumed in the tracker coverage.
1409 // 1 is 'on' ; 0 is 'off'
1410
1411# Tagging definition
1412BTAG_b 40 // b-tag efficiency (%)
1413BTAG_mistag_c 10 // mistagging (%)
1414BTAG_mistag_l 1 // mistagging (%)
1415\end{verbatim}
1416\end{quote}
1417Switches for options
1418\begin{quote}
1419\begin{verbatim}
1420# FLAGS
1421FLAG_bfield 1 //1 to run the bfield propagation else 0
1422FLAG_vfd 1 //1 to run the very forward detectors else 0
1423FLAG_RP 1 //1 to run the very forward detectors else 0
1424FLAG_trigger 1 //1 to run the trigger selection else 0
1425FLAG_FROG 1 //1 to run the FROG event display
1426FLAG_LHCO 1 //1 to run the LHCO
1427\end{verbatim}
1428\end{quote}
1429Parameters for the magnetic field simulation:
1430\begin{quote}
1431\begin{verbatim}
1432# In case BField propagation allowed
1433TRACK_radius 129 // radius of the BField coverage, in cm
1434TRACK_length 300 // length of the BField coverage, in cm
1435TRACK_bfield_x 0 // X component of the BField, in T
1436TRACK_bfield_y 0 // Y component of the BField, in T
1437TRACK_bfield_z 3.8 // Z component of the BField, in T
1438\end{verbatim}
1439\end{quote}
1440Parameters related to the very forward detectors
1441\begin{quote}
1442\begin{verbatim}
1443# Very forward detector extension, in pseudorapidity
1444# if allowed
1445VFD_min_zdc 8.3 // Zero-Degree neutral Calorimeter
1446VFD_s_zdc 140 // distance of the ZDC, from the IP, in [m]
1447
1448#\textit{Hector} parameters
1449RP_220_s 220 // distance of the RP to the IP, in meters
1450RP_220_x 0.002 // distance of the RP to the beam, in meters
1451RP_420_s 420 // distance of the RP to the IP, in meters
1452RP_420_x 0.004 // distance of the RP to the beam, in meters
1453RP_beam1Card data/LHCB1IR5_v6.500.tfs // beam optics file, beam 1
1454RP_beam2Card data/LHCB2IR5_v6.500.tfs // beam optics file, beam 2
1455RP_IP_name IP5 // tag for IP in \textit{Hector} ; 'IP1' for ATLAS
1456RP_offsetEl_x 0.097 // horizontal separation between both beam, in meters
1457RP_offsetEl_y 0 // vertical separation between both beam, in meters
1458RP_offsetEl_s 120 // distance of beam separation point, from IP
1459RP_cross_x -500 // IP offset in horizontal plane, in micrometers
1460RP_cross_y 0 // IP offset in vertical plane, in micrometers
1461RP_cross_ang_x 142.5 // half-crossing angle in horizontal plane, in microrad
1462RP_cross_ang_y 0 // half-crossing angle in vertical plane, in microrad
1463\end{verbatim}
1464\end{quote}
1465Others parameters:
1466\begin{quote}
1467\begin{verbatim}
1468# In case FROG event display allowed
1469NEvents_FROG 100
1470# Number of events to process
1471NEvents -1 // -1 means 'all'
1472
1473# input PDG tables
1474PdgTableFilename data/particle.tbl // table with particle pid,mass,charge,...
1475\end{verbatim}
1476\end{quote}
1477
1478In general, energies, momenta and masses are expressed in GeV, GeV$/c$, GeV$/c^2$ respectively, and magnetic fields in T.
1479Geometrical extension are often referred in terms of pseudorapidity $\eta$, as the detectors are supposed to be symmetric in $\phi$. From version 1.8 onwards, the number of events to run is also be included in the detector card (\texttt{NEvents}). For version 1.7 and earlier, the parameters related to the calorimeter endcaps (\texttt{CEN\_max\_calo\_ec}, \texttt{ELG\_Sec}, \texttt{ELG\_Nec}, \texttt{ELG\_Cec}, \texttt{HAD\_Sec}, \texttt{HAD\_Nec} and \texttt{HAD\_Cec}) did not exist in the detector cards; in addition, some other variables had different names (\texttt{HAD\_Scen} was \texttt{HAD\_Sfcal}, \texttt{HAD\_Ncen} was \texttt{HAD\_Nfcal}, \texttt{HAD\_Ccen} was \texttt{HAD\_Cfcal}, \texttt{HAD\_Sfwd} was \texttt{HAD\_Shf}, \texttt{HAD\_Nfwd} was \texttt{HAD\_Nhf}, \texttt{HAD\_Cfwd} was \texttt{HAD\_Chf}). However, these cards are still completely compatible with new versions of \textit{Delphes}. In such a case, the calorimeter endcaps are simply assumed to be located at the edge of the central calorimeter volumes, with the same resolution values.
1480
1481\item{\bf The trigger card }
1482
1483This card contains the definitions of all trigger-bits. Cuts can be applied on the transverse momentum $p_T$ of electrons, muons, jets, $\tau$-jets, photons and the missing transverse energy. The following codes should be used so that \textit{Delphes} can correctly translate the input list of trigger-bits into selection algorithms:
1484
1485\begin{quote}
1486\begin{tabular}{ll}
1487{\it Trigger code} & {\it Corresponding object}\\
1488{\verb ELEC_PT } & electron \\
1489{\verb IElec_PT } & isolated electron \\
1490{\verb MUON_PT } & muon \\
1491{\verb IMuon_PT } & isolated muon \\
1492{\verb JET_PT } & jet \\
1493{\verb TAU_PT } & $\tau$-jet \\
1494{\verb ETMIS_PT } & missing transverse energy \\
1495{\verb GAMMA_PT } & photon \\
1496{\verb Bjet_PT } & $b$-jet \\
1497\end{tabular}
1498\end{quote}
1499
1500Each line in the trigger datacard is allocated to exactly one trigger-bit and starts with the name of the corresponding trigger.
1501Logical combination of several conditions is also possible. If the trigger-bit requires the presence of multiple identical objects, the order of their $p_T$ thresholds is very important: they must be defined in \textit{decreasing} order. The transverse momentum $p_T$ is expressed in \mbox{GeV/$c$}. Finally, the different requirements on the objects must be separated by a {\verb && } flag.
1502The default trigger card can be found in the data repository of \textit{Delphes} (\texttt{data/TriggerCard.dat}), as well as for both \textsc{CMS} and \textsc{ATLAS} experiments at the \textsc{LHC}.
1503An example of trigger table consistent with the previous rules is given here:
1504\begin{quote}
1505\begin{verbatim}
1506SingleJet >> JET_PT: '200'
1507DoubleElec >> ELEC_PT: '20' && ELEC_PT: '10'
1508SingleElec and Single Muon >> ELEC_PT: '20' && MUON_PT: '15'
1509\end{verbatim}
1510\end{quote}
1511\end{enumerate}
1512
1513\subsubsection{Running the code}
1514
1515First, create the detector and trigger cards (\texttt{data/DetectorCard.dat} and \texttt{data/TriggerCard.dat}). \\
1516Then, create a text file containing the list of input files that will be used by \textit{Delphes} (with extension \texttt{*.lhe}, \texttt{*.hepmc}, \texttt{*.root} or \texttt{*.hep}).
1517To run the code, type the following command (in one line)
1518\begin{quote}
1519\begin{verbatim}
1520me@mylaptop:~$ ./Delphes inputlist.list OutputRootFileName.root
1521 data/DetectorCard.dat data/TriggerCard.dat
1522\end{verbatim}
1523\end{quote}
1524As a reminder, typing the \texttt{./Delphes} command simply displays the correct usage:
1525
1526\begin{quote}
1527\begin{verbatim}
1528me@mylaptop:~$ ./Delphes
1529 Usage: ./Delphes input_file output_file [detector_card] [trigger_card]
1530 input_list - list of files in Ntpl, StdHep, HepMC or LHEF format,
1531 output_file - output file.
1532 detector_card - Card containing resolution variables for detector simulation (optional)
1533 trigger_card - Card containing the trigger algorithms (optional)
1534\end{verbatim}
1535\end{quote}
1536
1537
1538\subsection{Getting the \textit{Delphes} information}
1539
1540\subsubsection{Contents of the \textit{Delphes} ROOT trees}
1541
1542The \textit{Delphes} output file (\texttt{*.root}) is subdivided into three \textit{trees}, corresponding to generator-level data, analysis-object data and trigger output. These \textit{trees} are structures that organise the output data into \textit{branches} containing data (or \textit{leaves}) related with each others, like the kinematics properties ($E$, $p_x$, $\eta$, $\ldots$) of a given particle.
1543
1544Here is the exhaustive list of \textit{branches} availables in these \textit{trees}, together with their corresponding physical objet and \texttt{ExRootAnalysis} C++ class name:
1545\begin{quote}
1546\begin{tabular}{lll}
1547\textbf{GEN \texttt{Tree}} & &\\
1548~~~Particle & generator particles from \textsc{hepevt} & {\verb GenParticle }\\
1549\multicolumn{3}{l}{}\\
1550\textbf{Trigger \texttt{Tree}} & &\\
1551~~~TrigResult & Acceptance of different trigger-bits & {\verb TRootTrigger }\\
1552\multicolumn{3}{l}{}\\
1553\textbf{Analysis \texttt{Tree}} & & \\
1554~~~Tracks & Collection of tracks & {\verb TRootTracks }\\
1555~~~CaloTower & Calorimetric cells & {\verb TRootCalo }\\
1556~~~Electron & Collection of electrons & {\verb TRootElectron }\\
1557~~~Photon & Collection of photons & {\verb TRootPhoton }\\
1558~~~Muon & Collection of muons & {\verb TRootMuon }\\
1559~~~Jet & Collection of jets & {\verb TRootJet }\\
1560~~~TauJet & Collection of jets tagged as $\tau$-jets & {\verb TRootTauJet }\\
1561~~~ETmis & Transverse missing energy information & {\verb TRootETmis }\\
1562~~~ZDChits & Hits in the Zero Degree Calorimeters & {\verb TRootZdcHits }\\
1563~~~RP220hits & Hits in the first proton taggers & {\verb TRootRomanPotHits }\\
1564~~~FP420hits & Hits in the next proton taggers & {\verb TRootRomanPotHits }\\
1565\end{tabular}
1566\end{quote}
1567The third column shows the names of the corresponding classes to be written in a \textsc{ROOT} tree.
1568The bin number in the unique leaf in the \texttt{trigger} tree (namely, \texttt{TrigResult.Accepted}) corresponds to the trigger number in the provided list. In addition, the result of the global trigger decision upon each event (i.e.\ the logical \texttt{OR} of all trigger conditions) is stored in the first bin (number 0) of this leaf.
1569In \texttt{Analysis} tree, all classes except \texttt{TRootTracks}, \texttt{TRootCalo}, \texttt{TRootTrigger}, \texttt{TRootETmis} and \texttt{TRootRomanPotHits} inherit from the class \texttt{TRootParticle} which includes the following data members (stored as \textit{leaves} in \textit{branches} of the \textit{trees}):
1570\begin{quote}
1571\begin{tabular}{ll}
1572\multicolumn{2}{l}{\textbf{Most common leaves}}\\
1573 \texttt{~~~float E; }&\texttt{ // particle energy in GeV }\\
1574 \texttt{~~~float Px; }&\texttt{ // particle momentum vector (x component) in GeV$/c$ }\\
1575 \texttt{~~~float Py; }&\texttt{ // particle momentum vector (y component) in GeV$/c$ }\\
1576 \texttt{~~~float Pz; }&\texttt{ // particle momentum vector (z component) in GeV$/c$ }\\
1577 \texttt{~~~float PT; }&\texttt{ // particle transverse momentum in GeV$/c$ }\\
1578 \texttt{~~~float Eta; }&\texttt{ // particle pseudorapidity }\\
1579 \texttt{~~~float Phi; }&\texttt{ // particle azimuthal angle in rad }\\
1580\end{tabular}
1581\end{quote}
1582
1583In addition to their kinematics, some additional properties are available for specific objects:
1584\begin{quote}
1585\begin{tabular}{ll}
1586\multicolumn{2}{l}{{\bf Leaves in the \texttt{Particle} branch (\texttt{GEN} tree)}} \\
1587 \texttt{~~~int PID; }&\texttt{ // particle HEP ID number }\\
1588 \texttt{~~~int Status; }&\texttt{ // particle status }\\
1589 \texttt{~~~int M1; }&\texttt{ // particle 1st mother }\\
1590 \texttt{~~~int M2; }&\texttt{ // particle 2nd mother }\\
1591 \texttt{~~~int D1; }&\texttt{ // particle 1st daughter }\\
1592 \texttt{~~~int D2; }&\texttt{ // particle 2nd daughter }\\
1593 \texttt{~~~float Charge; }&\texttt{ // electrical charge in units of e}\\
1594 \texttt{~~~float T; }&\texttt{ // particle vertex position (t component, in mm$/c$) }\\
1595 \texttt{~~~float X; }&\texttt{ // particle vertex position (x component, in mm) }\\
1596 \texttt{~~~float Y; }&\texttt{ // particle vertex position (y component, in mm) }\\
1597 \texttt{~~~float Z; }&\texttt{ // particle vertex position (z component, in mm) }\\
1598 \texttt{~~~float M; }&\texttt{ // particle mass in GeV$/c^2$}\\
1599\end{tabular}
1600\end{quote}
1601\begin{quote}
1602\begin{tabular}{ll}
1603\multicolumn{2}{l}{\textbf{Additional leaves in \texttt{Electron} and \texttt{Muon} branches} (\texttt{Analysis} tree)} \\
1604 \texttt{~~~int Charge } &\texttt{ // particle Charge }\\
1605 \texttt{~~~bool IsolFlag } &\texttt{ // stores the result of the tracking isolation test }\\
1606 \texttt{~~~float IsolPt } &\texttt{ // sum of all track pt in isolation cone (GeV/c) }\\
1607 \texttt{~~~float EtaCalo } &\texttt{ // particle pseudorapidity when entering the calo }\\
1608 \texttt{~~~float PhiCalo } &\texttt{ // particle azimuthal angle in rad when entering the calo }\\
1609 \texttt{~~~float EHoverEE }&\texttt{ // hadronic energy over electromagnetic energy }\\
1610 \texttt{~~~float EtRatio } &\texttt{ // calo Et in NxN-cell grid around the muon over the muon Et }\\
1611\end{tabular}
1612\end{quote}
1613\begin{quote}
1614\begin{tabular}{ll}
1615\multicolumn{2}{l}{\textbf{Additional leaf in the \texttt{Jet} branch (\texttt{Analysis} tree)}} \\
1616 \texttt{~~~bool Btag } &\texttt{ // stores the result of the b-tagging }\\
1617 \texttt{~~~int NTracks }&\texttt{ // number of tracks associated to the jet }\\
1618 \texttt{~~~float EHoverEE }&\texttt{ // hadronic energy over electromagnetic energy }\\
1619\end{tabular}
1620\end{quote}
1621\begin{quote}
1622\begin{tabular}{ll}
1623\multicolumn{2}{l}{\textbf{Leaves in the \texttt{Tracks} branch (\texttt{Analysis} tree)}}\\
1624 \texttt{~~~float Eta } &\texttt{ // pseudorapidity at the beginning of the track }\\
1625 \texttt{~~~float Phi } &\texttt{ // azimuthal angle at the beginning of the track }\\
1626 \texttt{~~~float EtaOuter }&\texttt{ // pseudorapidity at the end of the track }\\
1627 \texttt{~~~float PhiOuter }&\texttt{ // azimuthal angle at the end of the track }\\
1628 \texttt{~~~float PT } &\texttt{ // track transverse momentum in GeV$/c$ }\\
1629 \texttt{~~~float E } &\texttt{ // track energy in GeV }\\
1630 \texttt{~~~float Px } &\texttt{ // track momentum vector (x component) in GeV$/c$ }\\
1631 \texttt{~~~float Py } &\texttt{ // track momentum vector (y component) in GeV$/c$ }\\
1632 \texttt{~~~float Pz } &\texttt{ // track momentum vector (z component) in GeV$/c$ }\\
1633 \texttt{~~~float Charge } &\texttt{ // track charge in units of $e$ }\\
1634\end{tabular}
1635\end{quote}
1636\begin{quote}
1637\begin{tabular}{ll}
1638\multicolumn{2}{l}{\textbf{Leaves in the \texttt{CaloTower} branch (\texttt{Analysis} tree)}}\\
1639 \texttt{~~~float Eta } &\texttt{ // pseudorapidity of the cell }\\
1640 \texttt{~~~float Phi } &\texttt{ // azimuthal angle of the cell in rad }\\
1641 \texttt{~~~float E } &\texttt{ // cell energy in GeV }\\
1642 \texttt{~~~float E\_em } &\texttt{ // electromagnetic component of the cell energy in GeV}\\
1643 \texttt{~~~float E\_had } &\texttt{ // hadronic component of the cell energy in GeV}\\
1644 \texttt{~~~float ET } &\texttt{ // cell transverse energy in GeV }\\
1645& \\
1646\multicolumn{2}{l}{\textbf{Leaves in the \texttt{ETmis} branch (\texttt{Analysis} tree)}}\\
1647 \texttt{~~~float Phi } &\texttt{ // azimuthal angle of the transverse missing energy in rad }\\
1648 \texttt{~~~float ET } &\texttt{ // transverse missing energy in GeV }\\
1649 \texttt{~~~float Px } &\texttt{ // x component of the transverse missing energy in GeV }\\
1650 \texttt{~~~float Py } &\texttt{ // y component of the transverse missing energy in GeV }\\
1651\end{tabular}
1652\end{quote}
1653
1654The hits in very forward detector (\textsc{ZDC, RP220, FP420}) have some common data. In particular, the \texttt{side} variable tells in which detector (left:-1 or right:+1 of the interaction point) the hit has been seen. Moreover, some generator level data is provided for information, as the correspondance with the contents of the \texttt{GEN} tree is not possible. These generator-level data correspond to the particle kinematics (energy, momentum, angle) and identification (pid).
1655
1656\begin{quote}
1657\begin{tabular}{ll}
1658\multicolumn{2}{l}{\textbf{Common leaves for ZDC, RP220, FP420}}\\
1659 \texttt{~~~float T } &\texttt{ // time of flight in s }\\
1660 \texttt{~~~float E } &\texttt{ // measured/smeared energy in GeV }\\
1661 \texttt{~~~int side }&\texttt{ // -1 or +1 }\\
1662\multicolumn{2}{l}{Generator level data}\\
1663 \texttt{~~~int pid; }&\texttt{ // particle ID }\\
1664 \texttt{~~~float genPx; }&\texttt{ // particle momentum vector (x component) in GeV$/c$ }\\
1665 \texttt{~~~float genPy; }&\texttt{ // particle momentum vector (y component) in GeV$/c$ }\\
1666 \texttt{~~~float genPz; }&\texttt{ // particle momentum vector (z component) in GeV$/c$ }\\
1667 \texttt{~~~float genPT; }&\texttt{ // particle transverse momentum in GeV$/c$ }\\
1668 \texttt{~~~float genEta; }&\texttt{ // particle pseudorapidity }\\
1669 \texttt{~~~float genPhi; }&\texttt{ // particle azimuthal angle in rad }\\
1670\end{tabular}
1671\end{quote}
1672
1673\begin{quote}
1674\begin{tabular}{ll}
1675\multicolumn{2}{l}{\textbf{Additional leaves in the \texttt{ZDChits} branch (\texttt{Analysis} tree)}}\\
1676 \texttt{~~~int hadronic\_hit} &\texttt{// 0(is not hadronic) or 1(is hadronic) }
1677\end{tabular}
1678\end{quote}
1679
1680\begin{quote}
1681\begin{tabular}{ll}
1682\multicolumn{2}{l}{\textbf{Additional leaves in the \texttt{RP220hits} and \texttt{FP420hits} branches (\texttt{Analysis} tree)}}\\
1683 \texttt{~~~flaot S } &\texttt{ // detector position from IP in m } \\
1684 \texttt{~~~float X } &\texttt{ // hit horizontal position in m } \\
1685 \texttt{~~~float Y } &\texttt{ // hit vertical position in m } \\
1686 \texttt{~~~float TX } &\texttt{ // hit horizontal angle in rad } \\
1687 \texttt{~~~float TY } &\texttt{ // hit vertical angle in rad } \\
1688 \texttt{~~~float q2 } &\texttt{ // reconstructed momentum transfer in GeV$^2$ }
1689\end{tabular}
1690\end{quote}
1691The hit position is computed from the center of the beam position, not from the edge of the detector.
1692
1693\subsection{Deeper description of jet algorithms}
1694
1695In this section, we briefly describe the differences between the six jet algorithms interfaced in \textit{Delphes}, via the FastJet utiliy~\citep{bib:FASTJET}. Jet algorithms differ in their sensitivity to soft particles or collinear splittings, and in their computing speed performances. The first three belong to the cone algorithm class while the last three are using a sequential recombination scheme. For all of them, the calorimetric cells are used as inputs for the jet clustering.
1696
1697\subsubsection*{Cone algorithms}
1698
1699\begin{enumerate}
1700
1701\item {\it CDF Jet Clusters}~\citep{bib:jetclu}: Basic cone reconstruction algorithm used by the \textsc{CDF} experiment in Run II). All cells lying in a circular cone around the jet axis with a transverse energy $E_T$ higher than a given threshold are used to seed the jet candidates. This algorithm is fast but sensitive to both soft particles and collinear splittings.
1702
1703\item {\it CDF MidPoint}~\citep{bib:midpoint}: Cone reconstruction algorithm developed for the \textsc{CDF} Run II to reduce infrared and collinear sensitivities compared to purely seed-based cone by adding `midpoints' (energy barycentres) in the list of cone seeds.
1704
1705\item {\it Seedless Infrared Safe Cone}~\citep{bib:SIScone}: The \textsc{SISC}one algorithm is simultaneously insensitive to additional soft particles and collinear splittings, and fast enough to be used in experimental analysis.
1706
1707\end{enumerate}
1708
1709
1710\subsubsection*{Recombination algorithms}
1711
1712The three sequential recombination jet algorithms are safe with respect to soft radiations (\textit{infrared}) and collinear splittings. They rely on recombination schemes where calorimeter cell pairs are successively merged.
1713The definitions of the jet algorithms are similar except for the definition of the \textit{distances} $d$ used during the merging procedure. Two such variables are defined: the distance $d_{ij}$ between each pair of cells $(i,j)$, and a variable $d_{iB}$ (\textit{beam distance}) depending on the transverse momentum of the cell $i$.
1714The jet reconstruction algorithm browses the calorimetric cell list. It starts by finding the minimum value $d_\textrm{min}$ of all the distances $d_{ij}$ and $d_{iB}$. If $d_\textrm{min}$ is a $d_{ij}$, the cells $i$ and $j$ are merged into a single cell with a four-momentum $p^\mu = p^\mu (i) + p^\mu (j)$ (\textit{E-scheme recombination}). If $d_\textrm{min}$ is a $d_{iB}$, the cell is declared as a final jet and is removed from the input list. This procedure is repeated until no cells are left in the input list. Further information on these jet algorithms is given here below, using $k_{ti}$, $y_{i}$ and $\phi_i$ as the transverse momentum, rapidity and azimuth of calorimetric cell $i$ and $\Delta R_{ij}= \sqrt{(y_i-y_j)^2+(\phi_i-\phi_j)^2}$ as the jet-radius parameter:
1715
1716\begin{enumerate}[start=4]
1717
1718\item {\it Longitudinally invariant $k_t$ jet}~\citep{bib:ktjet}, with
1719 $d_{ij} = \min(k_{ti}^2,k_{tj}^2) \times \frac{\Delta R_{ij}^2}{R^2}$ and $d_{iB}=k_{ti}^2$,
1720\item {\it Cambridge/Aachen jet}~\citep{bib:aachen}, with $d_{ij} = \frac{\Delta R_{ij}^2}{R^2}$ and $d_{iB}=1$,
1721\item {\it Anti $k_t$ jet}~\citep{bib:antikt}, where hard jets are exactly circular in the $(y,\phi)$ plane:
1722$d_{ij} = \min(1/k_{ti}^2,1/k_{tj}^2) \times \frac{\Delta R_{ij}^2}{R^2}$ and $d_{iB}=\frac{1}{k_{ti}^2}$.
1723\end{enumerate}
1724
1725
1726\subsection{Running an analysis on your \textit{Delphes} events}
1727
1728To analyse the \textsc{ROOT} ntuple produced by \textit{Delphes}, the simplest way is to use the {\verb Analysis_Ex.cpp } code which is coming in the {\verb Examples } repository of \textit{Delphes}. Note that all of this is optional and done to facilitate the analyses, as the output from \textit{Delphes} is viewable with the standard \textsc{ROOT} \texttt{TBrowser} and can be analysed using the \texttt{MakeClass} facility.
1729As an example, here is a simple overview of a \texttt{myoutput.root} file created by \textit{Delphes}:
1730\begin{quote}
1731\begin{verbatim}
1732me@mylaptop:~$ root -l myoutput.root
1733root [0]
1734Attaching file myoutput.root as _file0...
1735root [1] .ls
1736TFile** myoutput.root
1737 TFile* myoutput.root
1738 KEY: TTree GEN;1 Analysis tree
1739 KEY: TTree Analysis;1 Analysis tree
1740 KEY: TTree Trigger;1 Analysis tree
1741root [2] TBrowser t;
1742root [3] Analysis->GetEntries()
1743(const Long64_t)200
1744root [4] GEN->GetListOfBranches()->ls()
1745OBJ: TBranchElement Event Event_ : 0 at: 0x9108f30
1746OBJ: TBranch Event_size Event_size/I : 0 at: 0x910cfd0
1747OBJ: TBranchElement Particle Particle_ : 0 at: 0x910c6b0
1748OBJ: TBranch Particle_size Particle_size/I : 0 at: 0x9111c58
1749root [5] Trigger->GetListOfLeaves()->ls()
1750OBJ: TLeafElement TrigResult_ TrigResult_ : 0 at: 0x90f90a0
1751OBJ: TLeafElement TrigResult.Accepted Accepted[TrigResult_] : 0 at: 0x90f9000
1752OBJ: TLeafI TrigResult_size TrigResult_size : 0 at: 0x90fb860
1753\end{verbatim}
1754\end{quote}
1755The \texttt{.ls} command lists the current keys available and in particular the three \textit{tree} names.
1756\mbox{\texttt{TBrowser t}} launches a browser and the \texttt{GetEntries()} method outputs the number of data in the corresponding \textit{tree}.
1757The list of \textit{branches} or \textit{leaves} can be displayed with the \texttt{GetListOfBranches()} and \texttt{GetListOfLeaves()} methods, pointing to the \texttt{ls()} one. In particular, it is possible to shown only parts of the output, using wildcard characters (\texttt{*}):
1758\begin{quote}
1759\begin{verbatim}
1760root [6] Analysis->GetListOfLeaves()->ls("*.E")
1761OBJ: TLeafElement Jet.E E[Jet_] : 0 at: 0xa08bc68
1762OBJ: TLeafElement TauJet.E E[TauJet_] : 0 at: 0xa148910
1763OBJ: TLeafElement Electron.E E[Electron_] : 0 at: 0xa1d8a50
1764OBJ: TLeafElement Muon.E E[Muon_] : 0 at: 0xa28ac80
1765OBJ: TLeafElement Photon.E E[Photon_] : 0 at: 0xa33cd88
1766OBJ: TLeafElement Tracks.E E[Tracks_] : 0 at: 0xa3cced0
1767OBJ: TLeafElement CaloTower.E E[CaloTower_] : 0 at: 0xa4ba188
1768OBJ: TLeafElement ZDChits.E E[ZDChits_] : 0 at: 0xa54a3c8
1769OBJ: TLeafElement RP220hits.E E[RP220hits_] : 0 at: 0xa61e648
1770OBJ: TLeafElement FP420hits.E E[FP420hits_] : 0 at: 0xa6d0920
1771\end{verbatim}
1772\end{quote}
1773
1774To draw a particular leaf, either double-click on the corresponding name in the \texttt{TBrowser} or use the \texttt{Draw} method of the corresponding \textit{tree}.
1775\begin{quote}
1776\begin{verbatim}
1777root [7] Trigger->Draw("TrigResult.Accepted");
1778\end{verbatim}
1779\end{quote}
1780Mathematical operations on several \textit{leaves} are possible within a given \textit{tree}, following the C++ syntax:
1781\begin{quote}
1782\begin{verbatim}
1783root [8] Analysis->Draw("Muon.Px * Muon.Px");
1784root [9] Analysis->Draw("sqrt(pow(Muon.E,2) - pow(Muon.Pz,2) + pow(Muon.PT,2))");
1785\end{verbatim}
1786\end{quote}
1787Finally, to prepare an deeper analysis, the \texttt{MakeClass} method is useful. It creates two files (\texttt{*.h} and \texttt{*.C}) with automatically generated code that allows the access to all branches and leaves of the corresponding tree:
1788\begin{quote}
1789\begin{verbatim}
1790root [10] Trigger->MakeClass()
1791Info in <TTreePlayer::MakeClass>: Files: Trigger.h and
1792 Trigger.C generated from TTree: Trigger
1793\end{verbatim}
1794\end{quote}
1795For more information, refer to ROOT documentation. Moreover, an example of code (based on the output of \texttt{MakeClass}) is provided in the \texttt{Examples/} directory.
1796
1797To run the \texttt{Examples/Analysis\_Ex.cpp} code, the two following arguments are required: a text file containing the input \textit{Delphes} \texttt{root} files to run, and the name of the output \texttt{root} file.
1798 \begin{quote}
1799\begin{verbatim}
1800me@mylaptop:~$ ./Analysis_Ex input_file.list output_file.root
1801\end{verbatim}
1802 \end{quote}
1803One can easily edit, modify and compile (\texttt{make}) changes in this file.
1804
1805\subsubsection{Adding the trigger information}
1806The \texttt{Examples/Trigger\_Only.cpp} code permits to run the trigger selection separately from the general detector simulation on output \textit{Delphes} root files. A \textit{Delphes} \texttt{root} file is mandatory as an input argument for the \texttt{Trigger\_Only} routine. The new \textit{tree} containing the trigger result data will be appended to this file.
1807The trigger datacard is also necessary. To run the code:
1808 \begin{quote}
1809\begin{verbatim}
1810me@mylaptop:~$ ./Trigger_Only input_file.root data/TriggerCard.dat
1811\end{verbatim}
1812 \end{quote}
1813
1814\subsection{Running the FROG event display}
1815
1816\begin{itemize}
1817\item If the { \verb FLAG_FROG } was switched on in the smearing card, two files have been created during the running of \textit{Delphes}: \texttt{DelphesToFROG.vis} and \texttt{DelphesToFROG.geom }. They contain all the needed pieces of information to run \textsc{FROG}.
1818\item To display the events and the geometry, you first need to compile \textsc{FROG}. Go to the {\verb Utilities/FROG } and type {\verb make }. This compilation is done once for all, with this geometry (i.e.\ as long as the \texttt{*vis} and \texttt{*geom} files do not change).
1819\item Go back into the main directory and type
1820\begin{quote}
1821\texttt{me@mylaptop:~\$ ./Utilities/FROG/FROG}
1822\end{quote}
1823\end{itemize}
1824
1825\subsection{LHCO file format}
1826 The \texttt{*LHCO} file format is a text-\textsc{ASCII} data format briefly discussed here. An exhaustive description is provided on \href{http://v1.jthaler.net/olympicswiki}{http://v1.jthaler.net/olympicswiki}. This section is based on this webpage.
1827Only final high-level objects are available in the \texttt{LHCO} format, and their properties are arranged in columns. Each row corresponds to an object in the event and all events are written after each other. Comment-lines starts with a hash \texttt{\#} symbol.
1828
1829\begin{verbatim}
1830 # typ eta phi pt jmas ntrk btag had/em dum1 dum2
1831 0 57 0
1832 1 0 1.392 -2.269 19.981 0.000 0.000 0.000 4.605 0.000 0.000
1833 2 3 1.052 2.599 29.796 3.698 -1.000 0.000 0.320 0.000 0.000
1834 3 4 1.542 -2.070 84.308 41.761 7.000 0.000 1.000 0.000 0.000
1835 4 4 1.039 0.856 58.992 34.941 1.000 0.000 1.118 0.000 0.000
1836 5 4 1.052 2.599 29.796 3.698 0.000 0.000 0.320 0.000 0.000
1837 6 4 0.431 -2.190 22.631 3.861 0.000 0.000 1.000 0.000 0.000
1838 7 6 0.000 0.845 62.574 0.000 0.000 0.000 0.000 0.000 0.000
1839\end{verbatim}
1840Each row in an event starts with a unique number (i.e.\ in first column).
1841Row \texttt{0} contains the event number (here: \texttt{57}) and some trigger information (here: \texttt{0}. This very particular trigger encoding is not implemented in \textit{Delphes}.).
1842Subsequent rows list the reconstructed high-level objects.
1843Each row is organised in columns, which details the object kinematics as well as more specific information, such as isolation criteria or $b$-tagging.
1844
1845\paragraph{1st column (\texttt{\#})}
1846The first column is the line number in the event. Each event starts with a 0 and contains as many lines as needed to list all high-level objects.
1847
1848\paragraph{2nd column (\texttt{typ})}
1849The second column gives the object identification code, or \textit{type}.
1850The different object types are:\\
1851\begin{tabular}{ll}
1852 \texttt{0}& for a photon ($\gamma$)\\
1853 \texttt{1}& for an electron ($e^\pm$)\\
1854 \texttt{2}& for a muon ($\mu^\pm$)\\
1855 \texttt{3}& for a hadronically-decaying tau ($\tau$-jet)\\
1856 \texttt{4}& for a jet\\
1857 \texttt{6}& for a missing transverse energy ($E_T^\textrm{miss}$)\\
1858\end{tabular}\\
1859Object type \texttt{5} is not defined.
1860An event always ends with the row corresponding to the missing transverse energy (type \texttt{6}).
1861
1862\paragraph{3rd (\texttt{eta}) and 4th (\texttt{phi}) columns}
1863The third and forth columns gives the object pseudorapidity $\eta$ and azimuth $\phi$. This latter quantity is expressed in radians, ranging from $-\pi$ to $\pi$.
1864
1865\paragraph{5th (\texttt{pt}) and 6th (\texttt{jmass}) columns}
1866The fifth column provides the object transverse momentum ($p_T$ in GeV$/c$) or energy ($E_T$ in GeV), while the invariant mass ($M$ in GeV/$c^2$) is in the sixth column.
1867
1868\paragraph{7th column (\texttt{ntrk})}
1869The seventh column reports the total number of tracks associated to the objects. This is \texttt{0} for photons, \texttt{$\pm$ 1} for charged leptons including taus (where the sign reports the lepton measured charge) and a positive number (\texttt{$\geq$ 0}) for jets.
1870
1871\paragraph{8th column (\texttt{btag})}
1872The eighth column tells whether a jet is tagged as a $b$-jet (\texttt{1}) or not (\texttt{0}).
1873This is always \texttt{0} for electrons, photons and missing transverse energy.
1874For muons, the closest jet in searched for, in terms of $\Delta R$. The integer-part of the quoted number is the row-number (column 1) of this jet.
1875
1876\paragraph{9th column (\texttt{had/em})}
1877For jets, electrons and photons, the ninth column is the ration between hadronic and electromagnetic energies in the calorimetric cells associated to the object. This is always \texttt{0} for missing transverse energy.
1878For muons, this number (\texttt{aaa.bb}) reports two values related to the muon isolation (section \ref{sec:isolation}). The integer part (\texttt{aaa}) is transverse momentum sum $P_T$ (in GeV/$c$) and the fractional part (\texttt{bb}) is the energy ratio $\rho_\mu$.
1879
1880
1881\paragraph{10th and 11th columns (\texttt{dum1} and \texttt{dum2})}
1882The last two columns are currently not used.
1883
1884\paragraph{Warning}
1885Inherently to the data format itself, the \texttt{*LHCO} output contains only a fraction of the available data. Moreover, dealing with text file may have various drawbacks, such as the output file size and the time needed for its creation. Whenever possible, working on the \texttt{*root} output file should be preferred.
1886
1887\end{document}
Note: See TracBrowser for help on using the repository browser.