-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocesses.rml
403 lines (292 loc) · 21 KB
/
processes.rml
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<processes>
<globals file="globals.xml"/>
<!-- ···································································································· -->
<!-- SIGNAL RELATED PROCESSES ··········································································· -->
<!-- ···································································································· -->
<TRestRawToSignalProcess name="virtualDAQ" title="TEST" verboseLevel="silent">
<parameter name="pedScript" value="ped"/>
<parameter name="runScript" value="run"/>
<parameter name="electronics" value="${ELECTRONICS}"/>
<parameter name="fileFormat" value="SJTU" />
<parameter name="minPoints" value="16" />
</TRestRawToSignalProcess>
<!-- ···································································································· -->
<TRestDetectorSignalToHitsProcess name="signalToHits" title="A Signal To Hits reconstruction template." verboseLevel="silent" >
<parameter name="sampling" value="${SAMPLING}" /> <!-- 100MHz/0x02(wckdiv) -> 50MHz -> 20ns sampling time; 512 bins -> 20x512~10us window (old:100ns)-->
<parameter name="electricField" value="${DRIFT_FIELD}" units="V/cm" />
<parameter name="triggerDelay" value="4000ns" /> <!-- 0x190 -> 400 -> 4000ns -->
<!-- If not specified, the following values will be taken from TRestDetectorGas properties -->
<parameter name="gasPressure" value="${PRESSURE}" /> <!-- in atm -->
<parameter name="driftVelocity" value="${DRIFT_VELOCITY}" /> <!-- in mm/us-->
<parameter name="method" value="tripleMax" /> <!-- "gausFit", "tripleMax" or "onlyMax" -->
</TRestDetectorSignalToHitsProcess>
<!-- ···································································································· -->
<TRestRawZeroSuppresionProcess name="zS" title="" verboseLevel="silent" >
<!-- This parameter is used to define the baseline calculation -->
<parameter name="baseLineRange" value="(${BL_MIN},${BL_MAX})" />
<!-- These parameters define the integral with threshold.
threshold : number of baseline noise sigmas to consider a point for integration.
pointsOverThreshold : Number of consecutive points over threshold to be considered for integration.
minPeakAmplitude : Minimum peak signal amplitude to be considered at all.
-->
<parameter name="sampling" value="${SAMPLING}" />
<parameter name="integralRange" value="(${INT_MIN},${INT_MAX})" />
<parameter name="pointThreshold" value="${POINT_TH}" />
<parameter name="pointsOverThreshold" value="${NPOINTS}" />
<parameter name="signalThreshold" value="${SGNL_TH}" />
</TRestRawZeroSuppresionProcess>
<!-- ···································································································· -->
<TRestRawSignalAnalysisProcess name="sAna" title="" verboseLevel="info" observable="all">
<!-- This parameter defines every how many seconds a signal will be drawn.
In case the value is zero. There will not be any drawing. -->
<parameter name="refreshEvery" value="1" />
<!-- This parameter is used to define the baseline calculation -->
<parameter name="baseLineRange" value="(${BL_MIN},${BL_MAX})" />
<!-- This parameter is used to define the signal integration window -->
<parameter name="integralRange" value="(${INT_MIN},${INT_MAX})" />
<!-- These parameters define the integral with threshold.
threshold : number of baseline noise sigmas to consider a point for integration.
pointsOverThreshold : Number of consecutive points over threshold to be considered for integration.
minPeakAmplitude : Minimum peak signal amplitude to be considered at all.
-->
<parameter name="pointThreshold" value="${POINT_TH}" />
<parameter name="pointsOverThreshold" value="${NPOINTS}" />
<parameter name="signalThreshold" value="${SGNL_TH}" />
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cut/event selection definition
This are the cut range definition on the observables
Events that are not in those ranges will be rejected if cutsEnables is true.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!--
<parameter name="cutsEnabled" value="false" />
<parameter name="meanBaseLineCutRange" value="(200,800)" />
<parameter name="meanBaseLineSigmaCutRange" value="(0,6)" />
<parameter name="maxNumberOfSignalsCut" value="(1,20)" />
<parameter name="maxNumberOfGoodSignalsCut" value="(4,10)" />
<parameter name="fullIntegralCut" value="(1,500000)" />
<parameter name="thresholdIntegralCut" value="(1,150000)" />
<parameter name="peakTimeDelayCut" value="(0,10)" />
-->
</TRestRawSignalAnalysisProcess>
<!-- ···································································································· -->
<TRestDetectorSignalShapingProcess name="signalShapingProcess" title="Test SignalShaping" >
<parameter name="responseFile" value="AGET_Response_12.5MHz_Gain0x1_Shaping0x4.root" /> <!-- response file to be used to shape the signal -->
</TRestDetectorSignalShapingProcess>
<!-- ···································································································· -->
<TRestRawSignalViewerProcess name="rsViewer" title="Signal viewer." verboseLevel="debug" >
<parameter name="refreshEvery" value="1" />
<parameter name="baseLineRange" value="(${BL_MIN},${BL_MAX})" />
<parameter name="thresholdRange" value="(200,350)" />
<parameter name="peakThreshold" value="" />
<parameter name="nSignalsThreshold" value="" />
<parameter name="yRange" value="auto" /> <!-- OR <parameter name="yRange" value="(4000,5000)" /> -->
</TRestRawSignalViewerProcess>
<!-- ···································································································· -->
<TRestDetectorSignalViewerProcess name="sViewer" title="Signal viewer." verboseLevel="debug" >
<parameter name="refreshEvery" value="1" />
<parameter name="baseLineRange" value="(20,200)" />
</TRestDetectorSignalViewerProcess>
<!-- ···································································································· -->
<TRestDetectorSignalChannelActivityProcess name="chActivity" title="Channel activity process" >
<parameter name="lowThreshold" value="25" />
<parameter name="highThreshold" value="50" />
<parameter name="yRange" value="auto" /> <!-- OR <parameter name="yRange" value="(4000,5000)" /> -->
<parameter name="daqChannels" value="300" />
<parameter name="daqStartCh" value="4320" />
<parameter name="daqEndCh" value="4620" />
<parameter name="readoutChannels" value="250" />
<parameter name="readoutStartCh" value="0" />
<parameter name="readoutEndCh" value="250" />
</TRestDetectorSignalChannelActivityProcess>
<!-- ···································································································· -->
<TRestRawSignalChannelActivityProcess name="rawChActivity" title="Raw channel activity process" >
<parameter name="lowThreshold" value="25" />
<parameter name="highThreshold" value="50" />
<parameter name="yRange" value="auto" /> <!-- OR <parameter name="yRange" value="(4000,5000)" /> -->
<parameter name="daqChannels" value="300" />
<parameter name="daqStartCh" value="4322" />
<parameter name="daqEndCh" value="4622" />
<parameter name="readoutChannels" value="250" />
<parameter name="readoutStartCh" value="0" />
<parameter name="readoutEndCh" value="250" />
</TRestRawSignalChannelActivityProcess>
<!-- ···································································································· -->
<!-- HITS RELATED PROCESSES ············································································· -->
<!-- ···································································································· -->
<TRestDetectorHitsToSignalProcess name="hitsToSignal" title="A hits to signal template" >
<parameter name="sampling" value="${SAMPLING}" />
<parameter name="electricField" value="${DRIFT_FIELD}" units="V/cm" />
<!-- If specified, the following parameters will modify the properties of the gas found in TRestDetectorGas -->
<parameter name="gasPressure" value="${PRESSURE}" />
<parameter name="driftVelocity" value="${DRIFT_VELOCITY}" />
</TRestDetectorHitsToSignalProcess>
<!-- ···································································································· -->
<TRestDetectorHitsToTrackProcess name="hitsToTrack" title="" verboseLevel="silent"> <!-- verbose : debug; silent -->
<parameter name="clusterDistance" value="3.5mm" /> <!-- cluster = 7 strips with no signal; 0.5mm pitch -->
</TRestDetectorHitsToTrackProcess>
<!-- ···································································································· -->
<TRestDetectorHitsToTrackFastProcess name="fastHitsToTrack" title="" >
<parameter name="cellResolution" value="10mm" />
<parameter name="netSize" value="2000mm" />
<parameter name="netOrigin" value="(-1000,-1000,-1000)mm" />
</TRestDetectorHitsToTrackFastProcess>
<!-- ···································································································· -->
<TRestDetectorHitsReductionProcess name="hitsReduction-IAXOD0" title="MinimumDistance being IAXOD0 readout pitch" >
<parameter name="startingDistance" value="0.45mm" />
<parameter name="minimumDistance" value="0.5mm" />
<parameter name="distanceStepFactor" value="1.5" />
<parameter name="maxNodes" value="70" />
</TRestDetectorHitsReductionProcess>
<!-- ···································································································· -->
<TRestDetectorHitsAnalysisProcess name="hitsAnaLite" title="Hits analysis template" verboseLevel="silent" observable="all" >
<observable name="energy" value="ON" />
<observable name="nHits" value="ON" />
<observable name="nHitsX" value="ON" />
<observable name="nHitsY" value="ON" />
<observable name="xMean" value="ON" />
<observable name="yMean" value="ON" />
<observable name="zMean" value="ON" />
<parameter name="cylinderFiducialization" value="false" />
<parameter name="prismFiducialization" value="true" />
<parameter name="fiducial_x0" value="(0,0,-15)mm" />
<parameter name="fiducial_x1" value="(0,0,15)mm" />
<parameter name="fiducial_sX" value="60mm" />
<parameter name="fiducial_sY" value="60mm" />
<observable name="isInsidePrismVolume" value="ON" />
<observable name="nInsidePrismVolume" value="ON" />
<observable name="energyInsidePrismVolume" value="ON" />
<observable name="distanceToPrismWall" value="ON" />
<observable name="distanceToPrismTop" value="ON" />
<observable name="distanceToPrismBottom" value="ON" />
</TRestDetectorHitsAnalysisProcess>
<!-- ···································································································· -->
<TRestDetectorHitsAnalysisProcess name="hitsAna" title="Hits analysis template" verboseLevel="info" >
<observable name="energy" value="ON" />
<observable name="energyX" value="ON" />
<observable name="energyY" value="ON" />
<observable name="balanceXYenergy" value="ON" />
<observable name="nHits" type="int" value="ON" />
<observable name="nHitsX" type="int" value="ON" />
<observable name="nHitsY" type="int" value="ON" />
<observable name="balanceXYnHits" value="ON" />
<observable name="nHitsSizeXY" value="ON" />
<observable name="maxHitEnergy" value="ON" />
<observable name="minHitEnergy" value="ON" />
<observable name="meanHitEnergy" value="ON" />
<observable name="meanHitEnergyBalance" value="ON" />
<observable name="xMean" value="ON" />
<observable name="yMean" value="ON" />
<observable name="zMean" value="ON" />
<observable name="xSigma" value="ON" />
<!--<observable name="xSigmaGaus" value="OFF" /> -->
<observable name="ySigma" value="ON" />
<!--<observable name="ySigmaGaus" value="OFF" /> -->
<observable name="xy2Sigma" value="ON" />
<!-- <observable name="xy2SigmaGaus" value="OFF" /> -->
<observable name="xySigmaBalance" value="ON" />
<!-- <observable name="xySigmaBalanceGaus" value="OFF" /> -->
<observable name="z2Sigma" value="ON" />
<observable name="xySkew" value="ON" />
<observable name="zSkew" value="ON" />
<!-- x0 and y0 are common coordinates for prism and cylinder. -->
<parameter name="fiducial_x0" value="(0,0,-15)mm" />
<parameter name="fiducial_x1" value="(0,0,300)mm" />
<!-- This parameter allows to enable/disable the cylinder fiducialization. -->
<parameter name="cylinderFiducialization" value="false" />
<parameter name="fiducial_R" value="48mm" />
<observable name="isInsideCylindricalVolume" value="OFF" />
<observable name="nInsideCylindricalVolume" value="OFF" />
<observable name="energyInsideCylindricalVolume" value="OFF" />
<observable name="distanceToCylinderWall" value="OFF" />
<observable name="distanceToCylinderTop" value="OFF" />
<observable name="distanceToCylinderBottom" value="OFF" />
<observable name="xMeanInCylinder" value="OFF" />
<observable name="yMeanInCylinder" value="OFF" />
<observable name="zMeanInCylinder" value="OFF" />
<!-- This parameter allows to enable/disable the prism fiducialization. -->
<parameter name="prismFiducialization" value="true" />
<parameter name="fiducial_sX" value="60mm" />
<parameter name="fiducial_sY" value="60mm" />
<parameter name="fiducial_theta" value="0"/>
<observable name="isInsidePrismVolume" type="int" value="ON" />
<observable name="nInsidePrismVolume" type="int" value="ON" />
<observable name="energyInsidePrismVolume" value="ON" />
<observable name="distanceToPrismWall" value="ON" />
<observable name="distanceToPrismTop" value="ON" />
<observable name="distanceToPrismBottom" value="ON" />
<observable name="xMeanInPrism" value="ON" />
<observable name="yMeanInPrism" value="ON" />
<observable name="zMeanInPrism" value="ON" />
</TRestDetectorHitsAnalysisProcess>
<!-- ···································································································· -->
<TRestDetectorHitsNormalizationProcess name="hitsNorm" title="Hits normalization template" >
<parameter name="normFactor" value="0.021917" />
</TRestDetectorHitsNormalizationProcess>
<!-- ···································································································· -->
<TRestDetectorHitsRotateAndTranslateProcess name="HitsRotTransIAXOD0" title="" verboseLevel="silent" >
<!-- Readout information:
Origin position : X = 0 mm Y : -42.25 mm
Size : X = 59.75 Y : 59.75
Rotation : 45 degrees
-->
<parameter name="translationEnabled" value="true" />
<parameter name="deltaX" value="-21.125mm" /> <!-- -29.875 -->
<parameter name="deltaY" value="21.125mm" /> <!-- 42.25; 12.36; 12.375 -->
<parameter name="deltaZ" value="0.mm" />
<parameter name="rotationEnabled" value="false" />
<parameter name="alpha" value="0." /> <!-- // rotation angle around X in degrees -->
<parameter name="beta" value="0." /> <!-- // rotation angle around Y in degrees -->
<parameter name="gamma" value="0." /> <!-- // rotation angle around Z in degrees -->
</TRestDetectorHitsRotateAndTranslateProcess>
<!-- ···································································································· -->
<!-- TRACKS RELATED PROCESSES ··········································································· -->
<!-- ···································································································· -->
<TRestTrackPathMinimizationProcess name="trackPathMinimization" title="" >
<parameter name="energyThreshold" value="0.8" />
<parameter name="maxNodes" value="50" />
</TRestTrackPathMinimizationProcess>
<!-- ···································································································· -->
<TRestTrackReconnectionProcess name="trackReconnection" title="" >
<observable name="branches" value="ON" />
</TRestTrackReconnectionProcess>
<!-- ···································································································· -->
<TRestTrackAnalysisProcess name="tckAna" title="Track analysis template">
<parameter name="cutsEnabled" value="false" />
<parameter name="nTracksXCut" value="(1,10)" />
<parameter name="nTracksYCut" value="(1,10)" />
<observable name="LengthX" value="OFF" />
<observable name="LengthY" value="OFF" />
<observable name="nTracks_X" type="int" value="ON" />
<observable name="nTracks_Y" type="int" value="ON" />
<observable name="nTracks_XYZ" type="int" value="ON" />
<observable name="trackEnergy" value="ON" />
<observable name="MaxTrackEnergy" value="ON" />
<observable name="MaxTrackEnergy_Y" value="ON" />
<observable name="MaxTrackEnergy_X" value="ON" />
<observable name="MaxTrackEnergyRatio" value="ON" />
<observable name="SecondTrackMaxEnergy" value="ON" />
<observable name="SecondTrackMaxEnergy_X" value="ON" />
<observable name="SecondTrackMaxEnergy_Y" value="ON" />
<observable name="MaxTrackLength_XYZ" value="ON" />
<observable name="MaxTrackLength_X" value="ON" />
<observable name="MaxTrackLength_Y" value="ON" />
<observable name="MaxTrackVolume_XYZ" value="ON" />
<observable name="MaxTrackVolume_X" value="ON" />
<observable name="MaxTrackVolume_Y" value="ON" />
<observable name="MaxTrack_Xmean_XYZ" value="ON" />
<observable name="MaxTrack_Ymean_XYZ" value="ON" />
<observable name="MaxTrack_Zmean_XYZ" value="ON" />
<observable name="MaxTrack_Xmean_X" value="ON" />
<observable name="MaxTrack_Zmean_X" value="ON" />
<observable name="MaxTrack_Ymean_Y" value="ON" />
<observable name="MaxTrack_Zmean_Y" value="ON" />
</TRestTrackAnalysisProcess>
<!-- ···································································································· -->
<TRestTrackReductionProcess name="trackReduction-IAXOD0" title="MinimumDistance being IAXOD0 cluster definition: 3 strips of distance" >
<parameter name="startingDistance" value="0.5mm" />
<parameter name="minimumDistance" value="2mm" />
<parameter name="distanceStepFactor" value="1.25" />
<parameter name="maxNodes" value="15" />
</TRestTrackReductionProcess>
</processes>