51cf1f44659a87fb481af5976d1fc6ed.ppt
- Количество слайдов: 11
Detector DAQ Jean-Sebastien Graulich, Geneva o Achievements Since CM 27 o DAQ Upgrade o CAM/DAQ integration o Online Software o Trigger System upgrade o Schedule Milestones o Summary MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 1
Achievements since CM 27 u DAQ system has been upgraded n u Progress in DAQ/CAM integration n n u During user run in July DATE Status used by alarm handler CAM data ready to be included in the data stream Online Software n n Unpacking: Exception handling Online Monitoring debugging MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 2
DAQ System Upgrade u Happened in mid July n n n u Standard Online OS (Centos 5. 4) installed New version of DATE New set of PCs (miceacq 07, miceacq 08, miceraid 2 a) Problems Solved n n Standard system backup and restoration procedure Compatibility with James Software -> allowed talking with CAM Online Software repository Replacement of the faulty VME/PCI interface causing synchronisation problems All user files on miceacq 04, miceaq 06 and miceraid 1 a will disappear ! MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 3
DAQ System upgrade (2) u Problems Caused n n End of Run script don’t work -> automated move file for storage won’t work Alternatives exist All Online Reconstruction applications broken !!! l l u The data source was hardcoded The procedure to edit and recompile the code was not documented About ½ day of beam time lost but a lot of lessons taken from that crisis MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 4
CAM/DAQ integration (1) u DATE talks to EPICS n There is an EPICS Process Variable dedicated to DAQ status n DATE uses James’ library to write its status: TAKING_DATA, RUN_COMPLETE, IDLE or ERROR u Necessary for n Automatic filling of CDB n DAQ alarm handling (Pierrick Hanlet) DAQ alarms implemented so far: - Particle trigger mismatch (event building error - now very rare) - Particle trigger rate drops to 0 (ISIS trip) - Particle trigger rate larger than 150/spill (event too big for monitoring) u Drawback n Run Time Dependency DAQ won’t start if the DATE Status EPICS server is not running MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 5
CAM/DAQ integration (2) u EPICS talks to DAQ n u Necessary for n u DATE is able to read any EPICS Process Variable at the end of the spill and insert it in the data stream Access to Magnet currents in offline and online analysis Drawback n Unpacking backward compatibility in case (very likely) the list of variables changes Reminder: Configuration Database contains SET values (and some meta data) EPICS Archiver stores READ values but it is not synchronized with the Spill A subset of critical READ values, necessary for analysis, are included in the data file so that the analysis doesn’t require a connection to the CDB MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 6
FAQ u Why not getting the magnet currents from the CDB ? n u But the alarm handler checks that the currents are close enough to the set values n u Because the CDB contains the set value and you want to know the real field the particle has seen to reconstruct its trajectory We don’t know a priory if the alarm handler limits on those variables are valid What if I want to check that the read value is close enough to the set value ? n n Online, this is done by the alarm handler Offline, if you have doubt, you can connect to the CDB to get the set values and then loop over the spill to do your checks MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 7
Online Software u Bug fixed in Online Monitoring: u Data format exception (invalid event) n One f. ADC board (used by CKOV) is producing corrupted data header : event size information is wrong n n u Data unpacking was crashing Now, the spill is skipped TDC errors (unexpected word) n n u A damaged cable was causing a large number of hits in TDC 05 (used for KL tags) TDC overflow word in the data flow was not recognized by the unpacking -> error message Run transition n Online Monitoring GUI had to be deactivated at the end of each run, otherwise it was frozen and had to be restarted MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 8
Online Software (2) u Main open issues: u Online Monitoring should run from files n Using the very same analysis code ! n Also true for online reconstruction applications n n u File version of Online Monitoring is broken -> We can’t reproduce online plots ! Tracker DAQ and unpacking n u Up to now, we maintained two codes differing by only a few lines Code exists but is not compatible with the existing framework -> David Adey Unpacking of EPICS data n Nobody can use it if it’s not unpacked MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 9
Schedule Milestones u From CM 27 u CAM data in Online Data Stream ready but not yet used u DAQ System upgrade July 10 u DAQ in alarm handler (audible alarm) July 10 u Unpacking and Monitoring software release August 10 u Tracker integrated in DAQ and OLM July 10 u Trigger System upgrade (+documentation) August 10 -> Dec 10 u TOF TDC Clock Synchronization Dec 10 n -> Nov 10 Do we really need it ? u Burst Gate Signal in the Trigger System u New Milestones u Unpacking of EPICS data Nov 10 u New Online Software release (OLM from files) Dec 10 u EMR integrated in DAQ and OLM March 11 MICE CM 28 Oct 2010 Jean-Sebastien Graulich Need support here Slide 10
Summary u u DAQ System upgrade done DAQ in Alarm handler Online Software debugging Integration of Tracker DAQ has started MICE CM 28 Oct 2010 Jean-Sebastien Graulich Slide 11
51cf1f44659a87fb481af5976d1fc6ed.ppt