-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMC2RawEncoder_8h_source.html
More file actions
313 lines (311 loc) · 54.2 KB
/
Copy pathMC2RawEncoder_8h_source.html
File metadata and controls
313 lines (311 loc) · 54.2 KB
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Project: /home/runner/work/AliceO2/AliceO2/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/MC2RawEncoder.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="../../o2_logo.png"/></td>
<td id="projectalign">
<div id="projectname">Project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_codefold(1); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('df/d56/MC2RawEncoder_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">MC2RawEncoder.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../df/d56/MC2RawEncoder_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Copyright 2019-2020 CERN and copyright holders of ALICE O2.</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// All rights not expressly granted are reserved.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">// This software is distributed under the terms of the GNU General Public</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// License v3 (GPL Version 3), copied verbatim in the file "COPYING".</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">//</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">// In applying this license CERN does not waive the privileges and immunities</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// granted to it by virtue of its status as an Intergovernmental Organization</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// or submit itself to any jurisdiction.</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#ifndef ALICEO2_ITSMFT_MC2RAWENCODER_H_</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#define ALICEO2_ITSMFT_MC2RAWENCODER_H_</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include <gsl/gsl></span> <span class="comment">// for guideline support library; array_view</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include "<a class="code" href="../../dd/db8/RawPixelReader_8h.html">ITSMFTReconstruction/RawPixelReader.h</a>"</span> <span class="comment">// TODO : must be modified</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include "<a class="code" href="../../d8/da2/AlpideCoder_8h.html">ITSMFTReconstruction/AlpideCoder.h</a>"</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include "<a class="code" href="../../d3/d57/ChipMappingITS_8h.html">ITSMFTReconstruction/ChipMappingITS.h</a>"</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include "<a class="code" href="../../d0/d6b/ChipMappingMFT_8h.html">ITSMFTReconstruction/ChipMappingMFT.h</a>"</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include "<a class="code" href="../../db/d0e/RUDecodeData_8h.html">ITSMFTReconstruction/RUDecodeData.h</a>"</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include "<a class="code" href="../../da/d08/RawFileWriter_8h.html">DetectorsRaw/RawFileWriter.h</a>"</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include "<a class="code" href="../../d6/dec/Raw_2include_2DetectorsRaw_2RDHUtils_8h.html">DetectorsRaw/RDHUtils.h</a>"</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <unordered_map></span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d4/d7c/namespaceo2.html">o2</a></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>{</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span>itsmft</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">template</span> <<span class="keyword">class</span> Mapping></div>
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html"> 35</a></span><span class="keyword">class </span><a class="code hl_class" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">MC2RawEncoder</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">using </span><a class="code hl_class" href="../../d7/d8b/classo2_1_1itsmft_1_1AlpideCoder.html">Coder</a> = <a class="code hl_class" href="../../d7/d8b/classo2_1_1itsmft_1_1AlpideCoder.html">o2::itsmft::AlpideCoder</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00040" data-start="{" data-end="}">
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a1b46a4688bcbe68e4e9e5a11a679eaa9"> 40</a></span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a1b46a4688bcbe68e4e9e5a11a679eaa9">MC2RawEncoder</a>()</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> mRUEntry.fill(-1);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> }</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="}">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a61d379c63e24e22323526b7414cf924a"> 45</a></span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a61d379c63e24e22323526b7414cf924a">~MC2RawEncoder</a>()</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> {</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> mWriter.<a class="code hl_function" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#af3537d450f0c130fe21032aaf140332f">close</a>();</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> }</div>
</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ac34652210c3da935a16cbf48ca603053">digits2raw</a>(gsl::span<const Digit> <a class="code hl_variable" href="../../dc/d45/test__ctf__io__hmpid_8cxx.html#a41a6d224f3eccd6ee0a0db7355e20877">digits</a>, <span class="keyword">const</span> <a class="code hl_struct" href="../../d1/d21/structo2_1_1InteractionRecord.html">o2::InteractionRecord</a>& bcData);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ae6e3d26f8e37e4ebde077e03906f0db6">finalize</a>();</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a9a96650698950fe5a9a225a9e00d6dce">init</a>();</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_struct" href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">RUDecodeData</a>& <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a6b51b1f82adb6034cdeed4adb7fb49a7">getCreateRUDecode</a>(<span class="keywordtype">int</span> ruSW);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ad8ec35bf8d80418df14c17183461286a"> 56</a></span> <a class="code hl_struct" href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">RUDecodeData</a>* <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ad8ec35bf8d80418df14c17183461286a">getRUDecode</a>(<span class="keywordtype">int</span> ruSW) { <span class="keywordflow">return</span> mRUEntry[ruSW] < 0 ? nullptr : &mRUDecodeVec[mRUEntry[ruSW]]; }</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="foldopen" id="foldopen00058" data-start="{" data-end="}">
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a445450d15d85d24f24f31c6d91dd2854"> 58</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a445450d15d85d24f24f31c6d91dd2854">setVerbosity</a>(<span class="keywordtype">int</span> <a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a>)</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> {</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> mVerbosity = <a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> mWriter.<a class="code hl_function" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#a97bfd30dc73fd0efa0bfa25dbd908e62">setVerbosity</a>(<a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a>);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> }</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4104a917e8e42ebd9e6f586e41c858b1"> 63</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4104a917e8e42ebd9e6f586e41c858b1">getVerbosity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mVerbosity; }</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a0b57ca71ca0a669eb47507d1ba34b137"> 65</a></span> <a class="code hl_class" href="../../d8/d30/classMapping.html">Mapping</a>& <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a0b57ca71ca0a669eb47507d1ba34b137">getMapping</a>() { <span class="keywordflow">return</span> mMAP; }</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="foldopen" id="foldopen00067" data-start="{" data-end="}">
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a967507d4c3b359d4d509c123344bee55"> 67</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a967507d4c3b359d4d509c123344bee55">setMinMaxRUSW</a>(uint8_t ruMin, uint8_t ruMax)</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> {</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> mRUSWMax = (ruMax < uint8_t(mMAP.getNRUs())) ? ruMax : mMAP.getNRUs() - 1;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> mRUSWMin = ruMin < mRUSWMax ? ruMin : mRUSWMax;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> }</div>
</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a5cc2c6f624da130419b15aab495c4fea"> 73</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a5cc2c6f624da130419b15aab495c4fea">getRUSWMin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mRUSWMin; }</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a065ce9fdaeaae917f237ea3eed7f86c6"> 74</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a065ce9fdaeaae917f237ea3eed7f86c6">getRUSWMax</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mRUSWMax; }</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a562f817f62068274a7a7e3dcb890b8db"> 76</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a562f817f62068274a7a7e3dcb890b8db">setContinuousReadout</a>(<span class="keywordtype">bool</span> <a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a>) { mWriter.<a class="code hl_function" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#a53c201092f12fa16ff6afba2bd4bc4ce">setContinuousReadout</a>(<a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a>); }</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4c1f605835dbd239de02d7385c7e1909"> 77</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4c1f605835dbd239de02d7385c7e1909">isContinuousReadout</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWriter.<a class="code hl_function" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#aa64ad2c7175ee38231b07be03535bb0a">isContinuousReadout</a>(); }</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a7338fb7dc2230e7aadda9a757a1b1c32"> 79</a></span> <a class="code hl_class" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html">o2::raw::RawFileWriter</a>& <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a7338fb7dc2230e7aadda9a757a1b1c32">getWriter</a>() { <span class="keywordflow">return</span> mWriter; }</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a83fe6085c0617520215868c7371f0375"> 81</a></span> std::string <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a83fe6085c0617520215868c7371f0375">getDefaultSinkName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mDefaultSinkName; }</div>
<div class="foldopen" id="foldopen00082" data-start="{" data-end="}">
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a8f99bb271c78022efef55182f252d02c"> 82</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a8f99bb271c78022efef55182f252d02c">setDefaultSinkName</a>(<span class="keyword">const</span> std::string& nm)</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> {</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">if</span> (!nm.empty()) {</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> mDefaultSinkName = nm;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a56fef52304891f1005978cdad0d3e39c">carryOverMethod</a>(<span class="keyword">const</span> <a class="code hl_struct" href="../../d3/d22/structo2_1_1header_1_1RDHAny.html">o2::header::RDHAny</a>* rdh, <span class="keyword">const</span> gsl::span<char> <a class="code hl_typedef" href="../../dc/da3/glcorearb_8h.html#a8922a680b00df660c57f47c1971d04c5">data</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="../../d1/d29/TableTreeHelpers_8cxx.html#ab8128471e1bbf39a084b78a162c99204">ptr</a>, <span class="keywordtype">int</span> <a class="code hl_variable" href="../../db/dad/CCDBHelpers_8cxx.html#a534d18ee34577241e871704b00316e4f">maxSize</a>, <span class="keywordtype">int</span> splitID,</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> std::vector<char>& trailer, std::vector<char>& header) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#aeb31ae566a2ab08184044f04f4315951">newRDHMethod</a>(<span class="keyword">const</span> <a class="code hl_struct" href="../../d3/d22/structo2_1_1header_1_1RDHAny.html">header::RDHAny</a>* rdh, <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d8/ddd/o2sim__parallel_8cxx.html#a298b27fd2c051ca7db011162e75bb350">empty</a>, std::vector<char>& toAdd) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="comment">// create new gbt link</span></div>
<div class="foldopen" id="foldopen00095" data-start="{" data-end="}">
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a614f829b55f021dede06602b3d6cbefe"> 95</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a614f829b55f021dede06602b3d6cbefe">addGBTLink</a>()</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> {</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">int</span> sz = mGBTLinks.size();</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> mGBTLinks.emplace_back();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> sz;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> }</div>
</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// get the link pointer</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4e775b52db02e7d27c3f06ca4af6d36e"> 103</a></span> <a class="code hl_struct" href="../../dd/d09/structo2_1_1itsmft_1_1GBTLink.html">GBTLink</a>* <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4e775b52db02e7d27c3f06ca4af6d36e">getGBTLink</a>(<span class="keywordtype">int</span> <a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a>) { <span class="keywordflow">return</span> <a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a> < 0 ? nullptr : &mGBTLinks[<a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a>]; }</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a6fd602397f3c21f16153a901ca9c42f6"> 104</a></span> <span class="keyword">const</span> <a class="code hl_struct" href="../../dd/d09/structo2_1_1itsmft_1_1GBTLink.html">GBTLink</a>* <a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a6fd602397f3c21f16153a901ca9c42f6">getGBTLink</a>(<span class="keywordtype">int</span> <a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a> < 0 ? nullptr : &mGBTLinks[<a class="code hl_variable" href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a>]; }</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span> convertEmptyChips(<span class="keywordtype">int</span> fromChip, <span class="keywordtype">int</span> uptoChip, <a class="code hl_struct" href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">RUDecodeData</a>& ru);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordtype">void</span> convertChip(<a class="code hl_class" href="../../d7/db4/classo2_1_1itsmft_1_1ChipPixelData.html">ChipPixelData</a>& chipData, <a class="code hl_struct" href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">RUDecodeData</a>& ru);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span> fillGBTLinks(<a class="code hl_struct" href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">RUDecodeData</a>& ru);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">enum</span> RoMode_t { NotSet,</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> Continuous,</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> Triggered };</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_struct" href="../../d1/d21/structo2_1_1InteractionRecord.html">o2::InteractionRecord</a> mCurrIR; <span class="comment">// currently processed int record</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_class" href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html">o2::raw::RawFileWriter</a> mWriter{Mapping::getOrigin()}; <span class="comment">// set origin of data</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> std::string mDefaultSinkName = <span class="stringliteral">"dataSink.raw"</span>;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_class" href="../../d8/d30/classMapping.html">Mapping</a> mMAP;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> Coder mCoder;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">int</span> mVerbosity = 0; </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> uint8_t mRUSWMin = 0; </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> uint8_t mRUSWMax = 0xff; </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordtype">int</span> mNRUs = 0; </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">int</span> mNLinks = 0; </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> std::array<RUDecodeData, Mapping::getNRUs()> mRUDecodeVec; </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> std::array<int, Mapping::getNRUs()> mRUEntry; </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> std::vector<GBTLink> mGBTLinks;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> std::unordered_map<uint16_t, const GBTLink*> mFEEId2Link;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> std::unordered_map<uint16_t, GBTDataHeader> mFEEId2GBTHeader;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> ClassDefNV(<a class="code hl_function" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a1b46a4688bcbe68e4e9e5a11a679eaa9">MC2RawEncoder</a>, 1);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span>};</div>
</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><span class="comment">// template specifications</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="../../dc/d84/namespaceo2_1_1itsmft.html#ab98a4e5561f155df258128279856b15a"> 133</a></span><span class="keyword">using </span><a class="code hl_class" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">MC2RawEncoderITS</a> = <a class="code hl_class" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">MC2RawEncoder<ChipMappingITS></a>;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="../../dc/d84/namespaceo2_1_1itsmft.html#a9844a641c9a084b9c66c580a6db61b1c"> 134</a></span><span class="keyword">using </span><a class="code hl_class" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">MC2RawEncoderMFT</a> = <a class="code hl_class" href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">MC2RawEncoder<ChipMappingMFT></a>;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span>} <span class="comment">// namespace itsmft</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span>} <span class="comment">// namespace o2</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aAlpideCoder_8h_html"><div class="ttname"><a href="../../d8/da2/AlpideCoder_8h.html">AlpideCoder.h</a></div><div class="ttdoc">class for the ALPIDE data decoding/encoding</div></div>
<div class="ttc" id="aCCDBHelpers_8cxx_html_a534d18ee34577241e871704b00316e4f"><div class="ttname"><a href="../../db/dad/CCDBHelpers_8cxx.html#a534d18ee34577241e871704b00316e4f">maxSize</a></div><div class="ttdeci">size_t maxSize</div><div class="ttdef"><b>Definition</b> <a href="../../db/dad/CCDBHelpers_8cxx_source.html#l00043">CCDBHelpers.cxx:43</a></div></div>
<div class="ttc" id="aChipMappingITS_8h_html"><div class="ttname"><a href="../../d3/d57/ChipMappingITS_8h.html">ChipMappingITS.h</a></div></div>
<div class="ttc" id="aChipMappingMFT_8h_html"><div class="ttname"><a href="../../d0/d6b/ChipMappingMFT_8h.html">ChipMappingMFT.h</a></div></div>
<div class="ttc" id="aGPUCommonAlgorithm_8h_html_ad9484f5522d0e5f033037c369365ec61"><div class="ttname"><a href="../../dd/d0b/GPUCommonAlgorithm_8h.html#ad9484f5522d0e5f033037c369365ec61">i</a></div><div class="ttdeci">int32_t i</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d0b/GPUCommonAlgorithm_8h_source.html#l00450">GPUCommonAlgorithm.h:451</a></div></div>
<div class="ttc" id="aRUDecodeData_8h_html"><div class="ttname"><a href="../../db/d0e/RUDecodeData_8h.html">RUDecodeData.h</a></div><div class="ttdoc">Declaration of the Readout Unite decoder class.</div></div>
<div class="ttc" id="aRawFileWriter_8h_html"><div class="ttname"><a href="../../da/d08/RawFileWriter_8h.html">RawFileWriter.h</a></div><div class="ttdoc">Utility class to write detectors data to (multiple) raw data file(s) respecting CRU format.</div></div>
<div class="ttc" id="aRawPixelReader_8h_html"><div class="ttname"><a href="../../dd/db8/RawPixelReader_8h.html">RawPixelReader.h</a></div><div class="ttdoc">Definition of the Alpide pixel reader for raw data processing.</div></div>
<div class="ttc" id="aRaw_2include_2DetectorsRaw_2RDHUtils_8h_html"><div class="ttname"><a href="../../d6/dec/Raw_2include_2DetectorsRaw_2RDHUtils_8h.html">RDHUtils.h</a></div></div>
<div class="ttc" id="aTableTreeHelpers_8cxx_html_ab8128471e1bbf39a084b78a162c99204"><div class="ttname"><a href="../../d1/d29/TableTreeHelpers_8cxx.html#ab8128471e1bbf39a084b78a162c99204">ptr</a></div><div class="ttdeci">TBranch * ptr</div><div class="ttdef"><b>Definition</b> <a href="../../d1/d29/TableTreeHelpers_8cxx_source.html#l00293">TableTreeHelpers.cxx:293</a></div></div>
<div class="ttc" id="aclassMapping_html"><div class="ttname"><a href="../../d8/d30/classMapping.html">Mapping</a></div><div class="ttdoc">Checks validity of hardware address (HW) and transform it to digit AbsId index.</div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1AlpideCoder_html"><div class="ttname"><a href="../../d7/d8b/classo2_1_1itsmft_1_1AlpideCoder.html">o2::itsmft::AlpideCoder</a></div><div class="ttdef"><b>Definition</b> <a href="../../d8/da2/AlpideCoder_8h_source.html#l00045">AlpideCoder.h:46</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1ChipPixelData_html"><div class="ttname"><a href="../../d7/db4/classo2_1_1itsmft_1_1ChipPixelData.html">o2::itsmft::ChipPixelData</a></div><div class="ttdef"><b>Definition</b> <a href="../../da/d8d/PixelData_8h_source.html#l00099">PixelData.h:100</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html">o2::itsmft::MC2RawEncoder</a></div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00035">MC2RawEncoder.h:36</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a065ce9fdaeaae917f237ea3eed7f86c6"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a065ce9fdaeaae917f237ea3eed7f86c6">o2::itsmft::MC2RawEncoder::getRUSWMax</a></div><div class="ttdeci">int getRUSWMax() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00074">MC2RawEncoder.h:74</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a0b57ca71ca0a669eb47507d1ba34b137"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a0b57ca71ca0a669eb47507d1ba34b137">o2::itsmft::MC2RawEncoder::getMapping</a></div><div class="ttdeci">Mapping & getMapping()</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00065">MC2RawEncoder.h:65</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a1b46a4688bcbe68e4e9e5a11a679eaa9"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a1b46a4688bcbe68e4e9e5a11a679eaa9">o2::itsmft::MC2RawEncoder::MC2RawEncoder</a></div><div class="ttdeci">MC2RawEncoder()</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00040">MC2RawEncoder.h:40</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a4104a917e8e42ebd9e6f586e41c858b1"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4104a917e8e42ebd9e6f586e41c858b1">o2::itsmft::MC2RawEncoder::getVerbosity</a></div><div class="ttdeci">int getVerbosity() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00063">MC2RawEncoder.h:63</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a445450d15d85d24f24f31c6d91dd2854"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a445450d15d85d24f24f31c6d91dd2854">o2::itsmft::MC2RawEncoder::setVerbosity</a></div><div class="ttdeci">void setVerbosity(int v)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00058">MC2RawEncoder.h:58</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a4c1f605835dbd239de02d7385c7e1909"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4c1f605835dbd239de02d7385c7e1909">o2::itsmft::MC2RawEncoder::isContinuousReadout</a></div><div class="ttdeci">bool isContinuousReadout() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00077">MC2RawEncoder.h:77</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a4e775b52db02e7d27c3f06ca4af6d36e"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a4e775b52db02e7d27c3f06ca4af6d36e">o2::itsmft::MC2RawEncoder::getGBTLink</a></div><div class="ttdeci">GBTLink * getGBTLink(int i)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00103">MC2RawEncoder.h:103</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a562f817f62068274a7a7e3dcb890b8db"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a562f817f62068274a7a7e3dcb890b8db">o2::itsmft::MC2RawEncoder::setContinuousReadout</a></div><div class="ttdeci">void setContinuousReadout(bool v)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00076">MC2RawEncoder.h:76</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a56fef52304891f1005978cdad0d3e39c"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a56fef52304891f1005978cdad0d3e39c">o2::itsmft::MC2RawEncoder::carryOverMethod</a></div><div class="ttdeci">int carryOverMethod(const o2::header::RDHAny *rdh, const gsl::span< char > data, const char *ptr, int maxSize, int splitID, std::vector< char > &trailer, std::vector< char > &header) const</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00248">MC2RawEncoder.cxx:248</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a5cc2c6f624da130419b15aab495c4fea"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a5cc2c6f624da130419b15aab495c4fea">o2::itsmft::MC2RawEncoder::getRUSWMin</a></div><div class="ttdeci">int getRUSWMin() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00073">MC2RawEncoder.h:73</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a614f829b55f021dede06602b3d6cbefe"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a614f829b55f021dede06602b3d6cbefe">o2::itsmft::MC2RawEncoder::addGBTLink</a></div><div class="ttdeci">int addGBTLink()</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00095">MC2RawEncoder.h:95</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a61d379c63e24e22323526b7414cf924a"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a61d379c63e24e22323526b7414cf924a">o2::itsmft::MC2RawEncoder::~MC2RawEncoder</a></div><div class="ttdeci">~MC2RawEncoder()</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00045">MC2RawEncoder.h:45</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a6b51b1f82adb6034cdeed4adb7fb49a7"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a6b51b1f82adb6034cdeed4adb7fb49a7">o2::itsmft::MC2RawEncoder::getCreateRUDecode</a></div><div class="ttdeci">RUDecodeData & getCreateRUDecode(int ruSW)</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00234">MC2RawEncoder.cxx:234</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a6fd602397f3c21f16153a901ca9c42f6"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a6fd602397f3c21f16153a901ca9c42f6">o2::itsmft::MC2RawEncoder::getGBTLink</a></div><div class="ttdeci">const GBTLink * getGBTLink(int i) const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00104">MC2RawEncoder.h:104</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a7338fb7dc2230e7aadda9a757a1b1c32"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a7338fb7dc2230e7aadda9a757a1b1c32">o2::itsmft::MC2RawEncoder::getWriter</a></div><div class="ttdeci">o2::raw::RawFileWriter & getWriter()</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00079">MC2RawEncoder.h:79</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a83fe6085c0617520215868c7371f0375"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a83fe6085c0617520215868c7371f0375">o2::itsmft::MC2RawEncoder::getDefaultSinkName</a></div><div class="ttdeci">std::string getDefaultSinkName() const</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00081">MC2RawEncoder.h:81</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a8f99bb271c78022efef55182f252d02c"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a8f99bb271c78022efef55182f252d02c">o2::itsmft::MC2RawEncoder::setDefaultSinkName</a></div><div class="ttdeci">void setDefaultSinkName(const std::string &nm)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00082">MC2RawEncoder.h:82</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a967507d4c3b359d4d509c123344bee55"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a967507d4c3b359d4d509c123344bee55">o2::itsmft::MC2RawEncoder::setMinMaxRUSW</a></div><div class="ttdeci">void setMinMaxRUSW(uint8_t ruMin, uint8_t ruMax)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00067">MC2RawEncoder.h:67</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_a9a96650698950fe5a9a225a9e00d6dce"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#a9a96650698950fe5a9a225a9e00d6dce">o2::itsmft::MC2RawEncoder::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00023">MC2RawEncoder.cxx:23</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_ac34652210c3da935a16cbf48ca603053"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ac34652210c3da935a16cbf48ca603053">o2::itsmft::MC2RawEncoder::digits2raw</a></div><div class="ttdeci">void digits2raw(gsl::span< const Digit > digits, const o2::InteractionRecord &bcData)</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00087">MC2RawEncoder.cxx:87</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_ad8ec35bf8d80418df14c17183461286a"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ad8ec35bf8d80418df14c17183461286a">o2::itsmft::MC2RawEncoder::getRUDecode</a></div><div class="ttdeci">RUDecodeData * getRUDecode(int ruSW)</div><div class="ttdef"><b>Definition</b> <a href="../../df/d56/MC2RawEncoder_8h_source.html#l00056">MC2RawEncoder.h:56</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_ae6e3d26f8e37e4ebde077e03906f0db6"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#ae6e3d26f8e37e4ebde077e03906f0db6">o2::itsmft::MC2RawEncoder::finalize</a></div><div class="ttdeci">void finalize()</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00080">MC2RawEncoder.cxx:80</a></div></div>
<div class="ttc" id="aclasso2_1_1itsmft_1_1MC2RawEncoder_html_aeb31ae566a2ab08184044f04f4315951"><div class="ttname"><a href="../../de/d36/classo2_1_1itsmft_1_1MC2RawEncoder.html#aeb31ae566a2ab08184044f04f4315951">o2::itsmft::MC2RawEncoder::newRDHMethod</a></div><div class="ttdeci">void newRDHMethod(const header::RDHAny *rdh, bool empty, std::vector< char > &toAdd) const</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d6b/MC2RawEncoder_8cxx_source.html#l00329">MC2RawEncoder.cxx:329</a></div></div>
<div class="ttc" id="aclasso2_1_1raw_1_1RawFileWriter_html"><div class="ttname"><a href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html">o2::raw::RawFileWriter</a></div><div class="ttdef"><b>Definition</b> <a href="../../da/d08/RawFileWriter_8h_source.html#l00042">RawFileWriter.h:43</a></div></div>
<div class="ttc" id="aclasso2_1_1raw_1_1RawFileWriter_html_a53c201092f12fa16ff6afba2bd4bc4ce"><div class="ttname"><a href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#a53c201092f12fa16ff6afba2bd4bc4ce">o2::raw::RawFileWriter::setContinuousReadout</a></div><div class="ttdeci">void setContinuousReadout()</div><div class="ttdef"><b>Definition</b> <a href="../../da/d08/RawFileWriter_8h_source.html#l00217">RawFileWriter.h:217</a></div></div>
<div class="ttc" id="aclasso2_1_1raw_1_1RawFileWriter_html_a97bfd30dc73fd0efa0bfa25dbd908e62"><div class="ttname"><a href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#a97bfd30dc73fd0efa0bfa25dbd908e62">o2::raw::RawFileWriter::setVerbosity</a></div><div class="ttdeci">void setVerbosity(int v)</div><div class="ttdef"><b>Definition</b> <a href="../../da/d08/RawFileWriter_8h_source.html#l00237">RawFileWriter.h:237</a></div></div>
<div class="ttc" id="aclasso2_1_1raw_1_1RawFileWriter_html_aa64ad2c7175ee38231b07be03535bb0a"><div class="ttname"><a href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#aa64ad2c7175ee38231b07be03535bb0a">o2::raw::RawFileWriter::isContinuousReadout</a></div><div class="ttdeci">bool isContinuousReadout() const</div><div class="ttdef"><b>Definition</b> <a href="../../da/d08/RawFileWriter_8h_source.html#l00232">RawFileWriter.h:232</a></div></div>
<div class="ttc" id="aclasso2_1_1raw_1_1RawFileWriter_html_af3537d450f0c130fe21032aaf140332f"><div class="ttname"><a href="../../d0/d0d/classo2_1_1raw_1_1RawFileWriter.html#af3537d450f0c130fe21032aaf140332f">o2::raw::RawFileWriter::close</a></div><div class="ttdeci">void close()</div><div class="ttdef"><b>Definition</b> <a href="../../df/dd8/RawFileWriter_8cxx_source.html#l00038">RawFileWriter.cxx:38</a></div></div>
<div class="ttc" id="aglcorearb_8h_html_a4568fc090febc136eed4577a600739ca"><div class="ttname"><a href="../../dc/da3/glcorearb_8h.html#a4568fc090febc136eed4577a600739ca">v</a></div><div class="ttdeci">const GLdouble * v</div><div class="ttdef"><b>Definition</b> <a href="../../dc/da3/glcorearb_8h_source.html#l00832">glcorearb.h:832</a></div></div>
<div class="ttc" id="aglcorearb_8h_html_a8922a680b00df660c57f47c1971d04c5"><div class="ttname"><a href="../../dc/da3/glcorearb_8h.html#a8922a680b00df660c57f47c1971d04c5">data</a></div><div class="ttdeci">GLboolean * data</div><div class="ttdef"><b>Definition</b> <a href="../../dc/da3/glcorearb_8h_source.html#l00298">glcorearb.h:298</a></div></div>
<div class="ttc" id="anamespaceo2_html"><div class="ttname"><a href="../../d4/d7c/namespaceo2.html">o2</a></div><div class="ttdoc">a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...</div><div class="ttdef"><b>Definition</b> <a href="../../d4/d4a/FlattenRestore_8h_source.html#l00022">FlattenRestore.h:23</a></div></div>
<div class="ttc" id="ao2sim__parallel_8cxx_html_a298b27fd2c051ca7db011162e75bb350"><div class="ttname"><a href="../../d8/ddd/o2sim__parallel_8cxx.html#a298b27fd2c051ca7db011162e75bb350">empty</a></div><div class="ttdeci">void empty(int)</div><div class="ttdef"><b>Definition</b> <a href="../../d8/ddd/o2sim__parallel_8cxx_source.html#l00365">o2sim_parallel.cxx:365</a></div></div>
<div class="ttc" id="astructo2_1_1InteractionRecord_html"><div class="ttname"><a href="../../d1/d21/structo2_1_1InteractionRecord.html">o2::InteractionRecord</a></div><div class="ttdef"><b>Definition</b> <a href="../../d9/d80/InteractionRecord_8h_source.html#l00027">InteractionRecord.h:27</a></div></div>
<div class="ttc" id="astructo2_1_1header_1_1RDHAny_html"><div class="ttname"><a href="../../d3/d22/structo2_1_1header_1_1RDHAny.html">o2::header::RDHAny</a></div><div class="ttdef"><b>Definition</b> <a href="../../d6/d89/RDHAny_8h_source.html#l00029">RDHAny.h:29</a></div></div>
<div class="ttc" id="astructo2_1_1itsmft_1_1GBTLink_html"><div class="ttname"><a href="../../dd/d09/structo2_1_1itsmft_1_1GBTLink.html">o2::itsmft::GBTLink</a></div><div class="ttdoc">support for the GBT single link data</div><div class="ttdef"><b>Definition</b> <a href="../../d0/dd1/GBTLink_8h_source.html#l00056">GBTLink.h:56</a></div></div>
<div class="ttc" id="astructo2_1_1itsmft_1_1RUDecodeData_html"><div class="ttname"><a href="../../d0/df7/structo2_1_1itsmft_1_1RUDecodeData.html">o2::itsmft::RUDecodeData</a></div><div class="ttdef"><b>Definition</b> <a href="../../db/d0e/RUDecodeData_8h_source.html#l00031">RUDecodeData.h:31</a></div></div>
<div class="ttc" id="atest__ctf__io__hmpid_8cxx_html_a41a6d224f3eccd6ee0a0db7355e20877"><div class="ttname"><a href="../../dc/d45/test__ctf__io__hmpid_8cxx.html#a41a6d224f3eccd6ee0a0db7355e20877">digits</a></div><div class="ttdeci">std::vector< Digit > digits</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d45/test__ctf__io__hmpid_8cxx_source.html#l00040">test_ctf_io_hmpid.cxx:40</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_051dca18e802f8e9474f2e30d29c04e0.html">Detectors</a></li><li class="navelem"><a class="el" href="../../dir_1306292b77b40360479b729ac9ee7efe.html">ITSMFT</a></li><li class="navelem"><a class="el" href="../../dir_85bf31a2e8d306e7598ffcb73f8df6bf.html">common</a></li><li class="navelem"><a class="el" href="../../dir_948e043a2a9c0d8c3d26178da976c005.html">simulation</a></li><li class="navelem"><a class="el" href="../../dir_aece0de4a924a7db153b75165d0988be.html">include</a></li><li class="navelem"><a class="el" href="../../dir_4908a9d3c2e0c7f02f1cfcaffb67f65f.html">ITSMFTSimulation</a></li><li class="navelem"><a class="el" href="../../df/d56/MC2RawEncoder_8h.html">MC2RawEncoder.h</a></li>
<li class="footer">Generated on Sat Oct 3 2026 10:54:52 for Project by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
</html>