06/15/2009CALICE TB review RPC DHCAL 1m 3 test software: daq, event building, event display, analysis and simulation Lei Xia.

Slides:



Advertisements
Similar presentations
Roma, P. Camarri DAQ & on-line monitoring at X5 (G. Aielli, P. Camarri) DAQ realization and performance for RPC tests at X5-GIF. Adds and changes.
Advertisements

Kondo GNANVO Florida Institute of Technology, Melbourne FL.
17 Sep 2009Paul Dauncey1 US DHCAL integration with CALICE DAQ Paul Dauncey.
Status of DHCAL Slice Test Data Analysis Lei Xia ANL-HEP All results preliminary.
Simulation of the RPC Response José Repond Argonne National Laboratory CALICE Collaboration Meeting University Hassan II Casablanca, Morocco September.
RPC-DHCAL Event Builder Event Display Jacob Smith UT Arlington Argonne National Laboratory Meister der Weltenchronik (Master of World Chronicles) Genesis.
RPC Trigger Software ESR, July Tasks subsystem DCS subsystem Run Control online monitoring of the subsystem provide tools needed to perform on-
Data Acquisition System for 2D X-Ray Detector Beijing Synchrotron Radiation Facility (BSRF) located at Institute of High Energy Physics is the first synchrotron.
Offline Code for Next Beam Test Jianchun Wang 08/06/01.
20 Feb 2002Readout electronics1 Status of the readout design Paul Dauncey Imperial College Outline: Basic concept Features of proposal VFE interface issues.
1Calice-UK Cambridge 9/9/05D.R. Ward David Ward Compare Feb’05 DESY data with Geant4 and Geant3 Monte Carlos. Work in progress – no definitive conclusions.
2 July 2003Paul Dauncey - DAQ1 Progress on CALICE DAQ Paul Dauncey Imperial College London, UK.
Readout of TPC with modified ALICE electronics details of current version and pending items ALICE overview New software based on homemade partly existing.
1 Analysis code for KEK Test-Beam M. Ellis Daresbury Tracker Meeting 30 th August 2005.
Overview We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger trackfinder data through an XDAQ Event Builder.
DAQ WS03 Sept 2006Jean-Sébastien GraulichSlide 1 DDAQ Trigger o Reminder: DAQ Trigger vs Particle Trigger o DAQ Trigger o Particle Trigger 1) Possible.
1Calice-UK WP1 review 9/9/05D.R. Ward David Ward WP1 covered the completion of the original Calice program as proposed in 2002, i.e. Beam tests (electrons.
GLAST LAT ProjectOnline Peer Review – July 21, Integration and Test L. Miller 1 GLAST Large Area Telescope: I&T Integration Readiness Review.
Simulation of RPC avalanche signal for a Digital Hadron Calorimeter (DHCAL) Lei Xia ANL - HEP.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
Online Data Challenges David Lawrence, JLab Feb. 20, /20/14Online Data Challenges.
SVT workshop October 27, 1998 XTF HB AM Stefano Belforte - INFN Pisa1 COMMON RULES ON OPERATION MODES RUN MODE: the board does what is needed to make SVT.
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.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
DC12 Commissioning Status GOALS: establish operating conditions, determine initial calibration parameters and measure operating characteristics for the.
18 Jan 2006DAQ - Paul Dauncey1 DAQ/Online: readiness for DESY and CERN beam tests Paul Dauncey Imperial College London.
Recent Software Issues L3 Review of SM Software, 28 Oct Recent Software Issues Occasional runs had large numbers of single-event files. INIT message.
CBM Software Workshop for Future Challenges in Tracking and Trigger Concepts, GSI, 9 June 2010 Volker Friese.
Software Status Sonja Vrcic Socorro,
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
C. Combaret 11/10/ 2008 Status of the DHCAL m2 software C. Combaret IPNL.
Muon commissioning status and plans G.P. C. De Plano.
Dec.11, 2008 ECL parallel session, Super B1 Results of the run with the new electronics A.Kuzmin, Yu.Usov, V.Shebalin, B.Shwartz 1.New electronics configuration.
4 th Workshop on ALICE Installation and Commissioning January 16 th & 17 th, CERN Muon Tracking (MUON_TRK, MCH, MTRK) Conclusion of the first ALICE COSMIC.
The DHCAL Data Analysis José Repond CALICE Meeting, Prague, September 10 – 12, 2007.
Fast Fault Finder A Machine Protection Component.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 Parallel - DAQ Status, Emlyn Corrin, 8 Oct 2007 EUDET Annual Meeting, Palaiseau, Paris DAQ Status.
Nigel Watson / BirminghamCALICE ECAL, UCL, 06-Mar-2006 Test Beam Task List - ECAL  Aim:  Identify all tasks essential for run and analysis of beam data.
Analysis of DHCAL Muon Events José Repond Argonne National Laboratory ALCPG 2011 Meeting, University of Oregon, Eugene, OR.
IPHC - DRS Gilles CLAUS 04/04/20061/20 EUDET JRA1 Meeting, April 2006 MAPS Test & DAQ Strasbourg OUTLINE Summary of MimoStar 2 Workshop CCMOS DAQ Status.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
1ECFA/Vienna 16/11/05D.R. Ward David Ward Compare these test beam data with Geant4 and Geant3 Monte Carlos. CALICE has tested an (incomplete) prototype.
Developing Imaging Calorimeters for a SiD-Flavor Lepton Collider Jacob Smith Linear Collider Physics School Ambleside,England 2009.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
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.
Noise and Cosmics in the DHCAL José Repond Argonne National Laboratory CALICE Collaboration Meeting University Hassan II Casablanca, Morocco September.
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.
Calorimeter Simulation Infrastructure Norman Graf Arlington ‘03.
STAR Analysis Meeting, BNL – oct 2002 Alexandre A. P. Suaide Wayne State University Slide 1 EMC update Status of EMC analysis –Calibration –Transverse.
US DHCAL Status Lei Xia Argonne National Laboratory.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
DHCAL Construction Status Lei Xia Argonne National Laboratory CALICE Meeting, September 16 – 18, 2009 Université Claude Bernard Lyon I, France.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
Event Management. EMU Graham Heyes April Overview Background Requirements Solution Status.
Calorimeter global commissioning: progress and plans Patrick Robbe, LAL Orsay & CERN, 25 jun 2008.
Overview of EMU Software Rick Wilkinson. Slice Test DAQ We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger.
XML scheme for configuration data V.Černý on behalf of the Bratislava group Initiated by Marco’s call:...a software layer for implementing the handling.
CMOS Pixels Sensor Simulation Preliminary Results and Plans M. Battaglia UC Berkeley and LBNL Thanks to A. Raspereza, D. Contarato, F. Gaede, A. Besson,
1 Calice TB Review DESY 15/6/06D.R. Ward David Ward Post mortem on May’06 DESY running. What’s still needed for DESY analysis? What’s needed for CERN data.
DAQ and Trigger for HPS run Sergey Boyarinov JLAB July 11, Requirements and available test results 2. DAQ status 3. Trigger system status and upgrades.
CLAS12 DAQ & Trigger Status
Controlling a large CPU farm using industrial tools
Trigger, DAQ, & Online: Perspectives on Electronics
CPM plans: the short, the medium and the long
Technical Board – DCAL Software
The IFR Online Detector Control at the BaBar experiment at SLAC
Presentation transcript:

06/15/2009CALICE TB review RPC DHCAL 1m 3 test software: daq, event building, event display, analysis and simulation Lei Xia

06/15/2009CALICE TB review Daq: status Developed a local version of CALICE daq (UK daq) system for RPC slice test, by Jim Schlereth (ANL) Has been running with CALICE daq for 1+ years –Most tasks went very smoothly –Implemented all current run types –Implemented automated run submission, parameter scan, etc. Some minor issues related to CALICE daq –Error handling CALICE daq tries to make runs go smoothly, even in case of hardware error At developing phase, we would rather interrupt runs in some cases –Run time calculation CALICE daq count configuration time into run time We would like to exclude that –Fix: relatively straight forward Being worked out

06/15/2009CALICE TB review Daq: moving on to 1m 3 tests One major issue is ‘data record’ –CALICE daq ‘record’ has a size limit (64KB?) –DHCal data comes into daq buffer as a continuous flow No clear boundary between events, nor anything else that naturally divide data into pieces Total data size far exceed current ‘record’ size limit –Need a way to chop up the data stream and put each piece into a ‘record’ Later, one need to recover the whole stream from the records Without knowing the events, some tasks are not convenient at least (come back to this later) Fast (online) event building? Very risky… Other changes needed to 1m 3 –Front End: data format changes (address, register, etc.) Event data: –Data bit fields interpreted only by analysis code, some online histogram code –Classes affected: DhcFeHitData Configuration data: –Container classes representing DCAL registers –Classes managing configuration data –Trigger: multiple TTM, register change, sync issues, etc –Multiple VME crates: supported by CAEN & HAL, need to be tested –Daq strategy: fixed readout interval? Or do polling?

06/15/2009CALICE TB review Event builder: current data structure Dcol0: layer a,b,c,d… Dcol1: layer e,f,g,h… Dcol0: layer a,b,c,d… Dcol1: layer e,f,g,h… Dcol0: layer a,b,c,d… Dcol1: layer e,f,g,h… Data flow N sec worth of data (for cosmic ray: 0 – n triggers, usually complete) For each trigger: each DCON report back a trigger package each DCAL send back 7 data package DCON receives data pks, do zero suppression

06/15/2009CALICE TB review Current event building dcol0 dcol1 dcol0 dcol1 dcol0 dcol1 dcol0 dcol1 Data search window event i event i+1 event i+2 event i+3 event i+4 event i+5 event i+6 Event search window Matching algorithm Can deal with all know data errors properly, with the help of: 1.Time stamp 2.DCON trigger package 3.Neighboring packages 4.Known error features

06/15/2009CALICE TB review Projected 1m 3 data structure Dcol 0 Dcol 1 Dcol 2 Dcol 3 Dcol 4 Dcol 20 Data segments from each dcol will be larger May have a lot of triggers Event boundary maybe violated very often Data segment may end in the middle of an event …

06/15/2009CALICE TB review Ideas for new event builder Dcol 0 Dcol 1 Dcol 2 Dcol 3 Dcol 4 Dcol 20 Dcol 0 Dcol 1 Dcol 2 Dcol 3 Dcol 4 Dcol 20 event i event i+1 event i+2 event i+3 event i+4 event i+5 event i+6 Data segment 1 Data segment 2 Data segment 3 Data segment 4 Data segment 5 Data queue: dcol0 (or, dcon0?) Data segment 1 Data segment 2 Data segment 3 Data segment 4 Data segment 5 Data queue: dcol1 (or, dcon1?) Data segment 1 Data segment 2 Data segment 3 Data segment 4 Data segment 5 Data queue: dcol2 (or, dcon2?)

06/15/2009CALICE TB review 1m3 event builder: data error All current data error should be considered in the event building initially –Some could be removed later Need to be prepared for new error types Due to larger event size, error rate will be higher –Error rate: N(event with error)/N(all events) This is the major challenge for getting a reliable event builder –Progress will be made over time, as we gain experience with new readout

06/15/2009CALICE TB review CALICE lcio conversion We will provide lcio converter an event building algorithm – this is essentially our event builder –Input: CALICE daq binary (not our current converted binary) – this should be our goal anyway (for online analysis) –Output: event (format?) –Need to work with CALICE daq package: implies programming language to be c++ (currently java)

06/15/2009CALICE TB review Analysis: slice test Stand alone daq Binary data Quick event building Final event building Binary data ASCII data ASCII data Binary data Event display Java analysis Fortran analysis Java, c++ analysis Fortran analysis Calice daq Calice binary Test beam Run decision ‘Online analysis’ ‘Offline analysis’ Conditions data was recorded by hand in log book

06/15/2009CALICE TB review Analysis: 1m 3 CALICE daq CALICE binary Quick event building Final event building c++ ASCII data binary data Fortran analysis C++ analysis Test beam Run decision ‘Online analysis’ Event display Test beam Run decision binary data lcio Analysis ‘Offline analysis’ Conditions data lccd c++ marlin ASCII data

06/15/2009CALICE TB review Event display George Mavromanolakis developed the event display for slice test –Based on CALICE online display program –Read in ASCII data format –Geometry based on slice test setup Ben will extend the program for 1m 3 tests –Input will be some kind of binary format, after event building –Geometry need to be extended to 1m 3 setups

06/15/2009CALICE TB review Noise runs Regular noise runs (~5mins, self-trigger) generate a lot of data –Current rate: ~1-2MB/~2k chs/run –1m3: MB/run, if RPC reaches slice test quality Cosmic ray calibration may come out of noise runs as well –Data size would be prohibitive, without online filtering –To first order, some kind of simple event building is needed within daq, in order to do the filtering How robust does it need to be? How fast does it have to be, in order to be put into daq? –Suppose we have a fast event building imbedded into daq Can this be robust/fast enough to be the final event building? Can we assure a data stream recovery after online building?

06/15/2009CALICE TB review 1m 3 simulation Current simulation involves two detached steps –Geant4: c++, simulate test setup, write out position of energy depositions in ASCII format –RPCsim: Fortran, simulate RPC charge distribution, electronic threshold and generate hits, again, write out hit positions in ASCII format –Slice test simulation has been very successful –Currently studying 1m 3 setup At some point, need to merge into a single package –Use Mokka? –Use lcio output?