17 Sep 2009Paul Dauncey1 US DHCAL integration with CALICE DAQ Paul Dauncey.

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

24 September 2002Paul Dauncey1 Trigger issues for the CALICE beam test Paul Dauncey Imperial College London, UK.
28 February 2003Paul Dauncey - HCAL Readout1 HCAL Readout and DAQ using the ECAL Readout Boards Paul Dauncey Imperial College London, UK.
31 May 2007LCWS R&D Review - Overview1 WWS Calorimetry R&D Review: Overview of CALICE Paul Dauncey, Imperial College London On behalf of the CALICE Collaboration.
3 Nov 2006News - Paul Dauncey1 The 2006 beam tests have finished! DESY in May, CERN in Jul-Oct Many tens of millions of events and many TBytes of data.
28 Feb 2006Digi - Paul Dauncey1 In principle change from simulation output to “raw” information equivalent to that seen in real data Not “reconstruction”,
20 Feb 2002Readout electronics1 Status of the readout design Paul Dauncey Imperial College Outline: Basic concept Features of proposal VFE interface issues.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
16 Oct 2006DAQ - Paul Dauncey1 DAQ/Online and the DHCAL Paul Dauncey Overview of existing DAQ/online system H/w requirements for DHCAL S/w requirements.
9 Sep 2005DAQ - Paul Dauncey1 DAQ/Online Status Paul Dauncey Imperial College London.
2 July 2003Paul Dauncey - DAQ1 Progress on CALICE DAQ Paul Dauncey Imperial College London, UK.
20 Sep 2007Paul Dauncey1 CALICE beam tests Fantastically successful beam test at CERN this summer Yoshi will give a report on this shortly UK easily pulled.
12 Oct 2005DAQ - Paul Dauncey1 DAQ/Online Status Paul Dauncey Imperial College London.
6 June 2002UK/HCAL common issues1 Paul Dauncey Imperial College Outline: UK commitments Trigger issues DAQ issues Readout electronics issues Many more.
Summary Ted Liu, FNAL Feb. 9 th, 2005 L2 Pulsar 2rd IRR Review, ICB-2E, video: 82Pulsar
4 Dec 2001First ideas for readout/DAQ1 Paul Dauncey Imperial College Contributions from all of UK: result of brainstorming meeting in Birmingham on 13.
A. Frank - P. Weisberg Operating Systems Introduction to Cooperating Processes.
29 Mar 2007Tracking - Paul Dauncey1 Tracking/Alignment Status Paul Dauncey, Michele Faucci Giannelli, Mike Green, Anne-Marie Magnan, George Mavromanolakis,
29 January 2004Paul Dauncey - CALICE DAQ1 UK ECAL Hardware Status David Ward (for Paul Dauncey)
2 April 2003Paul Dauncey - CALICE DAQ1 First Ideas For CALICE Beam Test DAQ Paul Dauncey Imperial College London, UK for IC, Manchester, RAL, UCL.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
06/15/2009CALICE TB review RPC DHCAL 1m 3 test software: daq, event building, event display, analysis and simulation Lei Xia.
Reports from DESY Satoru Uozumi (Staying at DESY during Nov 11 – 25) Nov-21 GLDCAL Japan-Korea meeting.
06/03/06Calice TB preparation1 HCAL test beam monitoring - online plots & fast analysis - - what do we want to monitor - how do we want to store & communicate.
David Cussans, AIDA/CALICE DAQ Palaiseau, 10 Nov 2011 Trigger/Timing Logic Unit (TLU) for AIDA Beam-Test.
14 Sep 2005DAQ - Paul Dauncey1 Tech Board: DAQ/Online Status Paul Dauncey Imperial College London.
26 Jan 2010Paul Dauncey1 DESY beam test preparations Paul Dauncey.
18 Jan 2006DAQ - Paul Dauncey1 DAQ/Online: readiness for DESY and CERN beam tests Paul Dauncey Imperial College London.
ECFA Sep 2004Paul Dauncey - CALICE Readout1 CALICE ECAL Readout Status Paul Dauncey For the CALICE-UK electronics group A. Baird, D. Bowerman, P.
1 MICE Tracker Readout Update, Preparation for Cosmic Ray Tests Cosmic Ray Tests at RAL AFE-IIt Firmware Development VLSB Firmware Development Summary.
11 Sep 2009Paul Dauncey1 TPAC test beam analysis tasks Paul Dauncey.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
16 Sep 2009Paul Dauncey1 DECAL beam test at CERN Paul Dauncey for the CALICE-UK/SPiDeR groups: Birmingham, Bristol, Imperial, Oxford, RAL.
25 Feb 2005Paul Dauncey1 TB Review: DAQ Paul Dauncey Imperial College London For Imperial, RAL, UCL.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 Parallel - DAQ Status, Emlyn Corrin, 8 Oct 2007 EUDET Annual Meeting, Palaiseau, Paris DAQ Status.
19 July 2007Paul Dauncey - Software Review1 Preparations for the Software “Review” Paul Dauncey.
6 Mar 2006DAQ - Paul Dauncey1 DAQ/Online: readiness for DESY and CERN beam tests Paul Dauncey Imperial College London Update of Orsay talk; concentrate.
1 October 2003Paul Dauncey1 Mechanics components will be complete by end of year To assemble ECAL, they need the VFE boards VFE boards require VFE chips.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
5 February 2003Paul Dauncey - Calice Status1 CALICE Status Paul Dauncey Imperial College London For the CALICE-UK groups: Birmingham, Cambridge, Imperial,
String-18 Development Workshop, Overview Azriel Goldschmidt AMANDA/ICECUBE Collaboration Meeting Berkeley March 2002.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 - Data Acquisition Status Report Daniel Haas DPNC Genève Extended SC Meeting 1 Sep 2008.
21 Sep 2009Paul Dauncey1 Status of Imperial tasks Paul Dauncey.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
Mathias Reinecke CALICE week Manchester DIF development – Status and Common Approach Mathias Reinecke for the CALICE DAQ and Front-End developers.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
GLAST LAT Project CU Beam Test Workshop 3/20/2006 C. Sgro’, L. Baldini, J. Bregeon1 Glast LAT Calibration Unit Beam Test Status Report on Online Monitor.
1 MICE Tracker Readout Update Introduction/Overview TriP-t hardware tests AFE IIt firmware development VLSB firmware development Hardware progress Summary.
11 October 2002Paul Dauncey - CDR Introduction1 CDR Introduction and Overview Paul Dauncey Imperial College London.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
CWG7 (reconstruction) R.Shahoyan, 12/06/ Case of single row Rolling Shutter  N rows of sensor read out sequentially, single row is read in time.
Event Management. EMU Graham Heyes April Overview Background Requirements Solution Status.
5 May 2006Paul Dauncey1 The ILC, CALICE and the ECAL Paul Dauncey Imperial College London.
18 Sep 2008Paul Dauncey 1 DECAL: Motivation Hence, number of charged particles is an intrinsically better measure than the energy deposited Clearest with.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Software and TDAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
9 Sep 2008Paul Dauncey1 Tracking software status Paul Dauncey.
Lecture 5 Page 1 CS 111 Summer 2013 Bounded Buffers A higher level abstraction than shared domains or simple messages But not quite as high level as RPC.
19 Apr 2007DAQ Readiness1 Paul Dauncey. 19 Apr 2007DAQ Readiness2 DAQ hardware layout ? More CRCs New HCAL stage May not be used.
16 Feb 2005Paul Dauncey1 View from the DAQ Paul Dauncey Imperial College London.
Technical Review: DAQ/Online
CALICE News The 2007 beam tests have started!
Trigger, DAQ, & Online: Perspectives on Electronics
Testbeam Timing Issues.
Online Software Status
UK ECAL Hardware Status
L1 simulation review Aug 2005 Jamie Boyd
Trigger issues for the CALICE beam test
Presentation transcript:

17 Sep 2009Paul Dauncey1 US DHCAL integration with CALICE DAQ Paul Dauncey

17 Sep 2009Paul Dauncey 2 Overview Hope to run the US DHCAL together with the SiECAL and TCMT at FNAL in summer 2010 Requires integration of DHCAL into the CALICE system Basic goal of DAQ (online) Get all useful data into the native binary data files LCIO converter (offline) then separates data Event data into LCIO run files Configuration, slow controls data into database Offline covered by Niels; just consider online here

17 Sep 2009Paul Dauncey 3 Boundary conditions Output data format has to be native raw data Compatible with other beam test data Must not change the native data structure in a non-backwards compatible way DHCAL can run stand-alone or combined Stand-alone will be for early/cosmics tests at ANL Combined is with ECAL and TCMT at FNAL, but initial FNAL runs are likely to be stand-alone also Must ensure the DAQ readout code and data structure from these two modes are identical (or as similar as possible)

17 Sep 2009Paul Dauncey 4 System overview Standalone system

17 Sep 2009Paul Dauncey 5 ECAL and TCMT Assume will combine CRCs into a single crate Allows “other” VME crate to be used by AHCAL at DESY A simple trick in software (“split crate cludge”) allows both systems to appear to have a crate to themselves N.B. cannot run the two systems genuinely independently without two physical crates

17 Sep 2009Paul Dauncey 6 DHCAL and triggers Potentially more complicated than previous CALICE cases DHCAL is built to be able to free-run, with zero dead time Other CALICE systems have been triggered Getting these two to work together will require some preparation DHCAL will not “trigger” on the CALICE central triggers But can timestamp the triggers sent to it All DHCAL hits also timestamped Allows hits to be associated to triggers later Must be able to combine ECAL and TCMT event data with DHCAL data Central DAQ has no timestamping or hardware trigger number Lost or extra triggers cannot be identified except by counting Need to make data association robust Ensure redundancy to catch missing/spurious triggers

17 Sep 2009Paul Dauncey 7 Trigger handling DAQ software sends two records for each event Trigger: sent during spill at up to 1kHz Event: sent after spill at up to 100Hz These have different uses Trigger records are used to capture data which cannot wait until the end of the spill; must be fast << 1ms Event records capture the bulk of the data; must finish before next spill to have no efficiency impact Up to now, DAQ ensures a one-to-one correspondence between a hardware trigger, a software trigger record and a software event record Blocks any second trigger until first trigger record has been completed Ensures trigger counter does not increment during VME crate readout Makes trigger-event record association straightforward Ability to do trigger control is in CRC firmware Only activated for CRC in crate slot 12

17 Sep 2009Paul Dauncey 8 Trigger handling For DHCAL, agreed solution for trigger records for combined running Record the number of triggers and timestamp of the trigger from DHCAL If no trigger or more than one trigger, then error. Doing this locates exactly the first trigger with a problem Data from whole spill do not need to be discarded CRCs do something similar already To keep system as close as possible Do similar system for stand-alone runs

17 Sep 2009Paul Dauncey 9 Combined system operation

17 Sep 2009Paul Dauncey 10 Combined system operation

17 Sep 2009Paul Dauncey 11 Combined system operation

17 Sep 2009Paul Dauncey 12 Combined system operation

17 Sep 2009Paul Dauncey 13 Combined system operation

17 Sep 2009Paul Dauncey 14 Combined system operation

17 Sep 2009Paul Dauncey 15 Combined system operation

17 Sep 2009Paul Dauncey 16 Combined system operation

17 Sep 2009Paul Dauncey 17 Triggers in stand-alone running In principle, no need to block triggers for stand-alone runs System can handle triggers at any time But running like this will change data structure No guarantee that only one hardware trigger since last trigger record; trigger number won’t increment by unity Could have more physical triggers and events than trigger records and event records; DAQ code different Cleanest to keep stand-alone mode as close as possible to combined mode Introduce trigger control into DHCAL stand-alone running Alternative would be to allow more triggers but discard “extra” trigger data and event data associated with them

17 Sep 2009Paul Dauncey 18 Combined system operation

17 Sep 2009Paul Dauncey 19 Stand-alone DHCAL operation Possible solution; control trigger through TTM module Only software change so could be done immediately Unclear if required functionality supported by hardware Critical: DchReadout software is unchanged between two modes Doesn’t know or care which mode it is in

17 Sep 2009Paul Dauncey 20 Event handling For event data several options Ideally only put hits associated with trigger timestamp into corresponding event record, but data format makes this non-trivial Effectively get large volumes of data; up to O(10MBytes) per VME module which need to be interpreted offline Either divide up the large amount of data into chunks and put part into each event record Or dump data from whole spill into acquisitionEnd record Constraints from keeping DAQ backwards-compatible Any single data chunk (“subrecord”) must be < 64kBytes Might be possible to increase this as (almost) all data subrecords so far are < 32kBytes (but messy for DECAL) No limit on total record size in principle but incrementing memory to allow for hundreds of Mbytes in one record might break existing code Most likely to work/most conservative is breaking into small chunks and put into each event record

17 Sep 2009Paul Dauncey 21 Testing before full combined running Critical item is trigger Provided by TCMT CRC; don’t need ECAL to test this Stand-alone mode can be developed now, as system is assembled at ANL If no possibility of using TTM, then in principle could bring VME crate and CRC from FNAL to ANL Would require someone with experience of setting up trigger to visit ANL and help assemble CRC system Timescale for this is within a month or so One DHCAL plane together with TCMT in the beam at FNAL would test almost all potentially problematic issues Time offsets of two systems will not be measured in stand-alone running Recognised by TechBoard as essential first step; “strongly recommended” Aim for this around Feb 2010 Later addition of ECAL then straightforward

17 Sep 2009Paul Dauncey 22 Some other items Slow controls data Sven’s system used for AHCAL and TCMT provides both a nice immediate display of values as well as an interface to the DAQ for recording the values DHCAL probably will use a different system; will need to have DAQ interface Software coordination No DHCAL modifications to central software have been returned to the main repository; at least runner.cc and SubRecordType.hh must have been changed Worry that an inconsistent split of code will develop; it should be merged back together soon Tracking, scintillator and Cherenkov readout Comes for free with combined system Stand-alone at FNAL would need new solutions/code for all these if they are needed

17 Sep 2009Paul Dauncey 23 One final item... ECAL slow controls data have never been interfaced to DAQ readout Should this be done before next run?