DABC (Data Acquisition Backbone Core)  2.9.9
recalibrate.xml
Go to the documentation of this file.
1 <?xml version="1.0"?>
2 <dabc version="2">
3  <Context host="localhost" name="Recalibrate">
4  <Run>
5  <lib value="libDabcMbs.so"/>
6  <lib value="libDabcHadaq.so"/>
7  <lib value="libDabcHttp.so"/>
8  <lib value="libDabcStream.so"/>
9  <logfile value="caltest.log"/>
10  <loglevel value="-1"/>
11  <loglimit value="1000"/>
12  <control value="true"/>
13  <threads_layout value="balanced"/>
14  </Run>
15 
16  <HttpServer name="http" port="8090"/>
17 
18  <MemoryPool name="Pool">
19  <BufferSize value="200000"/>
20  <NumBuffers value="1000"/>
21  </MemoryPool>
22 
23  <!-- these are genetic parameters for all calibration modules -->
24  <Module name="Sub*">
25  <!-- these parameters will force to create inputs/outputs of module -->
26  <NumInputs value="0"/>
27  <NumOutputs value="0"/>
28 
29  <FineMin value="31"/>
30  <FineMax value="491"/>
31  <NumChannels value="33"/>
32  <EdgeMask value="4"/>
33  <HistFilling value="4"/>
34 
35  <!-- DisableCalibrationFor value="0"/-->
36  <Auto value="1000000"/>
37  <CalibrFile value="reaclibr_"/>
38  <CalibrTrigger value="0xffff"/>
39  <Dummy value="false"/>
40  </Module>
41 
42  <!-- these are special parameter for first subevent -->
43  <Module name="Sub0">
44  <TRB value="0x8000"/>
45  <HUB value="0x8100"/>
46  <TDC value="[0xC000,0xC001,0xC100,0xC101,0xC003]"/>
47  </Module>
48 
49  <!-- these are special parameter for second subevent -->
50  <Module name="Sub1">
51  <TRB value="0x8003"/>
52  <TDC value="[0xC00C,0xC00D,0xC00E,0xC00F]"/>
53  </Module>
54 
55  <!-- these are special parameter for third subevent -->
56  <Module name="Sub2">
57  <TRB value="0x8002"/>
58  <TDC value="[0xC008,0xC009,0xC00A]"/>
59  </Module>
60 
61  <Module name="Recalibrate" class="stream::RecalibrateModule" thread="CalcThread">
62  <!-- these parameters will force to create inputs/outputs of module -->
63  <NumInputs value="1"/>
64  <NumOutputs value="2"/>
65 
66  <InputPort name="Input0" url="hld:///data.local1/trb3tdc/file_raw.hld?reduce=0.6"/>
67 
68  <OutputPort name="Output0" url="mbs://Stream:6002?iter=hadaq_iter&subid=0x1fÃd™
69 
70  <OutputPort name="Output1" url="hld:///data.local1/trb3tdc/file_cal2.hldÃd™
71 
72 ¨ªœ
73  <NumSub value="3Ãd™
74 
75 QV
76  <Replace value="falseÃd™
77 
78  <DataRate debug="0"/>
79  </Module>
80 
81 
82  </Context>
83 
84 </dabc>