Fork me on GitHub

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

Last change on this file since 957 was 569, checked in by Xavier Rouby, 14 years ago

revised version

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