Linda R. Coney – 24th April 2009 Online Monitoring and Reconstruction Linda R. Coney 4 June, 2009.

Slides:



Advertisements
Similar presentations
MICE CM January 2009Jean-Sébastien GraulichSlide 1 DAQ and CAM Summary o Organization o Control and Monitoring o Detector DAQ o Online Monitoring o Front-End.
Advertisements

MAUS Update Adam Dobbs, MICE Project Board, 16 th April 2015.
Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
MICE Beam Loss vs Particle Rate Adam Dobbs, ISIS Meeting, 18 th December 2009.
MICE Particle Rate and ISIS Beam Loss Adam Dobbs, Target – ISIS Meeting, 17 th September 2010.
First Results from Tracker 1  Cryostat Commissioning  AFE/VLSB Firmware and Readout  Cosmic Ray Setup  Tracker Readout  Software  Trigger Timing.
Tracker Software 1M.Ellis - CM23 - Harbin - 15th January 2009  Four key areas that currently need some work: u Digitisation u Decoding files u Unpacking.
1 VLPC system and Cosmic Ray test results M. Ellis Daresbury Tracker Meeting 30 th August 2005.
Data Quality Assurance Linda R. Coney UCR CM26 Mar 25, 2010.
Linda R. Coney – 24th September 2009 MOM Update End of Sept Run Linda R. Coney 05 October, 2009.
Online Reconstruction Update Linda R. Coney UCR Mar 25, 2010.
1 Online data quality and monitoring M. Ellis Daresbury DAQ Meeting 31 st August 2005.
MICE DAQ and Controls ReviewJean-Sebastien GraulichSlide 1 DAQ Overview o Terminology o Requirements o Front End Electronics o Trigger System o DAQ Hardware.
Online Reconstruction Update Linda R. Coney UCR Dec 17, 2009.
Y. Karadzhov MICE MICO First EMR Plots 1.EMR detector has been successfully incorporated in the MICE DAQ system. 2.First 3 days of data taking in MICE.
March 31, Status of the TOF, Ckov and Virtual Detector Packages in G4Mice Steve Kahn Brookhaven National Laboratory Mice Collaboration Meeting March.
Linda R. Coney – 24th April 2009 Online Reconstruction & a little about Online Monitoring Linda R. Coney 18 August, 2009.
1 Analysis code for KEK Test-Beam M. Ellis Daresbury Tracker Meeting 30 th August 2005.
MICE CM Berkeley 9-12 Feb February 2005 Edda Gschwendtner 1 Control/Monitoring and DAQ for PIDs Edda Gschwendtner.
Y. Karadzhov MICE Video Conference Thu April 9 Slide 1 Absolute Time Calibration Method General description of the TOF DAQ setup For the TOF Data Acquisition.
MICE CM17 Feb 07Jean-Sébastien GraulichSlide 1 Detector DAQ Status o Since CM16 o Detector DAQ software o Front End Electronics o Schedule Milestones o.
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.
1 G4MICE Malcolm Ellis SciFi Tracker Meeting, KEK Thursday 31st March 2005.
MICE Online Linda R. Coney UCR MICE CM30 Oxford July 2011.
MICE Tracker Readout and Data Acquisition; Solenoid Magnetic Field Measurement Terry Hart for the MICE Collaboration, Illinois Institute of Technology,
MICE CM25 Nov 2009Jean-Sebastien GraulichSlide 1 Online Summary o Detector DAQ o Controls And Monitoring o Online Data Base o Bottom Lines Jean-Sebastien.
MICE CM26 March '10Jean-Sebastien GraulichSlide 1 Detector DAQ Issues o Achievements Since CM25 o DAQ System Upgrade o Luminosity Monitors o Sequels of.
1 The MICE Online Systems Linda R. Coney CHEP – May 2012.
Offline Software Summary 1M.Ellis - CM25 - 6th November 2009  Release Schedule  Simulation and Analysis Update  Detector software: u CKOV u EMR u KL.
DAQ MICO Report Online Monitoring: –Status All histograms are now implemented Still not fully online –Only monitoring from data file (slightly offline,
MICE CM25 Nov 2009Jean-Sebastien GraulichSlide 1 Detector DAQ Issues o Achievements Since CM24 o Trigger o Event Building o Online Software o Front End.
MICE CM16 Oct 2006Jean-Sébastien GraulichSlide 1 Detector DAQ Status o Since CM15 o Detector DAQ software o Interface DDAQ / Mice Control & Monitoring.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
STAR Analysis Meeting, BNL, Dec 2004 Alexandre A. P. Suaide University of Sao Paulo Slide 1 BEMC software and calibration L3 display 200 GeV February.
ALICE Computing Model The ALICE raw data flow P. VANDE VYVRE – CERN/PH Computing Model WS – 09 Dec CERN.
MICE CM June 2009Jean-Sebastien GraulichSlide 1 Online Summary o Achievements Since CM23 o Control Room o Controls o Detector DAQ o Open Issues o Summary.
Software Status  Last Software Workshop u Held at Fermilab just before Christmas. u Completed reconstruction testing: s MICE trackers and KEK tracker.
MICO July 07Jean-Sébastien GraulichSlide 1 Detector DAQ Status o Overview – Hardware status o Installation at RAL o DAQ workshop o Current Activities Jean-Sebastien.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
1 Software for the KEK test Malcolm Ellis 13 th April 2005.
Tracker Timing and ISIS RF Edward Overton 1. At CM32… 2 Had done some preliminary checks on the ISIS RF. Was beginning to think about how to handle the.
January 31, MICE DAQ MICE and ISIS Introduction MICE Detector Front End Electronics Software and MICE DAQ Architecture MICE Triggers Status and Schedule.
Online Reconstruction 1M.Ellis - CM th October 2008.
1 KEK test-beam software progress Malcolm Ellis MICE Video Conference 4 th May 2005.
MICE CM January 2009Jean-Sébastien GraulichSlide 1 Detector DAQ Issues o Achievements Since CM23 o Detector DAQ o Trigger o Online Software o Front End.
1 A first look at the KEK tracker data with G4MICE Malcolm Ellis 2 nd December 2005.
CM20 Vassil Verguilov DAQ Software Status  DATE Readout  Data Decoding  Data Monitoring  Next steps  Summary.
Linda R. Coney – 5 November 2009 Online Reconstruction Linda R. Coney 5 November 2009.
M. Ellis - MICE Collaboration Meeting - Thursday 28th October Sci-Fi Tracker Performance Software Status –RF background simulation –Beam simulation.
MICE CM28 Oct 2010Jean-Sebastien GraulichSlide 1 Detector DAQ o Achievements Since CM27 o DAQ Upgrade o CAM/DAQ integration o Online Software o Trigger.
CM19 Vassil Verguilov DAQ Status  Progress  DAQ  Next steps  Summary.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
26 Oct 2010PC Physics Requirements of Software from Chris R ~19 Oct. My.
1 MICE Tracker Readout Update Introduction/Overview TriP-t hardware tests AFE IIt firmware development VLSB firmware development Hardware progress Summary.
ARCHITECTURE. PRR November x 32 PADs Up to 26 or 3 x 17 MANU BOARD. PATCH BUS Translator Board. FEE DETECTOR Up to 100 PATCH BUS per detector. MANU.
Tracker Cosmic Ray Test 2011 Linda R. Coney UC Riverside CM 29 - February 16, 2011.
1 Light Yield results from the KEK tracker test using G4MICE M. Ellis Tracker Phone Meeting 25 th January 2006.
HPS TDAQ Review Sergey Boyarinov, Ben Raydo JLAB June 18, 2014.
Software Overview 1M. Ellis - CM21 - 7th June 2008  Simulation Status  Reconstruction Status  Unpacking Library  Tracker Data Format  Real Data (DATE)
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
ch/~bdl/lepc/lepc.ppt 1 MICE Status and Plans Rikard Sandström Université de Geneve International Scoping Study CERN,
MICE CM February 08Jean-Sébastien GraulichSlide 1 Report on DAQ & CAM o Detector DAQ Status Hardware Trigger Software o Controls and Monitoring (CAM) o.
1 DATE-based DAQ Hideyuki Sakamoto CM22, RAL 19/10/08.
1M. Ellis - MICE Tracker PC - 1st October 2007 Station QA Analysis (G4MICE)  Looking at the same data as Hideyuki, but using G4MICE.  Have not yet had.
Status of LAV electronics commissioning Mauro Raggi, Francesco Gonnella Laboratori Nazionali di Frascati 1 Mauro Raggi - Laboratori Nazionali di Frascati4.
VC98 March 07Jean-Sébastien GraulichSlide 1 DDAQ Status o DAQ Software o Front-End and Trigger o What will happen soon o Schedule Milestones Jean-Sebastien.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Linda Coney MICO June 6, 2011 MICE Online Report.
Jean-Sebastien Graulich, Geneva
Tracker Software Status
Presentation transcript:

Linda R. Coney – 24th April 2009 Online Monitoring and Reconstruction Linda R. Coney 4 June, 2009

Linda R. Coney – 4 June 2009 Outline  Introduction  Data Structure  Unpacking DATE data  Online Monitoring  Online Reconstruction  Conclusions

Linda R. Coney – 4 June 2009 MICE Online  So far: u DAQ front end u Trigger u Event Building u Controls and Monitoring  Given that we are successfully running the experiment and creating data u How do we know the equipment is working well? u How do we check the data quality?  Two levels of real-time data quality checks u Online Monitoring s Look at raw data for each board in the DAQ s No translation into physical quantities u Online Reconstruction s Initial look at analysis variables  Next: see Henry’s talk about the Data Flow…

Linda R. Coney – 4 June 2009 DAQ Terminology  LDC – Local Data Collector  GDC – Global Data Collector  Equipment – module in DAQ crate  DATE – The DAQ Software

Linda R. Coney – 4 June 2009 Data Format  DAQ Events: u SuperEvent  contains SubEvents come from single crate (ie. come from LDC) u Header for Super/Sub events is the same u Event Fragment is data from single board in crate (equipment) s Fragments have different information for different board types u Two types of Events s CALIBRATION –Always 1 particle event s PHYSICS –Can have multiple particle events –Should have 2 crates –Data volume dominated by fADCs u Particle event info is board specific

Linda R. Coney – 4 June 2009 Raw Data Format … DAQ Event N+1 Payload … DAQ Event N+1 GDC Header DAQ Event N Payload … DAQ Event N GDC Header … Run File … LDC J+1 Payload … LDC J+1 Header LDC J Payload … LDC J Header … (Super-) Event … Particle Event M+1 Data: Board Manufacturer Format Particle Event M Data: Board Manufacturer Format … Event Fragment … Equipment K+1 Payload Equipment K+1 Header Equipment K Payload Equipment K Header … (Sub-) Event

Linda R. Coney – 4 June 2009 DATE Event Header Format Event Header Event Size Sync. Word Header Size Header Version EventType RunNb Event Id[0] Event Id[1] TriggerPattern[0] TriggerPattern[1] DetectorPattern[0] DetectorPattern[1] Attribute[0] Attribute[1] Attribute[2] LDC Id GDC Id TimeStamp[0] TimeStamp[1]  This structure comes from DATE

Linda R. Coney – 4 June 2009 DATE Equipment Header Format Equipment Data Size Equipment Type Equipment User Id Equipment Attribute[0] Equipment Attribute[1] Equipment Attribute[2] Equipment Word Size Equipment Header Conventional Table of Equipment Type: Random Generator0 Scalar V VLSB104 fADC V Trailer110 TDC V Trigger Receiver101 V EquipmentType

Linda R. Coney – 4 June 2009 V. Verguilov Particle Data Format Example - CAEN V1290 TDC Event Count (starting at 0)GEO Address 00000TChannel NbTime Data … …Variable Number of hits… … 00000TChannel NbTime Data 10000StatusWord CountGEO Address TDC V1290 … Particle Event M Data: Board Manufacturer Format Particle Event M+1 Data: Board Manufacturer Format … Data Type T = 1 for Trailing Edge Measurement Data

Linda R. Coney – 4 June 2009 Data Unpacking Classes

Linda R. Coney – 4 June 2009 Data Unpacking Classes  MDdataContainer - base class for all  MDEvent – handles sub and super events  MDeventFragment - container for the particle events, data from single board  MDpartEventXXX - classes manipulating the data (at event level) from each equipment using corresponding MDdataWordXXX class u MDpartEventV1724: GetPattern, GetChannelMask, GetTriggerTimeTag, GetSampleData (fADC) u MDpartEventV1290: GetHitMeasurement, GetHitType, GetHitChannel, GetNHits (TDC)  MDequipMap - Class using a hash to determine which object (MDpartEventXXX) can decode specific event, based on the Equipment Id of the event  MDdataWord - base class for word-level classes ( SetDataWord( void * d) )  MDdataWordXXX - classes implementing the data format (at word-level) of each equipment u MDdataWordV1724: GetSample u MDdataWordV1290: GetMeasurement, GetChannel, GetTDC, GetError, GetWordCount, GetBunchID, GetEventID u  MDdateFile - IO routines for the DATE raw data file  MDargumentHandler – class for manipulating command-line input

Linda R. Coney – 4 June 2009 Unpacking Flow Chart

Linda R. Coney – 4 June 2009 Online Monitoring

Linda R. Coney – 4 June 2009 Online Monitoring  Run unpacker on DATE data u Fill plots for each type of board s No geography information s No reconstruction s Boards have ID# but no information on what channel it is u Fill online monitoring histograms in real time while taking data u Use to debug operations u Provides data quality check u Provide graphical interface to display plots  There are 3 overall types of plots because there are 3 types of board u FADCs u Scalar u TDCs

Linda R. Coney – 4 June 2009 Scalar in DAQ  Scalars count hits inside the DAQ Spill Gate Part. Trigger Part. Trg Req. GVA1 GVA2 GVA3 CKOVA/B Clock 1MHz TOF0 Cumulative, average and Last Spill Available

Linda R. Coney – 4 June 2009 Online Monitoring Histograms  Example of monitoring plots from data run in November08  Preset histograms  TOF position info, Scalars

Linda R. Coney – 4 June 2009 Online Monitoring Actions  DAQ DATE Readout is finished   Create framework for decoding data   Implement unpacking for TOF, CKOV, KL   Test data readout, unpacking, and monitoring with real-time data   Include unpacking with G4MICE   Create online monitoring plots for TOF, CKOV   Upgrade FADC firmware (7/09) u Will decrease size of data  Modify FADC monitoring plots (7/09)  Implement unpacking for Tracker (08/09)  Create online monitoring plots for KL,Tracker, EMR (9/09, 2010)  Implement unpacking for EMR (2009)

Linda R. Coney – 4 June 2009 Online Reconstruction

Linda R. Coney – 4 June 2009 Online Reconstruction  G4MICE uses the unpacker to look at data from DATE  It then converts the raw data into information with physical meaning  Goal: u Provide a fixed set of histograms to be filled in real time during data taking u These histograms will contain quantities that can give information about the physics happening – first look at analysis quantities u Provides another data quality check s Are we taking the data we think we are? s Are the detectors & beam behaving as planned? u Provide graphical interface to display plots  Not meant to be final results  Collaboration chooses list of useful histograms

Linda R. Coney – 4 June 2009 Online Reconstruction Histograms  TOF u Reconstructed time-of-flight u Distribution in x, y across TOF0, TOF1, TOF2  2D x vs y  gives shape of beam  CKOV u Light yield  KL  EMR  Tracker(s) u Muon p x, p y, p z, p T, p at the 2 tracker reference planes u x,x’, y,y’ u 1D, 2D plots of position at 2 tracker reference planes u Light yield distributions for each station  PID determination  Beam emittance, amplitude

Linda R. Coney – 4 June 2009 Online Reconstruction Histograms  What is needed to produce these plots?  Online Reconstruction farm  G4MICE installed on farm  TOF reconstruction  CKOV reconstruction  Tracker reconstruction  KL reconstruction  Unpacking code for each detector  Check that G4MICE uses unpacker in a same way that Online Monitoring uses unpacker

Linda R. Coney – 4 June 2009 Current Status of Reconstruction  TOF Reconstruction and calibration well underway  CKOV reco same  Tracker reconstruction works

Linda R. Coney – 4 June 2009 Online Reconstruction Farm  Installed two farm computers in MICE control room March 09  Total of three quad-core processors  G4MICE installed on both  Tests run u Reconstructed tracker cosmic ray test data s 114 events/second u Ran simulation, digitization, and reconstruction of Step VI s Simulation: ~262 events/second s Simulation + Digi: ~236 events/second s Reconstruction: ~1920 events/second

Linda R. Coney – 4 June 2009 Online Reconstruction Histograms  What is needed to produce these plots?  Online Reconstruction farm   G4MICE installed on farm   TOF reconstruction   CKOV reco   Tracker reco   KL reco  Unpacking code for each detector u TOF, CKOV, GVA, KL  u Trackers, EMR (08/09, late 2009)  Check that G4MICE uses unpacker in same way that Online Monitoring uses unpacker u Can produce online monitoring plots with G4MICE  u Testing under way to compare to standard Online Monitoring plots (6/09)

Linda R. Coney – 4 June 2009 Conclusions  We are now able to u Read out and decode DATE DAQ from MICE beam data u Monitor Step I raw data quality and detector performance with Online Monitoring u Reconstruct TOF, CKOV, Tracker data  We will soon u Implement online reconstruction for Step I u Include tracker in online monitoring for Step II  We will eventually u Include necessary information for further steps u Routinely have shifters monitoring detectors and MICE physics in MLCR

The MICE Schedule Experiment designed to grow with each step providing important information