forked from rafalsikora/DiffractiveAnalyses_CommonNote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEfficiencies.tex
328 lines (284 loc) · 27.4 KB
/
Efficiencies.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
%%===========================================================%%
%% %%
%% EFFICIENCIES %%
%% %%
%%===========================================================%%
\chapter{Efficiencies}\label{chap:efficiencies}
\section{General overview}\label{sec:effGeneralOverview}
It is the best to apply the corrections to the measured distributions that are based on real data analysis. However, due to the complexity of the processes we are studying, it is necessary to obtain corrections from the MC simulation. Whenever possible, we compare efficiencies obtained from MC with these from the data and introduce appropriate corrections to the MC if necessary.
It is preferred to get the detector to true-level corrections from the MC, which is dedicated to the studied physics process. However, for this purpose, the~statistics in the MC should be several times greater (preferably an order of magnitude) than we have in the data for analysis. This is not possible with generally low total efficiency $\left(\textrm{TPC \& TOF \& RP}\right)$. On the other hand, such efficiencies depend on the modeling of the studied process and require a good description of all generally multidimensional distributions by MC. Since that, the basic method of corrections that we use in the analyses is the method of factorization of global efficiency into the product of single-particle efficiencies (separate for each central particle and forward protons). Thereby, statistically precise multidimensional corrections on TPC, TOF and RP are obtained. Nevertheless, this method does not correct on the migration effects caused by the finite detector resolution and is sensitive to the binning. Whenever possible, we use both methods of correction (at least in the consistency tests for MC samples). In this note, only the single-particle corrections are described, which are common for both analyses.
\section{TPC track acceptance and reconstruction efficiency}\label{sec:tpcAccAndEff}
We defined joint acceptance and efficiency of reconstruction of a track in the TPC, $\epsilon_{\textrm{\tiny TPC}}$, as the probability that particle from the primary interaction generates signal in the detector which is reconstructed as a global track that satisfies all quality criteria (cuts~\ref{sec:TpcQualityCuts}).
To derive this efficiency the single particle STARsim MC embedded into zero-bias trigger data taken simultaneously with physics triggers
was used.
\subsection{STAR nominal method}
Technically, the common method used by the STAR to obtain $\epsilon_{\textrm{\tiny TPC}}$ is the following procedure:
\begin{enumerate}
\item True-level primary particles of given ID and charge were selected ($set~A$).
\item Each particle from $set~A$ was checked if any global TPC track with more than half of hit points associated to it was generated by true-level particle (definition of true level particle-track matching, idTruth from StMuTrack collection). All particles from $set~A$ which have associated global track satisfying quality criteria (cut~\ref{sec:TpcQualityCuts}) formed $set~B$.
\item The joint TPC acceptance and efficiency was calculated as the ratio of the histograms of true level quantities (such as $p_{T}$, $\eta$, $z_{\textrm{vtx}}$) for particles from $set~B$ and particles from $set~A$:
\begin{equation}\label{eq:tpcAccAndEffDefinition}
\epsilon_{\textrm{\tiny TPC}}\left(p_{T}, \eta, z_{vtx};~\textrm{sign},\textrm{PID}\right) = \frac{(p_{T},\eta, z_{vtx})~\textrm{histogram for particles of given sign and ID from}~set~B}{(p_{T},\eta, z_{vtx})~\textrm{histogram for particles of given sign and ID from}~set~A}.
\end{equation}
\end{enumerate}
\subsubsection{Global track to true level particle matching}
It was found during the analysis that in about $1\%$ events there are more than one reconstructed global track matched with the same true level particle, which is shown in Fig.~\ref{fig:trackSplittingNominal}, separatelly for true level pions, kaons and protons. This generally leads to few percent overestimation of corrected number of tracks since each reconstructed track is weigthed by TPC efficiency. Therefore only one reconstructed track should be considered as good track and the rest should be treated as fake tracks.
\begin{figure}[ht]
\centering
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=1]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=4]{graphics/eff/trackSplitting_CD.pdf}\\
}~
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=2]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=5]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=3]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=6]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\caption[Number of reconstructed global tracks, satisfying all quality criteria, matched with the same true level primary particle.]{Number of reconstructed global tracks, satisfying all quality criteria (cuts~\ref{sec:TpcQualityCuts}), matched with the~same true level primary particle. The type of true level particle is indicated in the figure.}\label{fig:trackSplittingNominal}
\end{figure}
The true level particle end vertex $V_r^{end}$ is not specified if the particle neither interacted with the dead material nor decayed. The analysis showed that $1\%$ of the reconstructed tracks are matched to the true particle which lost identity ($V_r^{end}<48$~cm) before entering TPC. We interprate such situation as matching of reconstructed daugther particle to true level parent particle, which is clear bug in the STAR software rather than intentional feature. It is potentially dangerous since momentum and type of daugther particle might be significantly different from parent particle. Problem with wrong true level matching is also present for tracks with only one track matched to true level particle which do not decay or interact with material (no end vertex assosiated to true level particle).
It is visible on Fig.~\ref{fig:trackSplittingNominaldEdx} where $dE/dx$ is shown that some reconstracted tracks
have different PID than true level particle matched to it.
Also, there are problems in the closure tests, where the reconstructed-level distributions of rapidity and transverse momenta weighted by the nominal efficiency corrections do not describe the true level distributions. Main reason for failing of closure tests is non-negligible (and significant for anti-protons) amount of global tracks matched with primary particles but no or little correlation in $\eta-\phi$ space beetwen
matched pair.
This correlation can be represented by the the~distance
\begin{equation}\label{eq:tpcMatchingDeltaSquare}
\delta^{2}\left(\eta,\phi\right)=\left(\eta^{true}-\eta^{reco}\right)^2+\left(\phi^{true}-\phi^{reco}\right)^2
\end{equation}
between the true level particle and global track assigned to it, shown in Fig.~\ref{fig:trackSplittingNominalDelta_1} for particles with only one matched global track and Fig.~\ref{fig:trackSplittingNominalDelta_2} for particles with at least two matched global tracks, indicates that some part of the tracks taken for the efficiency calculation are measured very badly ($\delta^{2}\left(\eta,\phi\right)$ is very large), even if there is only one global track matched to the true-particle.
\begin{figure}[!h]
\vspace{-0.1cm}
\centering
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=31]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=34]{graphics/eff/trackSplitting_CD.pdf}\\
}~
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=32]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=35]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=33]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=36]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\caption[$dE/dx$ of the track matched to true level particle.]{$dE/dx$ of the track matched to true level particle. Lines indicate Bichsel function prediction for each particle species. Only tracks matched to true level particles without end vertex are shown. Black lines and arrows indicate region accepted in the analysis.}\label{fig:trackSplittingNominaldEdx}
\end{figure}
Because of several above mentioned problems with nominal STAR definition of matching between reconstructed tracks and true level particles we decided to use in the analysis modified matching
definition by taking into the account the difference between reconstructed tracks and true particles in $\eta-\phi$ space.
\begin{figure}[hb]
\centering
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=25]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=28]{graphics/eff/trackSplitting_CD.pdf}\\
}~
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=26]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=29]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=27]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=30]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\caption[$\delta^{2}\left(\eta,\phi\right)$ distributions between true level particles and tracks assigned to them.]{$\delta^{2}\left(\eta,\phi\right)$ distributions between true level particles and tracks assigned to them. Only true level particles with only one reconstructed track matched to them were selected. Red lines and arrows indicate the~cut value of $0.15^2$, which is used in the modified true level particle-track matching definition.}\label{fig:trackSplittingNominalDelta_1}
\end{figure}
\begin{figure}[h!]\vspace{-10pt}
\centering
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=19]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=22]{graphics/eff/trackSplitting_CD.pdf}\\
}~
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=20]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=23]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=21]{graphics/eff/trackSplitting_CD.pdf}\\
\includegraphics[width=\linewidth,page=24]{graphics/eff/trackSplitting_CD.pdf}\\
}%
\caption[$\delta^{2}\left(\eta,\phi\right)$ distributions between true level particles and tracks assigned to them.]{$\delta^{2}\left(\eta,\phi\right)$ distributions between true level particles and tracks assigned to them. Only true level particles with at least two reconstructed tracks matched to them were selected. Red lines and arrows indicate the~cut value of $0.15^2$, which is used in the modified true level particle-track matching definition.}\label{fig:trackSplittingNominalDelta_2}
\end{figure}
\subsection{Method used in this analysis}\label{subsec:definitionTrueLevelMatching}
In this method, the definition of true level particle-track matching is modified. In addition to the requirement of the appropriate number of common hit points, the distance between true level particle and track is required to be smaller than $0.15$, $\delta^{2}\left(\eta,\phi\right)<\left(0.15\right)^2$. It is quite an arbitrary value which should be small but not too small to loose good events. The value of $\delta^2$ cut was chosen by the requirement that only acceptable small amount of CEP events which passed all selection criteria will not satisfy matching criteria. It was verified with the CEP MC embedded into zero-bias triggers that with quoted value of cut on $\delta^{2}\left(\eta,\phi\right)$ less than $0.3\%$ of CEP events have at least one track which is not considered to be matched with true-level pion despite the standard matching (Fig.~\ref{fig:deltaSqCEP}). We consider this an acceptably low effect.
Tracks, which do not satisfy the above criterion, are treated as fake tracks (even if they are matched to the true level particle in the standard way). In $99.97\%$ cases, where the $\delta^{2}\left(\eta,\phi\right)<\left(0.15\right)^2$, there is only one track matched to true level particle (Fig.~\ref{fig:trackSplittingetaPhi}). Additionally, the $dE/dx$ of the track is in $99.94\%$ consistent with the true level PID (Fig.~\ref{fig:trackSplittingEtaPhidEdx}). Figure~\ref{fig:trackTPCefficiencyComparisonEtaPhi} shows the difference between TPC efficiencies obtained with the STAR standard and the modified definition of true particle-track matching. The maximum differences between TPC efficiencies in the analyzed $p_T$ range are about $2\%$ for pions, $3\%$ for kaons, $2\%$ and $4\%$ for protons and antiprotons, respectively.
These diferences are of the order or even higher than systematic uncertainties on TPC efficiency so we consider this modification of matching as non-negligible problem.
%---------------------------
\begin{figure}[h!]%\vspace{-10pt}
\centering
\parbox{0.685\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}
\includegraphics[width=\linewidth]{graphics/eff/deltaEtaSqDeltaPhiSqMatchedExclusive.pdf}
\end{subfigure}
}%
\quad%
\parbox{0.285\textwidth}{
\centering
\begin{minipage}[t][0.78\linewidth][t]{\linewidth}\vspace{-60pt}
\caption[Distribution of $\delta^{2}\left(\eta,\phi\right)$ in CEP MC.]%
{Distribution of $\delta^{2}\left(\eta,\phi\right)$ for tracks matched with true-level pions (using standard matching) in CEP MC embedded into zero-bias triggers. Tracks were taken from events passing full CEP event selection, recognized as exclusive $\pi^{+}\pi^{-}$. The vertical red dashed line indicates the cut value of $0.15^{2} \approx 0.023$, above which less than 0.14\% of tracks is contained.}%
\label{fig:deltaSqCEP}
\end{minipage}
}
\end{figure}
%---------------------------
\begin{figure}[ht]
\centering
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=1]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=4]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
}~
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=2]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=5]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
}%
\parbox{0.329\textwidth}{
\centering
\includegraphics[width=\linewidth,page=3]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=6]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
}%
\caption[Number of reconstructed global tracks, satisfying all quality criteria and $\delta^{2}\left(\eta,\phi\right)$ cut, matched with the same true level primary particle.]{Number of reconstructed global tracks, satisfying all quality criteria (cuts~\ref{sec:TpcQualityCuts}) and $\delta^{2}\left(\eta,\phi\right)$ cut, matched with the same true level primary particle.}\label{fig:trackSplittingetaPhi}
\end{figure}
\begin{figure}[h!]%\vspace{-5pt}
\centering
\parbox{0.48\textwidth}{
\centering
\includegraphics[width=\linewidth,page=21]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=22]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=23]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
}~
\parbox{0.48\textwidth}{
\centering
\includegraphics[width=\linewidth,page=24]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=25]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
\includegraphics[width=\linewidth,page=26]{graphics/eff/trackSplitting_QualityEtaPhiCD.pdf}\\
}%
\caption[$dE/dx$ of the closest track matched to true level particle passing the $\delta^{2}\left(\eta,\phi\right)$ cut.]{$dE/dx$ of the closest track matched to true level particle passing the $\delta^{2}\left(\eta,\phi\right)$ cut. Lines indicate Bichsel function prediction for each particle species. Black lines and arrows indicate region accepted in the analysis.}\label{fig:trackSplittingEtaPhidEdx}
\end{figure}
\begin{figure}[ht]%[hb]
\centering
\parbox{0.48\textwidth}{
\centering
\includegraphics[width=\linewidth,page=1]{graphics/eff/tpcEffi.pdf}\\
\includegraphics[width=\linewidth,page=2]{graphics/eff/tpcEffi.pdf}\\
\includegraphics[width=\linewidth,page=3]{graphics/eff/tpcEffi.pdf}\\
}~
\parbox{0.48\textwidth}{
\centering
\includegraphics[width=\linewidth,page=4]{graphics/eff/tpcEffi.pdf}\\
\includegraphics[width=\linewidth,page=5]{graphics/eff/tpcEffi.pdf}\\
\includegraphics[width=\linewidth,page=6]{graphics/eff/tpcEffi.pdf}\\
}%
\caption[TPC acceptance and reconstruction efficiency as a function of $p_T$ $\left(|V_z|<80\textrm{ cm}, |\eta|<0.7\right)$ obtained from two methods.]{TPC acceptance and reconstruction efficiency as a function of $p_T$ $\left(|V_z|<80\textrm{ cm}, |\eta|<0.7\right)$ obtained from two methods. Black lines and arrows indicate region accepted in the analysis.}\label{fig:trackTPCefficiencyComparisonEtaPhi}
\end{figure}
\subsection{Sample of efficiency plots}\label{subsec:sampleTpcEffPlots}
During Run~$15$ the inner sector $\#19$ in the TPC was dead during some runs~\cite{sector19inner}. In Figure~\ref{fig:PhiVsEtaTpcSyst} we show density map of global TPC track first point $(\eta,\varphi)$ coordinates for runs with dead sector $\#19$ and with that sector back in operation. Tracks were required to have at least $32$ hits to good visibility of the regions where $13$ or more pad raws were dead.
Since that, the TPC track acceptance and reconstruction efficiency was calculated for two periods: runs up to 16073050 and after 16073050.
%---------------------------
\begin{figure}[h]
\centering
\parbox{0.4725\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}\centering
\subcaptionbox{\label{fig:PhiVsEta_runRange1}}{\centering\includegraphics[width=0.85\linewidth,page=1]{graphics/eff/PhiVsEta.pdf}\vspace{-5pt}}\vspace{-5pt}
\end{subfigure}
}%
\quad\quad%
\parbox{0.4725\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}\centering
\subcaptionbox{\label{fig:PhiVsEta_runRange2}}{\centering\includegraphics[width=0.85\linewidth,page=2]{graphics/eff/PhiVsEta.pdf}\vspace{-5pt}}\vspace{-5pt}
\end{subfigure}
}%
\caption[Density map of global TPC track first point $(\eta,\varphi)$ coordinates for runs with/without dead sector \#19.]%
{Density map of global TPC track first point $(\eta,\varphi)$ coordinates for runs with dead sector \#19 (up to 16073050, \ref{fig:PhiVsEta_runRange1}) and with that sector back in operation (after run 16073050, \ref{fig:PhiVsEta_runRange2}).}\label{fig:PhiVsEtaTpcSyst}%
\end{figure}
%---------------------------
In Figure~\ref{fig:tpcEff_pion_sample} we present sample plots of the TPC track acceptance and reconstruction efficiency calculated with modified definition of reconstructed track and true-level particle matching (according to description in Sec.~\ref{subsec:definitionTrueLevelMatching}), used in our analyses. Plots for all analyzed particle types, all bins of true $z_{\text{vtx}}$ and all runs are contained in Appendix~\ref{appendix:tpcEff}.
%---------------------------
\begin{figure}[h!]
\centering
\parbox{0.485\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}
\subcaptionbox{\label{fig:tpcEff_pion_sample_a}}{\includegraphics[width=\linewidth,page=3]{graphics/eff/Eff2D_TPC_pion_Minus_RunRange1.pdf}\vspace*{-8pt}}
\end{subfigure}\\[5pt]
\begin{subfigure}[b]{\linewidth}\addtocounter{subfigure}{1}
\subcaptionbox{\label{fig:tpcEff_pion_sample_c}}{\includegraphics[width=\linewidth,page=18]{graphics/eff/Eff2D_TPC_pion_Minus_RunRange1.pdf}\vspace*{-8pt}}
\end{subfigure}
}%
\quad%
\parbox{0.485\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}\addtocounter{subfigure}{-2}
\subcaptionbox{\label{fig:tpcEff_pion_sample_b}}{\includegraphics[width=\linewidth,page=11]{graphics/eff/Eff2D_TPC_pion_Minus_RunRange1.pdf}\vspace*{-8pt}}
\end{subfigure}\\[5pt]
\begin{minipage}[t][0.78\linewidth][t]{\linewidth}\vspace{10pt}
\caption[Sample TPC acceptance and reconstruction efficiency of $\pi^{-}$.]{Sample TPC acceptance and reconstruction efficiency of $\pi^{-}$ in 3 bins of true $z_{\text{vtx}}$ for runs with dead sector \#19. Plots represent the TPC efficiency $\epsilon_{\text{TPC}}$ ($z$-axis) as a function of true particle pseudorapidity $\eta$ ($x$-axis) and transverse momentum $p_{T}$ ($y$-axis) in single $z$-vertex bin whose range is given at the top. Red lines and arrows indicate region accepted in analyses.}\label{fig:tpcEff_pion_sample}
\end{minipage}
}\vspace{-15pt}
\end{figure}
%---------------------------
In order to maximize the statistics available for the measurement (possibly wide range of accepted longitudinal vertex position $z_{\text{vtx}}$) with maximized probed phase-space in analyzed physics processes (wide range of track $p_{T}$ and $\eta$) and minimized systematic uncertainties related to the central detector (TPC and TOF), we have studied the efficiency plots like ones shown in Fig.~\ref{fig:tpcEff_pion_sample} and Fig.~\ref{fig:tofEff_pion_sample}. We thus decided to set the cut on $z_{\text{vtx}}$ at $\pm80~\text{cm}$, which corresponds to 89\% of the full integral of normal distribution with mean at 0 and standard deviation of 50~cm. At the same time we set the cuts on track $p_{T}$ and $\eta$ as listed in Sec.~\ref{sec:TpcKinematicCuts}. These cuts are represented with red dashed lines in Fig.~\ref{fig:tpcEff_pion_sample} and Fig.~\ref{fig:tofEff_pion_sample}. Our goal was to operate within cuboid ($z_{\text{vtx}}$, $p_{T}$, $\eta$) region of relatively high TPC and TOF efficiency ($\geq50\%$ of the maximum value). In other words, we required high acceptance and efficiency for a rectangular ($p_{T}$, $\eta$) space with limits independent from $z_{\text{vtx}}$. One can see that the red lines in Fig.~\ref{fig:tpcEff_pion_sample} and Fig.~\ref{fig:tofEff_pion_sample} always contain in their interior the region of relatively high acceptance.
\section{TOF acceptance, hit reconstruction and track matching efficiency}\label{sec:tofMatchEff}
Combined TOF acceptance, hit reconstruction efficiency and matching efficiency with TPC tracks, $\epsilon_{\textrm{\tiny TOF}}$, was defined as the probability that the global TPC track that satisfy quality criteria (cuts~\ref{sec:TpcQualityCuts}) is matched with hit in TOF (\ref{sec:TpcTofMatchingRequirement}). This quantity is generally referred as ``TOF efficiency''.
It was calculated in the very similiar way to TPC efficiency - single particle STARsim MC embedded into zero-bias triggers was used. Tracks belonging to $set~B$ from Sec.~\ref{sec:tpcAccAndEff} were utilized. From these tracks a sub-sample of tracks with non-zero TOF matching flag (StMuBTofPidTraits.mMatchFlag $>0$) was extracted ($set~C$). The TOF efficiency was calculated as
\begin{equation}\label{eq:tofAccAndEffDefinition}
\epsilon_{\textrm{\tiny TOF}}\left(p_{T}, \eta, z_{vtx};~\textrm{sign},\textrm{PID}\right) = \frac{(p_{T},\eta, z_{vtx})~\textrm{histogram for particles of given sign and ID from}~set~C}{(p_{T},\eta, z_{vtx})~\textrm{histogram for particles of given sign and ID from}~set~B}.
\end{equation}
An additional note has to be made here about the correction which is applied to TOF matching flag in MC analysis. It was found that in embedded simulation the dead TOF elements were not masked. To correct for this effect (hence obtain more reliable TOF efficiency) a data-based map of modules was created, separately for each RHIC fill. Map was filled with modules which were matched with TPC tracks in the data. In all MC sample analyses (including efficiency determination) each TPC track with non-zero TOF match flag was additionally checked if TOF module that track was matched with had any entries in the data-based map. If not - the TOF match flag was considered 0. All dead TOF modules masked in the MC are listed in Tab.~\ref{tab:tofDeadModules} in Appendix~\ref{appendix:tofEff}.
\subsection{Sample of efficiency plots}
The sample TOF efficiency plot is shown in Fig.~\ref{fig:tofEff_pion_sample}. All remaining TOF efficiency plots are contained in Appendix~\ref{appendix:tofEff}.
As shown in Sec.~\ref{sec:tofAbsEffCorr} the data-driven efficiency and MC effficiency differ significantly, therefore the final TOF efficiency which is used to correct the data is the one presented here (taken from single particle embedded MC) but additionally modified according to correction derived in the reffered section.
%---------------------------
\begin{figure}[H]%\vspace{-10pt}
%\vspace{-2cm}
\centering
\parbox{0.485\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}
\subcaptionbox{\label{fig:tofEff_pion_sample_a}}{\includegraphics[width=\linewidth,page=3]{graphics/eff/Eff2D_TOF_pion_Minus.pdf}\vspace*{-8pt}}
\end{subfigure}\\[5pt]
\begin{subfigure}[b]{\linewidth}\addtocounter{subfigure}{1}
\subcaptionbox{\label{fig:tofEff_pion_sample_c}}{\includegraphics[width=\linewidth,page=18]{graphics/eff/Eff2D_TOF_pion_Minus.pdf}\vspace*{-8pt}}
\end{subfigure}
}%
\quad%
\parbox{0.485\textwidth}{
\centering
\begin{subfigure}[b]{\linewidth}\addtocounter{subfigure}{-2}
\subcaptionbox{\label{fig:tofEff_pion_sample_b}}{\includegraphics[width=\linewidth,page=11]{graphics/eff/Eff2D_TOF_pion_Minus.pdf}\vspace*{-8pt}}
\end{subfigure}\\[5pt]
\begin{minipage}[t][0.78\linewidth][t]{\linewidth}\vspace{10pt}
\caption[Sample plotz of TOF acceptance, reconstruction and matching efficiency of $\pi^{-}$.]{Sample TOF acceptance, reconstruction and matching efficiency of $\pi^{-}$ in 3 bins of true $z_{\text{vtx}}$. Plots represent the TOF efficiency $\epsilon_{\text{TOF}}$ ($z$-axis) as a function of true particle pseudorapidity $\eta$ ($x$-axis) and transverse momentum $p_{T}$ ($y$-axis) in single $z$-vertex bin whose range is given at the top. Red lines and arrows indicate region accepted in analyses.}\label{fig:tofEff_pion_sample}
\end{minipage}
}
\vspace{-2cm}
\end{figure}
%---------------------------
%---------------------------
%\begin{figure}[hb]%
%\centering\includegraphics[width=0.7\linewidth,page=11]{graphics/eff/Eff2D_TOF_pion_Minus.pdf}%
%\caption[Sample plot of TOF acceptance, reconstruction and matching efficiency of $\pi^{-}$.]{Sample plot of TOF acceptance, reconstruction and matching efficiency of $\pi^{-}$. Plot represents the TOF efficiency $\epsilon_{\text{TOF}}$ ($z$-axis) as a function of true particle pseudorapidity $\eta$ ($x$-axis) and transverse momentum $p_{T}$ ($y$-axis) in single $z$-vertex bin whose range is given at the top. Red lines and arrows indicate region accepted in analyses.}\label{fig:tofEff_pion_sample}
%\end{figure}
%---------------------------
%
% \section{TPC vertex reconstruction efficiency}\label{sec:tpcVxRecoEff}
%
% The definition of vertex reconstruction efficiency established in this analysis is the probability that two global tracks, both associated with true level primary particles from the kinematic region of the measurement, both satisfying kinematic and quality criteria (cuts~\ref{sec:TpcKinematicCuts} and ~\ref{sec:TpcQualityCuts}) and both matched with hits in TOF, form a vertex listed in the collection of reconstructed primary vertices and DCA(R) and DCA(z) of both global tracks calculated w.r.t. this vertex is contained within the limits of cut~\ref{sec:TpcDcaCuts}.