forked from JeffersonLab/hcana_replay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output_replay_both.def
263 lines (255 loc) · 7.61 KB
/
output_replay_both.def
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
# See $ANALYZER/examples/output_example.def for examples
#
block H.gold.*
block H.tr.*
block H.dc.*
block H.hod.*
block H.cal.*
block H.aero.*
block H.cher.*
block S.tr.*
block S.gold.*
block S.dc.*
block S.hod.*
block S.cal.*
block S.cher.*
block g.evnum
block RB.*
# cuts
#cut hfoundtrack H.dc.ntrack>0
#cut hfound1track H.dc.ntrack==1
#cut hmscoin_event g.evtyp==1||g.evtyp==3
# TDC spectra
TH1F hfptime1x ' HMS s1x fptime' H.hod.1x.fptime 80 0. 80. hfoundtrack
TH1F hfptime1y ' HMS s1y fptime' H.hod.1y.fptime 80 0. 80. hfoundtrack
TH1F hfptime2x ' HMS s2x fptime' H.hod.2x.fptime 80 0. 80. hfoundtrack
TH1F hfptime2y ' HMS s2y fptime' H.hod.2y.fptime 80 0. 80. hfoundtrack
TH1F hstart_time1 ' HMS Start Time ' H.hod.starttime 80 0. 80. hmscoin_event
# TDC hits per paddle
TH1F hpostdc1 'HMS s1x+ TDC hits' H.hod.1x.postdchits 16 0.5 16.5
TH1F hnegtdc1 'HMS s1x- TDC hits' H.hod.1x.negtdchits 16 0.5 16.5
TH1F hpostdc2 'HMS s1y+ TDC hits' H.hod.1y.postdchits 10 0.5 10.5
TH1F hnegtdc2 'HMS s1y- TDC hits' H.hod.1y.negtdchits 10 0.5 10.5
TH1F hpostdc3 'HMS s2x+ TDC hits' H.hod.2x.postdchits 16 0.5 16.5
TH1F hnegtdc3 'HMS s2x- TDC hits' H.hod.2x.negtdchits 16 0.5 16.5
TH1F hpostdc4 'HMS s2y+ TDC hits' H.hod.2y.postdchits 10 0.5 10.5
TH1F hnegtdc4 'HMS s2y- TDC hits' H.hod.2y.negtdchits 10 0.5 10.5
# ADC hits per paddle
TH1F hposadc1 'HMS s1x+ ADC hits' H.hod.1x.posadchits 16 0.5 16.5
TH1F hnegadc1 'HMS s1x- ADC hits' H.hod.1x.negadchits 16 0.5 16.5
TH1F hposadc2 'HMS s1y+ ADC hits' H.hod.1y.posadchits 10 0.5 10.5
TH1F hnegadc2 'HMS s1y- ADC hits' H.hod.1y.negadchits 10 0.5 10.5
TH1F hposadc3 'HMS s2x+ ADC hits' H.hod.2x.posadchits 16 0.5 16.5
TH1F hnegadc3 'HMS s2x- ADC hits' H.hod.2x.negadchits 16 0.5 16.5
TH1F hposadc4 'HMS s2y+ ADC hits' H.hod.2y.posadchits 10 0.5 10.5
TH1F hnegadc4 'HMS s2y- ADC hits' H.hod.2y.negadchits 10 0.5 10.5
#TH1F hdcrawtdc
#TH1F hdccuttdc
# Can we use variables for the constants. In CTP we used hdc_nwire(i)
TH1F hsx_fp 'HDC x fp ' H.dc.x 200 -70 70 H.dc.ntrack==1
TH1F hsy_fp 'HDC y fp ' H.dc.y 150 -30 30 H.dc.ntrack==1
TH1F hsxp_fp 'HDC xp fp ' H.dc.xp 200 -.3 .3 H.dc.ntrack==1
TH1F hsyp_fp 'HDC yp fp ' H.dc.yp 100 -.1 .1 H.dc.ntrack==1
#
TH1F hdc1x1_wm 'HDC 1X1 Wiremap' H.dc.1x1.tdchits 113 0.5 113.5
TH1F hdc1y1_wm 'HDC 1Y1 Wiremap' H.dc.1y1.tdchits 52 0.5 52.5
TH1F hdc1u1_wm 'HDC 1U1 Wiremap' H.dc.1u1.tdchits 107 0.5 107.5
TH1F hdc1v1_wm 'HDC 1V1 Wiremap' H.dc.1v1.tdchits 107 0.5 107.5
TH1F hdc1y2_wm 'HDC 1Y2 Wiremap' H.dc.1y2.tdchits 52 0.5 52.5
TH1F hdc1x2_wm 'HDC 1X2 Wiremap' H.dc.1x2.tdchits 113 0.5 113.5
TH1F hdc2x1_wm 'HDC 2X1 Wiremap' H.dc.2x1.tdchits 113 0.5 113.5
TH1F hdc2y1_wm 'HDC 2Y1 Wiremap' H.dc.2y1.tdchits 52 0.5 52.5
TH1F hdc2u1_wm 'HDC 2U1 Wiremap' H.dc.2u1.tdchits 107 0.5 107.5
TH1F hdc2v1_wm 'HDC 2V1 Wiremap' H.dc.2v1.tdchits 107 0.5 107.5
TH1F hdc2y2_wm 'HDC 2Y2 Wiremap' H.dc.2y2.tdchits 52 0.5 52.5
TH1F hdc2x2_wm 'HDC 2X2 Wiremap' H.dc.2x2.tdchits 113 0.5 113.5
#
TH1F ddist_hdc1x1 'HDC 1X1 Drift Dis' H.dc.1x1.dist 30 -0.1 0.6
TH1F ddist_hdc1y1 'HDC 1Y1 Drift Dis' H.dc.1y1.dist 30 -0.1 0.6
TH1F ddist_hdc1u1 'HDC 1U1 Drift Dis' H.dc.1u1.dist 30 -0.1 0.6
TH1F ddist_hdc1v1 'HDC 1V1 Drift Dis' H.dc.1v1.dist 30 -0.1 0.6
TH1F ddist_hdc1y2 'HDC 1Y2 Drift Dis' H.dc.1y2.dist 30 -0.1 0.6
TH1F ddist_hdc1x2 'HDC 1X2 Drift Dis' H.dc.1x2.dist 30 -0.1 0.6
TH1F ddist_hdc2x1 'HDC 2X1 Drift Dis' H.dc.2x1.dist 30 -0.1 0.6
TH1F ddist_hdc2y1 'HDC 2Y1 Drift Dis' H.dc.2y1.dist 30 -0.1 0.6
TH1F ddist_hdc2u1 'HDC 2U1 Drift Dis' H.dc.2u1.dist 30 -0.1 0.6
TH1F ddist_hdc2v1 'HDC 2V1 Drift Dis' H.dc.2v1.dist 30 -0.1 0.6
TH1F ddist_hdc2y2 'HDC 2Y2 Drift Dis' H.dc.2y2.dist 30 -0.1 0.6
TH1F ddist_hdc2x2 'HDC 2X2 Drift Dis' H.dc.2x2.dist 30 -0.1 0.6
#
TH1F dtime_hdc1x1 'HDC 1X1 Drift Time' H.dc.1x1.time 200 -100 300
TH1F dtime_hdc1y1 'HDC 1Y1 Drift Time' H.dc.1y1.time 200 -100 300
TH1F dtime_hdc1u1 'HDC 1U1 Drift Time' H.dc.1u1.time 200 -100 300
TH1F dtime_hdc1v1 'HDC 1V1 Drift Time' H.dc.1v1.time 200 -100 300
TH1F dtime_hdc1y2 'HDC 1Y2 Drift Time' H.dc.1y2.time 200 -100 300
TH1F dtime_hdc1x2 'HDC 1X2 Drift Time' H.dc.1x2.time 200 -100 300
TH1F dtime_hdc2x1 'HDC 2X1 Drift Time' H.dc.2x1.time 200 -100 300
TH1F dtime_hdc2y1 'HDC 2Y1 Drift Time' H.dc.2y1.time 200 -100 300
TH1F dtime_hdc2u1 'HDC 2U1 Drift Time' H.dc.2u1.time 200 -100 300
TH1F dtime_hdc2v1 'HDC 2V1 Drift Time' H.dc.2v1.time 200 -100 300
TH1F dtime_hdc2y2 'HDC 2Y2 Drift Time' H.dc.2y2.time 200 -100 300
TH1F dtime_hdc2x2 'HDC 2X2 Drift Time' H.dc.2x2.time 200 -100 300
# Beam related ADC channels. eg. raster
TH1F frx_raw_adc 'Raster X Raw ADC' RB.raster.frx_raw_adc 1200 3200 4400
TH1F fry_raw_adc 'Raster Y Raw ADC' RB.raster.fry_raw_adc 1200 3200 4400
TH1F frx_adc 'Raster X ADC' RB.raster.frx_adc 1000 -500 500
TH1F fry_adc 'Raster Y ADC' RB.raster.fry_adc 1000 -500 500
TH1F frx 'Raster X Position' RB.raster.frx 100 -0.5 0.5
TH1F fry 'Raster Y Position' RB.raster.fry 100 -0.5 0.5
# Scaler variables
variable HSS1
variable HSS1r
variable HShPRE50
variable HShPRE50r
variable HSS2X
variable HSS2Xr
variable HShPRE150
variable HShPRE150r
variable HSS1X
variable HSS1Xr
variable HSS2Y
variable HSS2Yr
variable HShPRE100
variable HShPRE100r
variable HSS1Y
variable HSS1Yr
variable HSS2
variable HSS2r
variable HShCERHI
variable HShCERHIr
variable HShSTOF
variable HShSTOFr
variable HShSCIN
variable HShSCINr
variable HShELREAL
variable HShELREALr
variable HShPIPRE
variable HShPIPREr
variable HShELCLEAN
variable HShELCLEANr
variable HShPRETRG
variable HShPRETRGr
variable HShPION
variable HShPIONr
variable HShCER
variable HShCERr
variable HShPIONHI
variable HShPIONHIr
variable HShPRE200
variable HShPRE200r
variable HShUNSER
variable HShUNSERr
variable HShBCM1
variable HShBCM1r
variable HShBCM2
variable HShBCM2r
variable HShELHI
variable HShELHIr
variable HShELLO
variable HShELLOr
variable HShPRHI
variable HShPRHIr
variable HShPRLO
variable HShPRLOr
variable HShSHLO
variable HShSHLOr
variable HShCLOCK
variable HShCLOCKr
variable HShBEAMGATES
variable HShBEAMGATESr
variable HShADCGATES
variable HShADCGATESr
variable HShS1X
variable HShS1Xr
variable HShS1Y
variable HShS1Yr
variable HShS2X
variable HShS2Xr
variable HShS2Y
variable HShS2Yr
variable HShS1
variable HShS1r
variable HShS2
variable HShS2r
variable HSHMSPRE
variable HSHMSPREr
variable HSCOINPRE
variable HSCOINPREr
variable HSPEDPRE
variable HSPEDPREr
variable HSHMSTRG
variable HSHMSTRGr
variable HSCOINTRG
variable HSCOINTRGr
variable HSPEDTRG
variable HSPEDTRGr
variable HSsPRE50
variable HSsPRE50r
variable HSsPRE150
variable HSsPRE150r
variable HSsPRE100
variable HSsPRE100r
variable HSsPRE200
variable HSsPRE200r
variable HSsSTOF
variable HSsSTOFr
variable HSsSCIN
variable HSsSCINr
variable HSsELREAL
variable HSsELREALr
variable HSsPIPRE
variable HSsPIPREr
variable HSsELCLEAN
variable HSsELCLEANr
variable HSsPRETRG
variable HSsPRETRGr
variable HSsBCM1
variable HSsBCM1r
variable HSsBCM2
variable HSsBCM2r
variable HSsCLOCK
variable HSsCLOCKr
variable HSsPION
variable HSsPIONr
variable HSsCER
variable HSsCERr
variable HSsELHI
variable HSsELHIr
variable HSsELLO
variable HSsELLOr
variable HSsPRHI
variable HSsPRHIr
variable HSsPRLO
variable HSsPRLOr
variable HSsSHLO
variable HSsSHLOr
variable HSsADCGATES
variable HSsADCGATESr
variable HSsS1X
variable HSsS1Xr
variable HSsS1Y
variable HSsS1Yr
variable HSsS2X
variable HSsS2Xr
variable HSsS2Y
variable HSsS2Yr
variable HSsS1
variable HSsS1r
variable HSsS2
variable HSsS2r
variable HSSOSPRE
variable HSSOSPREr
variable HSSOSTRG
variable HSSOSTRGr
variable HShUNUSED4
variable HShUNUSED4r
variable HShUNUSED5
variable HShUNUSED5r
variable HSSHODO9
variable HSSHODO9r
variable HSSHODO11
variable HSSHODO11r
variable HSSHODO13
variable HSSHODO13r
variable HSSHODO15
variable HSSHODO15r