-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.xml
34 lines (22 loc) · 1.54 KB
/
example.xml
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
<container>
<properties url="classpath:/default/settings.properties" />
<property name="aux_source" value="file:/fhgfs/groups/app/fact/drive_2014.sqlite" />
<property name="integralGainFile" value="classpath:/default/gain_sorted_20131127.csv" />
<property name="pixelDelayFile" value="classpath:/default/delays_lightpulser_20150217.csv" />
<service id="auxService" class="fact.auxservice.SqliteService" url="${aux_source}" />
<service id="calibService" class="fact.calibrationservice.ConstantCalibService" />
<!-- Has to be a FactFileListMultiStream in order to work on tasks from gridmap and the executor script.-->
<stream id="fact" class="fact.io.FactFileListMultiStream" url="${input}">
<stream class="fact.io.zfits.ZFitsStream" id="_" />
</stream>
<process id="1" input="fact">
<fact.datacorrection.DrsCalibration key="Data" outputKey="DataCalibrated"/>
<include url="classpath:/default/data/extraction.xml" />
<include url="classpath:/default/data/cleaning.xml" />
<include url="classpath:/default/data/parameterCalc.xml" />
<!-- By defining an auxservice and a path to a sqlite database containin drive infos, you have access to all dirve related stuff here as well -->
<include url="classpath:/default/data/sourceParameter.xml" />
<!-- its important that you output a valid json file for this to work in conjuction with gridmap -->
<fact.io.JSONWriter keys="EventNum" url="${output}" writeListOfItems="True"/>
</process>
</container>