Project

General

Profile

Pion LT Software Meetings » History » Version 35

Stephen Kay, 07/19/2021 09:34 PM

1 1 Stephen Kay
{{>TOC}}
2
3
h1. Pion LT Software Meetings
4
5
Pion LT software meetings. Please add your talk to the meeting ahead of time. Add the newest meeting to the top of the list!
6 30 Stephen Kay
7 35 Stephen Kay
----
8
9
h2. 2021.07.19 PionLT Software Meeting
10
11
* Jacob
12
** Updates on Heep analysis, added in run prefix to script
13
** NGC calibration script, added in variables to replay
14
** Some minor issues with HGC script to resolve
15
** Raised topic of how online files will be named/organised for calibrations
16
* Junaid
17
** Pion analysis script working, plotting using python working ok too
18
** Need to make one "master" script for shift workers to run that processes replay and analysis for latest runs
19
*** Fill run list too?
20
* Ali
21
** Proposed removing summary file, just produce the report file output
22
** Structure looks ok, a few minor tweaks left
23
** Need a script to pull info into run list as needed, should be fine based on recent script Ali made?
24 33 Stephen Kay
25
----
26
27
h2. 2021.06.30 PionLT Software Meeting
28
29
* SIMC Rate Work
30
** Nathan - progressing well, hopefully done by next week
31
** Jacob
32
*** Accidentally duplicated (in terms of output/purpose) Nathan's script - good for cross checking anyway
33
*** Some minor fixes needed
34
*** Lots of rates ending up 0 - Detector arms not labelled correctly in some input files
35
*** Reminder to check target thickness in the input file carefully - should be 10cm!
36
* Online Software update
37
** "Stephen's slides":https://redmine.jlab.org/attachments/download/1237/Pion_Planning_30_06_21.pdf
38
** "Task allocations":https://redmine.jlab.org/attachments/download/1238/Allocations.png
39 34 Stephen Kay
** Contact Stephen if anything unclear or you just want to discuss ideas for your task
40
** Focus will shift to this from next week once rates finalised
41
* Garth will start to write the shift worker instructions soon
42
* Vijay's slides for Hall A/C meeting
43
** Suggestions and comments given
44
** Will circulate draft by next Monday for comments
45 33 Stephen Kay
46 30 Stephen Kay
----
47
48
h2. 2021.05.10 PionLT Software Meeting
49
50
* HeeP Updates
51
** Nathan
52
*** Errors in calculation, Jacob spotted, factor 50 out. Corrected now, some settings no longer viable, some now potentially more doable
53
*** Acceptance difference in code between Nathan/Jacob noted, 3.5 vs 4 for the HMS
54
*** Updated settings sent to Garth
55
** Jacob 
56
*** Settings sent to Garth, some overlap with Junaid
57
** Junaid 
58
*** Settings sent to Garth
59
** Should hopefully have a set of preliminary settings next week from combination of all three sent on to Garth
60
* Software Updates
61
** Stephen
62
*** Calorimeter calibration code updates from Bill Henry being worked in, HMS working, SHMS has some issues
63
*** Will update github structure for KaonLT once calorimeter calib updates finalised
64
** Nathan
65
*** Hodoscope calibration script updates, SHMS looking OK **except** for 2y+ plane
66
*** Something odd going on, will investigate further, does tree actually have any entries?
67
*** Observed that chi2 fit value on plot isn't actually very useful currently, maybe remove
68
*** HMS calibration proving problematic, some plots nearly empty, why?
69
*** Will look into this, try and figure out what is going wrong, could just be a plot range issue?
70 32 Stephen Kay
*** "Hodoscope Calibrations Update Slides":https://redmine.jlab.org/attachments/download/1228/HodoCalibUpdate20210510.pdf
71 30 Stephen Kay
** Upcoming software tasks discussed
72
*** Analysis software **mostly** in good shape
73
*** Heep analysis scripts need updating/checking -> Jacob volunteered to take a look
74
*** Timing window scripts not finalised, lots of different bits of code which need combining -> Nathan volunteered to take a look
75
*** Need to do next replay with EDTM events included for Carlos
76
*** Helicity scalers only important for Pion runs
77
* Noticed only one more meeting actually scheduled - Need to discuss future meeting time next week?
78
79
----
80
81
h2. 2021.05.03 PionLT Software Meeting
82
83
* Junaid, Heep discussion
84
** Has multiple settings at 12.35 degrees across all beam energies
85
** Question on offsets -> Get offsets mainly from Coin settings
86
*** Get cross section info from singles
87
* Nathan, Hodoscope updates
88
** Run OK interactively
89
*** Some issues running on farm
90
** Fixed some issues seen with calibration previously, plot ranges e.t.c.
91
** Nearly ready for pass 2
92
* Ali, report file update
93
** All new, made from scratch
94
** Working on incorporating new info into DEF-CUTS files
95
96 29 Stephen Kay
----
97 17 Stephen Kay
98 29 Stephen Kay
h2. 2021.04.26 PionLT Software Meeting
99
100
* Nathan, Heep discussion
101
** SHMS can match HMS settings OK
102
** No less than 2 degrees between different singles settings ideally, had some settings closer than this, check delta, is it within pm 8%?
103
*** Can probably overlap many existing (close in angle) settings with 1 new setting
104
*** Acceptance covers many settings with adequate stats
105
** Need to incorporate some runs with the same angle, but at multiple beam energies
106
* Jacob, processing various settings too
107
* To come from Junaid/Jacob/Nathan - One sheet of proposed settings for each beam energy, Garth will compile
108
* Jacob confirmed new matrix elements for HMS are **only** for 7.59 GeV/c
109
110 17 Stephen Kay
----
111
112 24 Nathan Heinrich
h2. 2021.04.19 PionLT Software Meeting
113
114
* Nathan Presented his Selections for Heep data
115 32 Stephen Kay
** "Heep Settings Spreadheet":https://redmine.jlab.org/attachments/download/1226/PionLT_Elasitics_Selection_Nathan.ods
116
** "Heep Settings pdf":https://redmine.jlab.org/attachments/download/1227/Nathan_PionLT_Heep_selection_2021.pdf
117 28 Stephen Kay
** Indicated chosen settings include timings for minimum stats goals
118
** HeeP singles, two spect at some angle/P on one or two settings would be desirable
119
** HeeP delta scan can be done two ways, should ideally do both
120
*** Vary angle
121
*** Vary field
122
** Question from Casey - Current variation for a Heep setting? Would be nice if we can fit it in
123
* Stephen showed and discussed new RFtime hcana class and new MM calculations added to THcSecondaryKine
124
** Both in and working, MM calculation still be tested a little
125
** Pushed to JLab repo
126
* Discussion of remote counting house, still going ahead?
127
** Info given from Brad, but not progressed much further yet (due to financial constraints fitting it into the previous FY)
128
** Garth going to inquire further
129 24 Nathan Heinrich
130
----
131
132 23 Stephen Kay
h2. 2021.04.12 PionLT Software Meeting
133
134
* Discussed HeeP studies further, including event requirements
135
** Clarified that 10k events is the lower limit for singles
136
** 50k events for coin runs
137
* Need to tweak all DEF-cuts files, want *All Events*, can cut out EDTM manually after as needed
138
** Carlos wants to use EDTM events so can't remove them
139
** Ali will need to tweak some cuts accordingly to include a removal of the EDTM events
140
* Stephen highlighted that HeeP physics analysis scripts are in major need of a refresh
141
** Still using old TProof based method, should switch to Python
142
** Need more robust file checking/finding in script too
143
* Garth highlighted that Peter Bosted had made it very clear that the Physics settings where the current was varied were *incredibly* useful
144
** Want to try working some runs like this into the upcoming run plan
145
** Allow us to check FADC efficiencies as fn of rate/current
146
147
----
148
149
h2. 2021.04.05 PionLT Software Meeting
150
151
* I (Stephen) wasn't there so some minutes would be nice!
152
153
----
154
155
h2. 2021.03.29 PionLT Software Meeting
156
157
* Jacob updated on HeeP studies
158
** Fixed rate issues seen previously
159
** Still seeing odd results, can't reconstruct earlier rates
160
*** Factor ~10 out, probably some odd units?
161
* Carlos clarified issues Stephen was having with new Helicity stuff in the replay
162
* Vijay suggested switching to Etottracknorm in some Physics analysis (and including it in the DEF-files)
163
** Should definitely be kept, doesn't make a huge difference for low level analysis though
164
*** Working this into scripts will take a little bit of work, can update it as we go along
165
** Also including Aero X/Y  in all DEF-files now too
166
167
----
168
169 21 Stephen Kay
h2. 2021.03.22 PionLT Software Meeting
170
171
* Casey reported that he had managed to get hcana to compile with root 6.18.00
172
** Stephen mentioned he'd had some conflicts with 6.18.04 - will test 6.18.00 too
173
* Jacob seeing some replayed files with streamer info missing errors
174
** Stephen mentions this is likely just an incomplete or failed replay, if it keeps happening though more info will be needed
175
* Casey reported on some more updates to his timing window scripts
176
** Now work with HMS windows too
177
** Mentioned that Bill Henry is looking at some potentially useful pulse amp plots, useful for other detectors
178
** Pulse int vs timing windows for different detectors and other plots
179
* Stephen gave an overview of upcoming software tasks
180
** Big item on the near horizon is the upcoming second replay of the kaon data, not independent of the pion software work!
181
*** Need updated report files, new efficiencies in the file, new information in the file
182
*** DEF-Files still need updating and cleaning, what can we trim out?
183
*** Which trees do we actually need in each type of replay
184
*** Which types of events should we actually specify -> ALL_Events vs ALL_Events_No_EDTM issue Richard saw recently
185
*** Helicity scalers included now too
186
*** Want to cross check electronic live time multiple ways
187
** A point was raised that we should aim to verify selection cutting in the DEF files yields the same result as post processing the replays with the "same" cuts
188 22 Stephen Kay
** Carlos pointed out that we need to be sure to compare the *exact* same value in our report files and in our data
189 21 Stephen Kay
** Casey requested calibration replay and shell scripts
190
*** Stephen forwarded these on
191
** SHMS Calibration code was not in latest hallc_replay repository
192
*** Casey mentioned Bill Henry hasn't merged it yet, some work is apparently still on going
193
*** Casey is going to follow up on this with Bill as he had some other items to discuss with him too
194
** SIMC comparisons were raised
195
*** Not quite there yet in our analysis, will be coming very soon (within next month or two) though
196
*** Garth mentioned he has a slightly different SIMC branch with different generators available
197
** Need to make sure updates to kaon analysis feed into the pion analysis and vice versa
198
* Garth showed and discussed the latest beam schedule
199
** Long beamtime for PionLT this year
200
** Final part of experiment actually expected to run next year (2022)
201
** Going to be a busy year or two!
202
203
----
204
205 19 Stephen Kay
h2. 2021.03.15 PionLT Software Meeting
206
207
* Replay and Python script running discussion
208
** Git changes, new branch for hallc_replay_lt/UTIL_PION/UTIL_BATCH - _offline_pionlt_
209
*** Need to modify repo setup script, some issues if branch doesn't exist
210
*** Will add instructions on how to get and update new branch
211
*** Will also modify so it automatically checks if the branch exists and gets it if not
212
** Pathing changes for c-pionlt and directory structure now all done, working well
213
** Some issues with replay scripts, both related to hcana updates
214
*** How the pcal_geom file is read in has been changed, variable needs to be VAL, VAL and not VAL VAL (comma instead of space) now
215
*** Helicity stuff no longer working, needed to be commented out for scripts to run
216
*** Carlos mentioned there's a new map for this, will need to update from hallc_replay
217
** Garth raised that Brad was potentially working on an improved GUI for checking online EDTM rates
218
*** Double check/follow up on this?
219
** Discussion of analysis scripts in more detail
220
*** How the MM is calculated, discussed adjusted values
221
*** How CT is calculated for each particle species
222
*** How RF time is utilised in PID
223 20 Stephen Kay
*** Vijay showed RF vs delta and RF vs MM plots and how these can be utilised in PID - "RFvDelta":https://redmine.jlab.org/attachments/download/1200/Kaon_RFtime_delta.pdf, "RFvMM":https://redmine.jlab.org/attachments/download/1201/Kaon_mm_FRtime.pdf, both with Kaon PID cuts applied
224 19 Stephen Kay
*** Stephen will send on some documentation on these topics to Jacob/Julie
225
** To do list for software
226
*** Update hallc_replat_lt with hallc_reply maps
227
*** Install new hcana in c_kaonlt area
228
*** Push all hallc_replay_lt fixes
229
*** Update git script, add instructions
230
231
----
232
233 18 Stephen Kay
h2. 2021.03.08 PionLT Software Meeting
234
235
* HeeP studies discussion
236
** Discussed minimal criteria for singles runs
237
*** No setting shorter than 12 minutes
238
*** No setting longer than one hour
239
*** No setting with less than 10k events
240
*** Want elastics rates of under 100 kHz
241
** Criteria/Discussion for coin runs
242
*** Want roughly 50k elastics
243
*** Multiple would be good
244
*** ~3 hours for one previous setting (at 50% data taking eff), this is OK
245
** Discussed solid angles for each spectrometer
246
*** HMS - 8 mSr, 8.1? 
247
*** SHMS - 3.5 mSr, Carlos states > 4 mSr in his thesis
248
** Both Nathan and Jacob had some spreadsheets with settings analysed, a few numbers did not match previous settings, both looking into this (probably a solid angle off or similar)
249
** Garth sent on Fortran code for cross sections
250
* Analysis Code Updates
251
** Stephen has finalised the pathing/directory structure updates for
252
*** hallc_replay_lt
253
*** UTIL_PION
254
*** UTIL_BATCH
255
** All have a new branch, *offline_pionlt*
256
** Further testing and updates needed, Stephen will work through updating the scripts for the calibrations now that the new structure is set up
257
*** Some are outdated now, DC, Hodoscopes e.t.c (grab wrong DB files to begin with)
258
* Numerous people reported that the farm was very slow over the weekend, if this continues, should raise with Brad/SciComp
259
260
----
261
262 17 Stephen Kay
h2. 2021.03.01 PionLT Software Meeting
263
264
* HeeP studies
265
** Students still working on this, Jacob looking at rate calculations
266
* Stephen - updates on new git and directory setup scripts
267
** Scripts in place but still some work on hallc_replay_lt and UTIL_BATCH needed
268
*** Issues with pathing that need to be corrected for new area
269
*** Should have these finalised by mid/late this week
270
** Jacob has tested and seems to be working OK
271
** Will work on updating/testing DC/Calorimeter calibration scripts next
272
* Jacob conducting sanity checks on new matrix elements, noticed discrepancy between kaonlt/pionlt hcana and previous versions, likely due to changes in hcana from April last year
273
** Mark gave some talk on this last year - "Talk1":https://hallcweb.jlab.org/DocDB/0010/001060/002/update_april2020.pdf , "Talk2":https://hallcweb.jlab.org/DocDB/0010/001055/001/HCANA_Hodo_changes_april2020.pdf, "Talk3":https://hallcweb.jlab.org/DocDB/0010/001056/001/April%202020%20HCANA%20changes%20for%20other%20detectors.pdf
274
* Meeting time discussed, remaining at 13:00 ET (which means it shifts to 11:00 Regina time)
275
 
276 16 Stephen Kay
----
277 1 Stephen Kay
278 16 Stephen Kay
h2. 2021.02.22 PionLT Software Meeting
279
280
* Updates from the group
281
** Garth
282
*** HeeP data discussion, one per beam energy
283
**** KaonLT and PionLT Phase I had nearly every beam energy setting
284
*** Updates about the new target config, phase II and III of PionLT likely going to have new target ladder
285
*** Thicker aluminium cans, CAD design done but not completely finalised, will know soon
286
*** KaonLT beamline will be used in 2021 run, new beamline for 2022 run
287
*** Start of run pushed back slightly, 2022 run will be May to December, PionLT might be slotted into parts of this
288
** Stephen
289
*** Demo2 script fixed, bug was slightly stupid, run not in range but the script did not report this
290
**** Will look at tweaks to kaonlt.py to fix this
291
*** New hcana installed in pionlt area, used root 6.14.04, scons issue with newer root (6.18.04)
292
*** Will create setup scripts for use in migrating over to this area for working
293
*** Minor issue with /cache/c-pionlt directory, permissions related
294
295
* Discussed plans and potential problems for upcoming run regarding COVID procedures, how many people can be on shift, how many people will travel and so on
296
* Will need to shift meeting time in a few weeks due to daylight savings time change for some people
297
298 1 Stephen Kay
----
299
300 14 Stephen Kay
h2. 2021.02.15 PionLT Software Meeting
301
302
* Updates from the group
303 15 Stephen Kay
** Carlos
304
*** Previously looked at optimisation of kinematics for HeeP data
305
*** Document on "DocDB":https://hallcweb.jlab.org/DocDB/0010/001036/002/HC_SoftwareMeeting_Oct03_2019_pdf.pdf
306
*** Will revisit this and try to make some notes on code
307
** Stephen
308
*** No major updates, resolved some issues with scripts Jacob/Junaid were having
309
*** /group/c-pionlt now exists, will try to install hcana here with a more up to date version of root
310
*** Garth mentioned some changes to farm software, cmake, singularity, Jupyter - shouldn't affect us much
311
** Nathan
312
*** Combing hodo script DBase files, will try and update, including batch scripts
313
** Jacob 
314
*** Sanity checks of running old scripts and comparing to new
315
*** Should be in place to combine in new matrix elements soon
316
** Junaid
317
*** demo1 being slow, file probably too large
318
*** Farm also being slow could be an issue
319
** Ali
320
*** Sym link hardcoding, switch location of outputting
321
322
* Idea of a directory setup script, something people can run and it will set up a tree of directories to save files to
323
** Can try making a version of this later this week, will need to modify output of lots of scripts!
324 14 Stephen Kay
325
----
326
327 10 Stephen Kay
h2. 2021.02.08 PionLT Software Meeting
328
329
* Updates from the group
330
** Stephen - Tried to replicate errors Jacob was having with Demo2, could not replicate issues and didn't see any script differences
331
*** May be a versioning issue, Stephen and Richard will investigate further
332
*** JLab environment/root version issue likely cause
333
** Jacob - Questions about the pionlt directories, all but the /group/c-pionlt one seem to be set up
334
*** Stephen following up with Brad on this
335
** Junaid - Some environment issues
336
*** Stephen will try to resolve later today
337
** Casey - Gave an update on his timing window scripts
338
*** https://github.com/mrcmor100/hallc_replay_XEM/tree/timing
339
*** Scripts look very nice, compare timing windows to existing ones and upload plots to network accessible location
340
*** Stephen will take a look at how they can be adapted for our coincidence running
341 13 Stephen Kay
* HeeP running discussion
342 12 Stephen Kay
** Minimum accessible spectrometer angles - SHMS 5.5, HMS 10.5, opening angle ??
343
** Want higher for HeeP running for practicality (no hall access e.t.c.)
344 10 Stephen Kay
345
----
346
347 3 Garth Huber
h2. 2021.02.01 PionLT Software Meeting
348 2 Stephen Kay
 
349
* Updates from the group
350
** Stephen - Cointime peak script updates and fixes
351
** Jacob - Issues with Demo2 cuts
352
*** Stephen thinks this may be due to lack of updating of the script after some changes Richard made, will investigate
353
** Nathan - Hodoscope script issues, tracked down to .database file. Investigating fixes
354
** Junaid - Software setup on Lark but python/root issues here, working on JLab account. Will investigate root compilation on Lark
355
*** Stephen raised that issue in getting root to compile isn't actually related to the python version used, other package/component causing issues
356
** Ali - Working on improving report files and def files
357
* "Casey Presentation":https://redmine.jlab.org/attachments/download/1175/pionLTgroup_presentation.pptx
358
** Discussion of process and software used by XEM experiment
359
** Nice reference time script in place, will exchange with Stephen/Richard and see what can be merged with each
360
** Structure and plan for analysis look similar to our own, will try to collaborate as much as possible on having a nice working set of software for online usage
361
** Raised point of online BCM/BPM monitoring
362
*** Dave mentioned it would be nice to track the stability of the BCM/BPMs over the run period, at least once per shift produce a plot/document checking this
363
*** Stephen added that this could also track the prescale factors (reported vs calculated)
364
*** Investigate idea of a once per shift script that checks last X runs and produces plots above
365
366
----
367 1 Stephen Kay
368 3 Garth Huber
h2. 2021.01.25 PionLT Preparation Meeting
369
370
* Garth Discussed run plan kinematics, purpose of Heep runs, and Luminosity scans
371
** Homework: students should look at distributed Heep kinematics and try to find some sets of singles (e') and coin (e'+p) runs which would overlap either in energy or angle with the physics kinematics, for the purpose of establishing angle and momentum offsets.
372
** Jacob also looked through Garth's physics kinematics spreadsheet, and did not find any additional errors, beyond the one GH had already identified.  That error turned out to be an error in the kinematics table in the Jeopardy (2019) proposal, and GH subsequently distributed a corrected spreadsheet.
373 4 Garth Huber
[[https://redmine.jlab.org/attachments/download/1176/pion_runplan_21jan26.ods]]
374 5 Garth Huber
[[https://redmine.jlab.org/attachments/download/1178/elas_9p900gev.out]]
375 6 Garth Huber
[[https://redmine.jlab.org/attachments/download/1179/elas_9p200gev.out]]
376 7 Garth Huber
[[https://redmine.jlab.org/attachments/download/1180/elas_8p000gev.out]]
377 8 Garth Huber
[[https://redmine.jlab.org/attachments/download/1182/elas_6p000gev.out]]
378 6 Garth Huber
379 9 Garth Huber
----
380
381 3 Garth Huber
h2. 2021.01.12 PionLT Software Meeting
382 1 Stephen Kay
 
383
* "Stephen Presentation":https://redmine.jlab.org/documents/122
384
** Discussion of analysis tasks and status as of 12/01/21. The non-annotated version of the notes is also available "here":https://redmine.jlab.org/documents/123
385
** Homework for next week is the following -
386
*** Setup and try the batch calibration scripts and the python analysis script demo
387 6 Garth Huber
*** For Stephen - Check with Brad regarding new area for files