offline analysis of h4 beam line instrumentation data
play

Offline Analysis of H4 Beam Line Instrumentation Data Alexander - PowerPoint PPT Presentation

Offline Analysis of H4 Beam Line Instrumentation Data Alexander Booth for N. Charitonidis, Y. Karyotakis, E. Nowak, M. Rosenthal, I. Ruiz, P . Sala Beam Instrumentation Group Meeting. December 6th, 2018 1 Overview O ffl ine event tree.


  1. Offline Analysis of H4 Beam Line Instrumentation Data Alexander Booth for N. Charitonidis, Y. Karyotakis, E. Nowak, M. Rosenthal, I. Ruiz, P . Sala Beam Instrumentation Group Meeting. December 6th, 2018 1

  2. Overview • O ffl ine event tree. ‣ Tool, raw beam line data —> match instrumentation event-wise to general trigger. ‣ ROOT file for easy analysis. • Beam profile monitor (XBPF) performance. ‣ Hit multiplicities. ‣ Multiple and single hit e ffi ciencies. • Momentum reconstruction analysis. ‣ Correction to relative position XBPF . 2

  3. Offline Event Tree 3

  4. What is the Event Tree 4 • Tool to make event-by-event analysis of all beam line instrumentation more straightforward. • C++ code, matches in time 34 variables by spill —> then by event. • Done by defining a search window around general trigger. • Identify the same event passing through all detectors . • Each tree entry <-> 1 event (general trigger). ‣ Event level variables: e.g. Time of flight, reconstructed momentum, etc. ‣ Associated spill level variables: e.g. Cherenkov pressures, collimator positions, etc. • Assigned ‘event rank,’ golden, silver. Key component , size of search window. Back of envelop guess -> 500 ns.

  5. Timing Tolerance with General Trigger 5 XBPF702 (Triggered) XBTF687A (Not triggered) Number of XBPF Events Matched with a Single General Trigger vs. Tolerance, 1GeV Number of XBPF Events Matched with a Single General Trigger vs. Tolerance, 1GeV Number of XBTF Events Matched with a Single General Trigger vs. Tolerance, 1GeV Number of XBTF Events Matched with a Single General Trigger vs. Tolerance, 1GeV 4.5 4.5 Events Matched Events Matched 4 4 10 10 Select 0 at 500ns: 4.52% Select 0 at 1000ns: 4.52% Select 0 at 500ns: 41% Select 0 at 1000ns: 41% 4 4 Select 1 at 500ns: 95.48% Select 1 at 1000ns: 95.48% Select 1 at 500ns: 58% Select 1 at 1000ns: 58% 3.5 3.5 Select 2 at 500ns: 0.00% Select 2 at 1000ns: 0.00% Select 2 at 500ns: 1% Select 2 at 1000ns: 1% 3 3 3 3 10 10 2.5 2.5 1 GeV: ~120 triggers / spill 1 GeV: ~120 triggers / spill 2 2 2 2 10 10 1.5 1.5 1 1 10 10 0.5 0.5 0 0 0.5 0.5 − − 1 1 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Tolerance, (ns) Tolerance, (ns) Number of XBPF Events Matched with a Single General Trigger vs. Tolerance, 6GeV Number of XBPF Events Matched with a Single General Trigger vs. Tolerance, 6GeV Number of XBTF Events Matched with a Single General Trigger vs. Tolerance, 6GeV Number of XBTF Events Matched with a Single General Trigger vs. Tolerance, 6GeV 4.5 4.5 Events Matched Events Matched Select 0 at 500ns: 4.34% Select 0 at 1000ns: 4.34% Select 0 at 500ns: 36% Select 0 at 1000ns: 36% 4 4 4 10 4 10 Select 1 at 500ns: 95.64% Select 1 at 1000ns: 95.64% Select 1 at 500ns: 63% Select 1 at 1000ns: 63% 3.5 3.5 Select 2 at 500ns: 0.01% Select 2 at 1000ns: 0.01% Select 2 at 500ns: 1% Select 2 at 1000ns: 1% 3 3 3 3 10 10 2.5 2.5 2 2 2 2 10 10 1.5 1.5 6 GeV: ~200 triggers / spill 6 GeV: ~200 triggers / spill 1 1 10 10 0.5 0.5 0 0 0.5 − 0.5 1 − 1 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Tolerance, (ns) Tolerance, (ns) 500 ns was a good choice! Don’t loose events, don’t double count.

  6. Beam Profile Monitor Efficiencies 6

  7. XBPF E ffi ciencies 7 Profile Monitor Efficiency Profile Monitor Efficiency 100 Efficiency, (%) 99 23 hours of data at various 98 energies. 97 96 95 E ffi ciency = # triggered events 94 with at least 1 channel hit / 93 total number of general triggers 92 91 90 XBPF697 XBPF698 XBPF701 XBPF702 XBPF707 XBPF708 XBPF716 XBPF717 Monitor Measured XBPF e ffi ciency > 95.5 % for all momenta.

  8. Multiple hits / Triggered Event 8 Multiplicity - Good Particles Events 0.9 XBPF697 0.8 XBPF698 XBPF701 XBPF702 0.7 XBPF707 Contains all triggered XBPF708 0.6 XBPF716 events with 5 or more XBPF717 0.5 hits. 0.4 0.3 0.2 0.1 0 0 1 2 3 4 5 6 Hits Profile Monitor Efficiency, Single Hit Profile Monitor Efficiency, Single Hit Efficiency, (%) 94 92 90 E ffi ciency = # triggered events 88 86 with only 1 channel hit / total 84 number of general triggers 82 80 78 76 XBPF697 XBPF698 XBPF701 XBPF702 XBPF707 XBPF708 XBPF716 XBPF717 Monitor

  9. Spill Shape 9 Can use time between any XBPF event in spill and first XBPF event in spill to see time profile of spill. XBPF022701 XBPF022701 XBPF022701 XBPF022701 Triggers Triggers 0.016 0.014 0.014 0.012 0.012 0.01 0.01 0.008 0.008 0.006 0.006 1 GeV 3 GeV 0.004 0.004 0.002 0.002 6 6 × 10 × 10 0 0 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Trigger Time Elapsed Since First Trigger, (ns) Trigger Time Elapsed Since First Trigger, (ns) XBPF022701 XBPF022701 Triggers 0.014 0.012 0.01 Pretty homogenous spill structure 0.008 during extraction, as expected. 7 GeV 0.006 0.004 0.002 6 × 10 0 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Trigger Time Elapsed Since First Trigger, (ns)

  10. Momentum Spectrometer 10

  11. Momentum Reconstruction 11 • Technique to reconstruct momentum int this way described in CERN note: CERN-ACC- NOTE-2016-0052 . • Based on using known value of magnetic field. • These magnets used for many years at CERN. Magnetic field and BL -> I is known well. Taken from online monitoring. Reconstructed momentum 6.8 GeV compared to 7 GeV. Small inconsistency ( < 5% ) and behaviour systematic at all energies —> transverse misalignment of fibre planes, one with respect to another. Similar problems and inconsistencies with this method see in past. (Nikos for details). Still being investigated.

  12. Quantifying Misalignment 12 Marcel showed in MC that misalignment must be ~O(few mm). 1) Take raw data at various momenta. 2) Rerun momentum calculation with XBPF702 at various x positions, (+/- 2 mm every 0.1 mm around nominal). 3) Fit gaussian to momentum distributions. Momentum Fit, Target 6 GeV. Mean Target P, 6 GeV. At y = 0, Deviation = -1.445348 +/- 0.002700 mm Mean Target P, 6 GeV. At y = 0, Deviation = -1.445348 +/- 0.002700 mm Events Calculated Momentum, (GeV) 1600 6.1 1400 6 1200 5.9 1000 5.8 800 5.7 600 5.6 400 5.5 200 5.4 0 0 1 2 3 4 5 6 7 8 9 10 2 1.5 1 0.5 0 0.5 1 1.5 2 − − − − Reconstructed Momentum, (GeV) x Deviation of PROF3, (mm) 4) Plot mean of fits against corresponding deviation from nominal, make a linear fit. 5) Use fit line to calculate deviation that gives expect value of reconstructed momentum,

  13. Quantifying Misalignment 13 Take the mean and standard deviation of these ‘best fit’ deviations. Mean Value: -1.452046 +/- 0.182519 mm. Mean Value: -1.452046 +/- 0.182519 mm. Mean Value: -1.452046 +/- 0.182519 mm. Mean Value: -1.452046 +/- 0.182519 mm. x Deviation of PROF3, (mm) 3 1.1 − 2.5 1.2 − − 1.3 2 − 1.4 1.5 − 1.5 − 1.6 1 − 1.7 0.5 − 1.8 0 1 2 3 4 5 6 7 1.8 1.7 1.6 1.5 1.4 1.3 1.2 − − − − − − − Target Momentum, (GeV) x Deviation of PROF3, (mm) ‘Best fit’ across range of Momenta: -1.45 +/- 0.18 mm

  14. Summary 14 • Code to produce an o ff -line ‘event tree’ has been written. 1 entry <-> 1 general trigger. • Written to ROOT file, making event-by-event analysis more straightforward. • Chosen a good window (500 ns) around general trigger to look for events in BI. Will rerun analyses with 1000 ns, check for stability. • Beam profiler (XBPF) e ffi ciencies are as expected. Spill shape stable across various momenta. • Systematically low reconstructed momenta can be account for with a 1.45 mm shift of 3rd profiler. Put all data / results in EOS for use in momentum reconstruction and other ProtoDUNE o ffl ine. Create these event trees for the data set of good runs? Per event record for the FNAL database, TPC timestamp, momentum, PID, quality flag etc.

  15. Backup Slides 15

  16. More of whats in the Tree I 16 Pick out ‘golden events’. To be worked on but for now, a rank 1 event is an event with a single hit in each of the XBPFs used for the momentum spectrometry and a unique time of flight matching to the general trigger. For each event you can look at the spill level vars, for example what was the pressure in the Cherenkov’s when the data was taken, or what is the spill time of the spill the event is associated with. 1 entry = 1 event Matched TDC times to general trigger (both XTOFs and XCETs). Frac is still there (although in nanoseconds) as 64 bit int is taken up entirely by the ns piece. If you want to use the frac accuracy you just add TimestampNS and TimestampFracAccuracy, but have to worry about what data type you do this calculation with. For user to decide. TOF Channel of the event as string, eg AA, BA etc.

  17. More of whats in the Tree II 17 TOF using full accuracy Was a signal from each Cherenkov matched with the general trigger for the event. Important information for all the XBPFs, e.g. how many fibres were hit, if multiple, what was the distance between them? Human readable coordinates, not channel number. Momenta for all possible combinations of hit channels.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend