DABC (Data Acquisition Backbone Core)  2.9.9
TdcEventBuilder.xml
Go to the documentation of this file.
1 <?xml version="1.0"?>
2 
3 ␖‹N
4 š±N
5 
6 {¢Ä^U
7 
8 -->
9 
10 <dabc version="2">
11  <Context host="localhost" name="EventBuilder">
12  <Run>
13  <lib value="libDabcMbs.so"/>
14  <lib value="libDabcHadaq.so"/>
15  <lib value="libDabcHttp.so"/>
16  <lib value="libDabcRfio.so"/>
17  <lib value="libDabcStream.so"/>
18  <logfile value="hadaqevtbuild.log"/>
19  <loglevel value="-1"/>
20  <loglimit value="1000"/>
21  <control value="true"/>
22  <threads_layout value="balanced"/>
23  </Run>
24 
25  <HttpServer name="http" port="8090"/>
26 
27  <!-- If uncommented, all internal manager structures will be published in the web server -->
28  <Publisher name="publ" manager="true"/>
29 
30  <!-- If uncommented, profiling will be enabled for all threads -->
31  <!-- Thread name="*" publ="true" prof="true"/ -->
32 
33  <MemoryPool name="Pool">
34  <BufferSize value="200000"/>
35  <NumBuffers value="1000"/>
36  </MemoryPool>
37 
38  <!-- these are default parameters for TDC calibration modules -->
39  <Module name="TRB*_TdcCal">
40  <!-- Minimal and maximal bins for linear calibration -->
41  <FineMin value="31"/>
42  <FineMax value="480"/>
43 
44  <!-- number of TDC channels -->
45  <NumChannels value="65"/>
46 
47  ␒2î^U
48 IÜÃ
49 IÜÃ
50  4 - falling edge enabled and common statistic is used for calibration -->
51  <EdgeMask value="1"/>
52 
53  <!-- when auto mode enabled - this is allowed range for TDC ids -->
54  <TdcMin value="0x0000"/>
55  <TdcMax value="0x1000"/>
56 
57  š±N
58  In the URL it is coded as "calibr" parameter -->
59  <Mode value="0"/>
60 
61  6¢Ä^U
62 6¢Ä^U
63 ␒2î^U
64 {¢Ä^U
65 {¢Ä^U
66  4 - also reference histograms could be created (not yet available in DABC) -->
67  <HistFilling value="4"/>
68 
69  <!-- file prefix where calibration will be stored or loaded -->
70  <CalibrFile value="local"/>
71 
72  <!-- Which trigger used for calibration. 0xffff - all triggers, 0xD - from internal pulser, [0x2, 0x3] - two trigger types -->
73  <CalibrTrigger value="0xffff"/>
74 
75  <!-- Which channels should be excluded from calibration - either file will be used or just linear function -->
76  <!-- DisableCalibrationFor value="0"/-->
77 
78  <!-- Number of counts in each channel to perform calibration, 0 - switch off autocalibration -->
79  <Auto value="100000"/>
80 
81  IÜÃ
82 IÜÃ
83  When Replace==false, size of HLD data increased by 25%, but original data are preserved -->
84  <Replace value="true"/>
85  </Module>
86 
87  <Module name="Combiner" class="hadaq::CombinerModule">
88  <!-- these parameters will force to create inputs/outputs of module -->
89  <NumInputs value="5"/>
90  <NumOutputs value="1"/>
91 
92  <InputPort name="Input0" url="hadaq://host:50000" urlopt1="trb=0x8000&tdc=[0x3000,0x3001,0x3002,0x3003]&hub=0x8010␖‹N
93  <InputPort name="Input1" url="hadaq://host:50001" urlopt1="trb=0x8010&tdc=[0x3010,0x3011,0x3012,0x3013]␖‹N
94  <InputPort name="Input2" url="hadaq://host:50002" urlopt1="trb=0x8020&tdc=[0x3020,0x3021,0x3022,0x3023]␖‹N
95  <InputPort name="Input3" url="hadaq://host:50003" urlopt1="trb=0x8030&tdc=[0x3030,0x3031,0x3032,0x3033]␖‹N
96  <InputPort name="Input4" url="hadaq://host:50004" urlopt1="trb=0x8040&tdc=[0x3040,0x3041,0x3042,0x3043]␖‹N
97 
98  <InputPort name="Input*" queue="10" urlopt="udpbuf=400000&mtu=65507&flush=2&debug&dummy␖‹N
99 
100  <ExtraDebug value="false␖‹N
101 
102 IÜÃ
103  <OutputPort name="Output0" url="mbs://Stream:6002?iter=hadaq_iter&subid=0x1f␖‹N
104 
105 {¢Ä^U
106  <!--OutputPort name="Output1" url="hld://dabc.hld?maxsize=2000␖‹N
107  <!--OutputPort name="Output1" url="hld:///linev/path/dabc.hld?maxsize=1900&rfio␖‹N
108 
109  <FlushTimeout value="2.0␖‹N
110 
111 ¾¼Ä^U
112  <TriggerNumRange value="0x1000000␖‹N
113 
114 \é-
115  <AccountLostEventDiff value="true␖‹N
116 
117 ␒2î^U
118  <HadaqData width="4" prec="2" low="0" up="10" debug="1␖‹N
119  <HadaqEvents width="5" prec="1" low="0" up="1000" debug="1␖‹N
120  <HadaqDroppedData width="5" prec="3" low="0" up="1" debug="1␖‹N
121  <HadaqLostEvents width="4" prec="2" low="0" up="100" debug="1␖‹N
122 ␖‹N
123 
124 ␒2î^U
125  <Module name="Term" class="hadaq::TerminalModule" period="0.3" clear="false"/>
126 
127  </Context>
128 
129 </dabc>