mice cm28 oct 2010jean-sebastien graulichslide 1 detector daq o achievements since cm27 o daq...
DESCRIPTION
DAQ System Upgrade Happened in mid July Standard Online OS (Centos 5.4) installed New version of DATE New set of PCs (miceacq07, miceacq08, miceraid2a) Problems Solved Problems Solved 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 MICE CM28 Oct 2010Jean-Sebastien GraulichSlide 3 All user files on miceacq04, miceaq06 and miceraid1a will disappear !TRANSCRIPT
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 1
Detector DAQDetector DAQ
o Achievements Since CM27o DAQ Upgradeo CAM/DAQ integrationo Online Softwareo Trigger System upgradeo Schedule Milestoneso Summary
Jean-Sebastien Graulich, Geneva
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 2
Achievements since Achievements since CM27CM27
DAQ system has been upgradedDAQ system has been upgraded During user run in July
Progress in DAQ/CAM integrationProgress in DAQ/CAM integration DATE Status used by alarm handler CAM data ready to be included in the data stream
Online SoftwareOnline Software Unpacking: Exception handling Online Monitoring debugging
DAQ System UpgradeDAQ System Upgrade Happened in mid July Happened in mid July
Standard Online OS (Centos 5.4) installed New version of DATE New set of PCs (miceacq07, miceacq08,
miceraid2a) Problems Solved Problems Solved
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
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 3
All user files on miceacq04, miceaq06 and miceraid1a will disappear !
DAQ System upgrade DAQ System upgrade (2)(2)
Problems Caused Problems Caused End of Run script don’t work
-> automated move file for storage won’t workAlternatives exist
All Online Reconstruction applications broken !!!
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 About ½ day of beam time lost but a lot
of lessons taken from that crisisof lessons taken from that crisis
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 4
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 5
CAM/DAQ integration CAM/DAQ integration (1)(1)
DATE talks to EPICSDATE talks to EPICS There is an EPICS Process Variable dedicated to DAQ status DATE uses James’ library to write its status:
TAKING_DATA, RUN_COMPLETE, IDLE or ERROR Necessary for Necessary for
Automatic filling of CDB 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) DrawbackDrawback
Run Time Dependency DAQ won’t start if the DATE Status EPICS server is not running
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 6
CAM/DAQ integration CAM/DAQ integration (2)(2)
EPICS talks to DAQEPICS talks to DAQ DATE is able to read any EPICS Process Variable at the
end of the spill and insert it in the data stream Necessary forNecessary for
Access to Magnet currents in offline and online analysis Drawback Drawback
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 CM28 Oct 2010 Jean-Sebastien Graulich Slide 7
FAQFAQ Why not getting the magnet currents from the Why not getting the magnet currents from the
CDB ?CDB ? Because the CDB contains the set value and you want to know
the real field the particle has seen to reconstruct its trajectory But the alarm handler checks that the currents But the alarm handler checks that the currents
are close enough to the set valuesare close enough to the set values 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 What if I want to check that the read value is
close enough to the set value ?close enough to the set value ? 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 CM28 Oct 2010 Jean-Sebastien Graulich Slide 8
Online SoftwareOnline Software Bug fixed in Online Monitoring:Bug fixed in Online Monitoring: Data format exception (invalid event)Data format exception (invalid event)
One fADC board (used by CKOV) is producing corrupted data header : event size information is wrong
Data unpacking was crashing Now, the spill is skipped
TDC errors (unexpected word)TDC errors (unexpected word) A damaged cable was causing a large number of hits in
TDC05 (used for KL tags) TDC overflow word in the data flow was not recognized
by the unpacking -> error message Run transitionRun transition
Online Monitoring GUI had to be deactivated at the end of each run, otherwise it was frozen and had to be restarted
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 9
Online Software (2)Online Software (2) Main open issues:Main open issues: Online Monitoring should run from filesOnline Monitoring should run from files
Using the very same analysis code ! Also true for online reconstruction applications Up to now, we maintained two codes differing by
only a few lines File version of Online Monitoring is broken -> We
can’t reproduce online plots ! Tracker DAQ and unpackingTracker DAQ and unpacking
Code exists but is not compatible with the existing framework -> David Adey
Unpacking of EPICS dataUnpacking of EPICS data Nobody can use it if it’s not unpacked
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 10
Schedule Schedule MilestonesMilestones
From CM27From CM27 CAM data in Online Data StreamCAM data in Online Data Stream ready but not yet ready but not yet
usedused DAQ System upgradeDAQ System upgrade July 10July 10 DAQ in alarm handlerDAQ in alarm handler (audible alarm) (audible alarm)July 10July 10 Unpacking and Monitoring software releaseUnpacking and Monitoring software release August 10August 10 Tracker integrated in DAQ and OLMTracker integrated in DAQ and OLM July 10 -> July 10 -> Nov 10Nov 10 Trigger System upgrade (+documentation)Trigger System upgrade (+documentation) August 10 -> August 10 -> Dec Dec
1010 TOF TDC Clock SynchronizationTOF TDC Clock Synchronization Dec 10Dec 10
Do we really need it ? Burst Gate Signal in the Trigger SystemBurst Gate Signal in the Trigger SystemNeed support here New MilestonesNew Milestones Unpacking of EPICS dataUnpacking of EPICS data Nov 10 Nov 10 New Online Software release (OLM from files)New Online Software release (OLM from files) Dec 10Dec 10 EMR integrated in DAQ and OLMEMR integrated in DAQ and OLM March 11March 11
SummarySummary DAQ System upgrade doneDAQ System upgrade done DAQ in Alarm handlerDAQ in Alarm handler Online Software debuggingOnline Software debugging Integration of Tracker DAQ has startedIntegration of Tracker DAQ has started
MICE CM28 Oct 2010 Jean-Sebastien Graulich Slide 11