L1 DAQ 1 process per DAQ board L1 DAQ 1 process per DAQ board Trigger Distribution System BTF Beam Trigger BTF Beam Trigger 50 Hz L1 DAQ Event build L1.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

Kondo GNANVO Florida Institute of Technology, Melbourne FL.
6 Mar 2002Readout electronics1 Back to the drawing board Paul Dauncey Imperial College Outline: Real system New VFE chip A simple system Some questions.
UNIVERSITA’ DEGLI STUDI DI NAPOLI FEDERICO II Luigi Cimmino November 12 th, Tokyo INTERNATIONAL WORKSHOP ON MUON & GEO-RADIATION PHYSICS FOR EARTH.
Coupling an array of Neutron detectors with AGATA The phases of AGATA The AGATA GTS and data acquisition.
ACAT 2002, Moscow June 24-28thJ. Hernández. DESY-Zeuthen1 Offline Mass Data Processing using Online Computing Resources at HERA-B José Hernández DESY-Zeuthen.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/20 New Experiences with the ALICE High Level Trigger Data Transport.
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.
4 Dec 2001First ideas for readout/DAQ1 Paul Dauncey Imperial College Contributions from all of UK: result of brainstorming meeting in Birmingham on 13.
New Features of APV-SRS-LabVIEW Data Acquisition Program Eraldo Oliveri on behalf of Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer] NYC,
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
Understanding Data Acquisition System for N- XYTER.
DE/dx measurement with Phobos Si-pad detectors - very first impressions (H.P Oct )
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
1 VeLo L1 Read Out Guido Haefeli VeLo Comprehensive Review 27/28 January 2003.
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.
1 DAQ Update MEG Review Meeting, Feb. 17 th 2010.
The KLOE computing environment Nuclear Science Symposium Portland, Oregon, USA 20 October 2003 M. Moulson – INFN/Frascati for the KLOE Collaboration.
January 31, MICE DAQ MICE and ISIS Introduction MICE Detector Front End Electronics Software and MICE DAQ Architecture MICE Triggers Status and Schedule.
12GeV Trigger Workshop Christopher Newport University 8 July 2009 R. Chris Cuevas Welcome! Workshop goals: 1.Review  Trigger requirements  Present hardware.
News on GEM Readout with the SRS, DATE & AMORE
LHCb front-end electronics and its interface to the DAQ.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Kraków4FutureDaQ Institute of Physics & Nowoczesna Elektronika P.Salabura,A.Misiak,S.Kistryn,R.Tębacz,K.Korcyl & M.Kajetanowicz Discrete event simulations.
Florida Institute of Technology, Melbourne, FL
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
LC Power Distribution & Pulsing Workshop, May 2011 Super-ALTRO Demonstrator Test Results LC Power Distribution & Pulsing Workshop, May nd November.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
Yu. Guz 21/04/20061 Database usage by calorimeters Yu. Guz IHEP Protvino.
Software for the CMS Cosmic Challenge Giacomo BRUNO UCL, Louvain-la-Neuve, Belgium On behalf of the CMS Collaboration CHEP06, Mumbay, India February 16,
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
ALICE Offline Week October 4 th 2006 Silvia Arcelli & Chiara Zampolli TOF Online Calibration - Strategy - TOF Detector Algorithm - TOF Preprocessor.
Overview of PHENIX Muon Tracker Data Analysis PHENIX Muon Tracker Muon Tracker Software Muon Tracker Database Muon Event Display Performance Muon Reconstruction.
Pisa - Apr. 28th, The Trigger System Marco Grassi INFN - Pisa.
RD51 GEM Telescope: results from June 2010 test beam and work in progress Matteo Alfonsi on behalf of CERN GDD group and Siena/PISA INFN group.
S.MonteilPS COMMISSIONING1 MaPMT-VFE-FE ELECTRONICS COMMISSIONING AND MONITORING. OUTLINE 1)Ma-PMT TEST BENCHES MEASUREMENTS 2)VFE AND FE ELECTRONICS FEATURES.
PADME Kick-Off Meeting – LNF, April 20-21, DAQ Data Rate - Preliminary estimate Tentative setup: all channels read with Fast ADC 1024 samples, 12.
Jianming Qian, UM/DØ Software & Computing Where we are now Where we want to go Overview Director’s Review, June 5, 2002.
PHOTOTUBE SCANNING SETUP AT THE UNIVERSITY OF MARYLAND Doug Roberts U of Maryland, College Park.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Feb C.Smith UVA EC energy calibration – g13 pass0 For pass0 data were cooked with CALDB calibration constants reset to nominal 10 channels / MeV.
Digital Acquisition: State of the Art and future prospects
MonteCarlo Simulation
Emanuele Leonardi PADME General Meeting - LNF January 2017
Rainer Stamen, Norman Gee
Slow Control and Run Initialization Byte-wise Environment
DAQ ACQUISITION FOR THE dE/dX DETECTOR
Slow Control and Run Initialization Byte-wise Environment
Mauro Raggi PADME Kick-off meeting Frascati, 20th-21st April 2015
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
Database Replication and Monitoring
Simulation & Reconstruction
Iwaki System Readout Board User’s Guide
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
DCH FEE 28 chs DCH prototype FEE &
ALICE – First paper.
PADME L0 Trigger Processor
Commissioning of the ALICE HLT, TPC and PHOS systems
Off-line & GRID Computing
CMS Preshower: Startup procedures: Reconstruction & calibration
Emanuele Leonardi PADME General Meeting - LNF January 2017
Large CMS GEM with APV & SRS electronics
Example of DAQ Trigger issues for the SoLID experiment
Commissioning of the ALICE-PHOS trigger
The Trigger System Marco Grassi INFN - Pisa
The CMS Tracking Readout and Front End Driver Testing
Front-end Electronics for the LHCb Preshower Rémi CORNAT, Gérard BOHNER, Olivier DESCHAMPS, Jacques LECOQ, Pascal PERRET LPC Clermont-Ferrand.
Emanuele Leonardi PADME Weekly Meeting - LNF February 9th, 2018
Presentation transcript:

L1 DAQ 1 process per DAQ board L1 DAQ 1 process per DAQ board Trigger Distribution System BTF Beam Trigger BTF Beam Trigger 50 Hz L1 DAQ Event build L1 DAQ Event build L0 DAQ 1 process per DAQ board ADC zero suppression L0 DAQ 1 process per DAQ board ADC zero suppression Target 64ch FADC Target 64ch FADC Spectrometer Veto 200 ch FADC/TDC Spectrometer Veto 200 ch FADC/TDC High Energy Positron veto 64ch FADC/TDC High Energy Positron veto 64ch FADC/TDC ECAL 656 ch FADC ECAL 656 ch FADC SAC 32 ch FADC SAC 32 ch FADC Temporary disk buffer RAW data PADME experiment site Trigger signal Data flow Central Data Recording Facility Neutral Filter (Inv) 1 or more ECAL clusters Charged Filter (Vis) 2 or more tracks 29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing2 Run Control Other Trigger Other Trigger PADME DAQ Schema

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing3 CAEN V1742 Switched capacitor digitizer based on DSR4 chip 32 channels (+ 2x2 triggers) 1 Vpp on 12 bits GHz 181 μs dead time 80 MB/s optical link to A2818/A3818 PCI controllers CAEN V1742 Switched capacitor digitizer based on DSR4 chip 32 channels (+ 2x2 triggers) 1 Vpp on 12 bits GHz 181 μs dead time 80 MB/s optical link to A2818/A3818 PCI controllers Ch 0-7 Ch 8-15 Ch Ch TR0 TR1 Optical link External clock I/O Start/Stop DAQ Two V1742 boards (64 chns) and 1 A3818 controller (2 optical links) are currently available and will be used during the November test beam To ensure multi-board synchronization: Centralized trigger signal distribution Control DAQ Start/Stop via S_IN Synchronous reset of trigger time tag Use an external clock source for all boards to avoid inter-board time drift O(1 ppm) To ensure multi-board synchronization: Centralized trigger signal distribution Control DAQ Start/Stop via S_IN Synchronous reset of trigger time tag Use an external clock source for all boards to avoid inter-board time drift O(1 ppm) N.B. All this requires dedicated hardware interacting with the Run Control

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing4 1 V 1024 ns Trigger line ADC sampling window BGO signal Set timing of sampling window wrt trigger signal (Post Trigger) to: get as much as possible of the signal shape keep a bit of pre-signal baseline for pedestals and zero suppression (see later) Set DC Offset of sampling window to: keep as much as possible of signal dynamics keep baseline including pre-’CAEN correction’ noise fluctuations DC Offset Post Trigger CAEN V1742 configuration

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing5 PadmeDAQ Handles DAQ for a single V1742 board Written in C, uses CAENDigitizer libraries Collects data from V1742 board Applies DSR4 corrections (from CAEN)  Sample size: 12bit  16bit Applies zero-suppression (see next slide) Writes data to file in DAQ-format  Modeled on V1742 native data format Logs process info to Database  Start/Stop time, File list and sizes, #Events To be replaced by S_IN-controlled DAQ Start/Stop 22bit Event Counter: <24h 50Hz 31bit Trigger Time Tag: ~18s 58.6MHz N.B. Tested up to 250Hz Reading many events in a go improves efficiency

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing6 Zero Suppression ECAL expected occupancy: O(1 channel/event)+noise Most of the channels will be empty most of the times Zero-suppression will substantially reduce the amount of data saved to disk Expect a factor O(50) reduction Algorithm Start ADC acquisition window ~100ns before start of spill Use first 80 ADC samples to compute Baseline and RMS Define threshold at Baseline-X*RMS Find largest set of consecutive samples below threshold If largest set contains more than N samples, channel is accepted X,N can be used to tune the algorithm Note: zero-suppression can be applied on a per-board basis E.g.: ON for ECAL and veto, OFF for Target and SAC

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing7 Preliminary test on 3x3-crystals detector.  Signal: test beam (500 MeV), ~4.5K events  Noise: off-beam (i.e. empty + cosmic ray), ~30K events Apply zero suppression with different values of X,N X=3, N=4  ~15000 noise reduction factor, <10 -4 inefficiency Need to study efficiency as a function of energy released in the crystal

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing8 Run Control  Written in Python  uses Tkinter graphical library  Interacts with:  User via GUI  DAQ processes o Create configuration files o Spawn processes  Trigger Controller  DAQ Start/Stop Controller  Database  Currently allows:  Set run number/type  Load predefined DAQ setup  Init/Start/Stop run  Create Run structure in DB  View DAQ log files in real time To Do

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing9 Level1 Read content of DAQ files from different boards and build merged events Write merged events to ROOT file in RAW Event format Can get the set of files to merge: 1.from the DB by specifying the run to merge 2.from a user-defined list of files To Do: Define absolute time for event Create L1 filtering algorithms  Neutral filter: 1 or more ECAL clusters  Charged filter: 2 or more tracks TRawEvent UInt_tfRunNumber UInt_tfEventNumber UChar_tfNADCBoards TClonesArray*fADCBoards TADCBoard UChar_tfBoardId UShort_tfLVDSPattern UChar_tfStatus UChar_tfGroupMask UInt_tfEventCounter UInt_tfEventTimeTag UInt_tfActiveChannelMask UInt_tfAcceptedChannelMask UChar_tfNADCChannels TClonesArray*fADCChannels UChar_tfNADCTriggers TClonesArray*fADCTriggers TADCChannel UChar_tfChannelNumber UShort_tfSamples[1024] TADCTrigger UChar_tfGroupNumber UShort_tfStartIndexCell UChar_tfFrequency Bool_tfTriggerSignal UInt_tfTriggerTimeTag UShort_tfSamples[1024] RAW Event Structure (preliminary) RAW Event Structure (preliminary) Need a map to match BoardId with connected Detector/Channels

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing10 Database Currently implemented with SQLite3 Will use MySQL Local MySQL server at the experiment with only DAQ/DCS related info Central MySQL server (LNF IT?) with full information  Detector geometry  Calibration constants  DAQ configurations  Detector conditions  Data Files/Replicas

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing11 Detector Control System Investigating the UDOO platform Freescale i.MX6 ARM Cortex-A9 (4-core/1 GHz) Atmel SAM3X8E ARM Cortex-M3 (= Arduino DUE) 76 GPIO (compatible with Arduino DUE shields) RAM 1 GB Gigabit Ethernet + WiFi SATA connector Linux (UDOObuntu, Debian Wheezy, Archlinux) Runs all Arduino DUE sketches 99€ per board (~150€ inc. VAT, power, SD card, case,…)

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing12 THIN RECO Experiment TDAQ DCS RAW Calibration Data Conditions Calibration Constants Configuration RECO THIN Calibration Reconstruction Monte Carlo Simulation SIMU Skim Analysis Streams File Data Format DB Data Format Data Processing Data Producer Data Consumer Legenda PADME Dataflow Model

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing13 Software Management We are creating a software management area on the GitHub system → functionalities similar to SVN/CVS Anybody can read the area (¡¡¡ No sensitive data/passwords !!!) Only invited users can commit software Detailed information to access the area and retrieve/commit software will be circulated as soon as the initial structure is in place. PackageLanguageLibrariesDescription PadmeDAQCCAENDigitizerADC board control and data acquisition RunControlPythonTkinterControl of DAQ process Level1C++Event build and filtering PadmeMCC++Geant4Detector simulation PadmeRecoC++Detector reconstruction PadmeAnalysisC++Physics analysis PadmeRootC++RootPersistency library PadmeDBC++MySQLDB-interaction library

29/10/15Emanuele Leonardi - PADME C.M. 29/10/ DAQ & Computing14 Conclusions Basic DAQ structure is in place and will be used for November test beam  Configure CAEN V1742 ADC boards and read data  Merge data from multiple ADC boards into single event  Handle event timing synchronization  Write RAW events to ROOT files  User GUI to control DAQ Zero suppression implemented in DAQ and under study Database structure under development First ideas for DCS (UDOO board) Software management with Git/GitHub