Fork me on GitHub

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

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

Update commentaires VL

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