BeamEvent.fcl
Go to the documentation of this file.
1 BEGIN_PROLOG
2 
3 proto_beamevent:
4 {
5  module_type: "BeamEvent"
6  URLStr: "https://ifb-data.fnal.gov:8104/ifbeam"
7 # URLStr: "http://ifb-data.fnal.gov:8190/ifbeam"
8  BFEpsilon: 6.
9  XCETEpsilon: 6.
10  XCETFetchShift: -5.
11  FillCacheUp: 5.
12  FillCacheDown: 10.
13  IFBeamDebug: 0
14  OutputLabel: "BeamEvent"
15 
16  PrintDebug: "false"
17 
18  NRetries: 5
19  TimeWindow: 120 # width of time window in seconds
20  BundleName: "DUNE_CERN_SEP2018"
21  XCETBundleName: "DUNE_CERN_SEP2018_TIMBER"
22 
23  ##########################
24  #Warning: Only for testing
25  #
26  # Any items in Multiple or
27  # nonzero Fixed time
28  # Tells the code to override
29  # the event time and grab
30  # from the database with
31  # these specific times
32  ##########################
33  MultipleTimes: []
34  FixedTime: 0.
35 
36  Coordinates: []
37  Dimension: [["XBPF022697",1],
38  ["XBPF022698",1],
39  ["XBPF022701",1],
40  ["XBPF022702",1],
41  ["XBPF022707",1],
42  ["XBPF022708",1],
43  ["XBPF022716",1],
44  ["XBPF022717",1]]
45 
46  XBPFPrefix: "dip/acc/NORTH/NP04/BI/XBPF/"
47  XTOFPrefix: "dip/acc/NORTH/NP04/BI/XTOF/"
48  XCETPrefix: "dip/acc/NORTH/NP04/BI/XCET/"
49 
50 
51  TOF1: "XBTF022687"
52  TOF2: "XBTF022716"
53 
54 
55  ####Calibrations for TOFs#####
56  TOFCalAA: 60.1630598 #155.479 - 95.3159402
57  TOFCalAB: 59.7480598 #155.064 - 95.3159402
58  TOFCalBA: 60.0430598 #155.359 - 95.3159402
59  TOFCalBB: 59.6540598 #154.970 - 95.3159402
60  #############################
61 
62  CKov1: "XCET022713"
63  CKov2: "XCET022716"
64  XCET1: "timber/XBH4/XTDC/022/713"
65  XCET2: "timber/XBH4/XTDC/022/716"
66 
67  XCETDebug: "false"
68 
69  DeviceTypes: [["XBPF022697","horiz"],
70  ["XBPF022698","vert"],
71  ["XBPF022701","horiz"],
72  ["XBPF022702","horiz"],
73  ["XBPF022707","horiz"],
74  ["XBPF022708","vert"],
75  ["XBPF022716","horiz"],
76  ["XBPF022717","vert"]]
77 
78 
79  Devices: ["XBPF022697",
80  "XBPF022698",
81  "XBPF022701",
82  "XBPF022702",
83  "XBPF022707",
84  "XBPF022708",
85  "XBPF022716",
86  "XBPF022717"]
87 
88 
89  #For tracking###################
90  FirstUpstream: "XBPF022707"
91  SecondUpstream: "XBPF022708"
92  FirstDownstream: "XBPF022716"
93  SecondDownstream: "XBPF022717"
94  ################################
95 
96  #For Momentum Spectrometry######
97  FirstBPROF1: "XBPF022697"
98  SecondBPROF1: "XBPF022698"
99  BPROF2: "XBPF022701"
100  BPROF3: "XBPF022702"
101  #Nominal beam bend (mrad)
102  BeamBend: .12003
103 
104  L1: 1.980
105  L2: 1.69472
106  L3: 2.11666
107 
108  ##Calibrated Positions##
109  BProf1Shift: 0.
110  BProf2Shift: 0.
111  BProf3Shift: 1.45
112  ################################
113 
114 
115  #Angles originally used - taken from Leigh's MC module
116  #RotateMonitorXZ: -10.3
117  #RotateMonitorYZ: 11.7
118 
119  ###Angles taken from Paola (actual direction of beamline)
120  #RotateMonitorXZ: 15.676709377408265
121  RotateMonitorYX: 227.18669653445150
122 
123  ###New rotations - same final z axis as those
124  ###from Paola, but the X axis is kept horizontal
125  RotateMonitorYZ: 11.4328
126  RotateMonitorXZ: -10.7985
127 
128 # Position of beam monitor in z in [mm]
129  #FirstTrackingProfZ: 707479
130  #SecondTrackingProfZ: 716048
131  #NP04FrontZ: 717243
132  ####From beatch file:
133  FirstTrackingProfZ: 707555
134  SecondTrackingProfZ: 716124
135  NP04FrontZ: 717243
136  ########################
137 
138 # Position of Beam in [cm]
139  #BeamX: 8.0757
140  #BeamY: 461.06
141  #BeamZ: -196.11
142  ##New from Martin:
143  BeamX: -4.994
144  BeamY: 448.449
145  BeamZ: -129.804
146 
147 # Current TAI Offset in [sec]
148  OffsetTAI: 37
149 
150 # CTB/Timing Timestamp offset
151 # Searching Offset + Tolerance <= diff >= Offset - Tolerance
152  OffsetCTBtoRDTS: 23
153  ToleranceCTBtoRDTS: 2
154 
155 # Timing Offset [sec]
156 # HLT - GenTrig - (PDTS_spill - BI_spill)
157 # TimingCalibration: -0.09515150
158  TimingCalibration: -0.095151040
159  CalibrationTolerance: 1.e-6
160 
161  S11DiffUpper: -.55e-6
162  S11DiffLower: -.75e-6
163 
164  RDTSToS11Upper: 500000.e-9
165  RDTSToS11Lower: -500000.e-9
166 
167 #Should we grab from the folders each time?
168  ForceNewFetch: "false"
169 
170 #Should we force matching with S11? (just for testing)
171  ForceMatchS11: "false"
172 
173 #Do we want to match in time between
174 #beamline and tpc?
175  MatchTime: "true"
176 
177 #Option to get info from database
178 #even if we don't have a good
179 #trigger from the BI to CTB
180 #or if we are getting invalid Spill Times
181  ForceRead: "false"
182 
183  SaveOutTree: "false"
184  DebugTOFs: "false"
185  DebugMomentum: "false"
186 
187 #Tolerance for matching between Downstream scintillator modules
188 #and coincidence signal (GeneralTrigger)
189 #units of ns
190  DownstreamToGenTrig: 50.
191 
192 #Tolerance for matching between Upstream and Downstream scintillator modules
193 #units of ns
194  UpstreamToDownstream: 500.
195 
196 }
197 
198 END_PROLOG