Gretina data flow and formats Chris Campbell LBL.

Slides:



Advertisements
Similar presentations
ReA12 separator Chris Campbell July 12, 2014.
Advertisements

Detector Characterisation Group
PXL RDO System Requirements And meeting goals 11/12/2009BNL_CD-1_SENSOR_RDO - LG1.
A scalable DAQ system using the DRS4 sampling chip H.Friederich 1, G.Davatz 1, U.Hartmann 2, A.Howard 1, H.Meyer 1, D.Murer 1, S.Ritt 2, N.Schlumpf 2 1.
BGS Data Analysis, Calibration & Non-Linearity Correction Heather L. Crawford Nuclear Science Division Lawrence Berkeley National Laboratory GRETINA Software.
Coupling an array of Neutron detectors with AGATA The phases of AGATA The AGATA GTS and data acquisition.
Software Defined Radio Brad Freyberg, JunYong Lee, SungHo Yoon, Uttara Kumar, Tingting Zou Project Description System Design The goal of our project is.
RENO Electronics - QBEE - 장 지 승 ( 전남대학교 ) RENO Collaboration Meeting,
Gamma-Ray Energy Tracking Array GRETINA The 11 th International Conference on Nucleus-Nucleus Collisions May 27- June1, 2012, San Antonio TX I-Yang Lee.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
Coupling Neutron Detector array (NEDA) with AGATA The AGATA Front-End processing Electronics & DAQ The AGATA Trigger and Synchronization (GTS) Coupling.
Understanding Data Acquisition System for N- XYTER.
David Abbott - JLAB DAQ group Embedded-Linux Readout Controllers (Hardware Evaluation)
A Front End and Readout System for PET Overview: –Requirements –Block Diagram –Details William W. Moses Lawrence Berkeley National Laboratory Department.
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
21-Aug-06DoE Site Review / Harvard(1) Front End Electronics for the NOvA Neutrino Detector John Oliver Long baseline neutrino experiment Fermilab (Chicago)
Development of an ASIC for reading out CCDS at the vertex detector of the International Linear Collider Presenter: Peter Murray ASIC Design Group Science.
First ideas for the Argontube electronics Shaper, simulations Block Diagram for analog path Delta Code Data Reduction Bus system, Controller Max.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Physics 335 project update Anton Kapliy April 2007.
Upgrade to the Read-Out Driver for ATLAS Silicon Detectors Atlas Wisconsin/LBNL Group John Joseph March 21 st 2007 ATLAS Pixel B-Layer Upgrade Workshop.
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.
NUMI Off Axis NUMI Off Axis Workshop Workshop Argonne Meeting Electronics for RPCs Gary Drake, Charlie Nelson Apr. 25, 2003 p. 1.
2003 Conference for Computing in High Energy and Nuclear Physics La Jolla, California Giovanna Lehmann - CERN EP/ATD The DataFlow of the ATLAS Trigger.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
SoLiD/PVDIS DAQ Alexandre Camsonne. DAQ limitations Electronics Data transfer.
 Digitisation P.Medina  Pre-processing I.Lazarus GTSM.Bellato GTSM.Bellato  PSA P.Desesquelle R.Gernhäuser 7 th AGATA Week, Uppsala, July 8-11, 2008.
Trigger and DAQ System Zhao Jing Wei Sept. 2002, BESIII review, Beijing Outline Trigger system Event rate estimation Principle of design Scheme Monte Carlo.
21 September 2012 GRETINA SWG GRETINA SWG Meeting Carl Lionberger LBNL GRETINA DAQ Implementation.
Physics 335 project update Anton Kapliy April 2007.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
5 June 2002DOM Main Board Engineering Requirements Review 1 DOM Main Board Software Engineering Requirements Review June 5, 2002 LBNL Chuck McParland.
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish.
TPC electronics Status, Plans, Needs Marcus Larwill April
Gammasphere ATLAS Users Meeting August 8, Gammasphere Array P/T ~ 55% (insitu)‏ P/T ~ 15% Note: 68% P/T achieved on bench. Fully loaded, Gammasphere.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
BLM Meeting 10/18/2010 Drennan 1 Booster BLM Upgrade Specification Development September 2010 Craig Drennan.
DAQ Selection Discussion DAQ Subgroup Phone Conference Christopher Crawford
Vladimir Zhulanov for BelleII ECL group Budker INP, Novosibirsk INSTR2014, Novosibirsk 2014/02/28 1.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Digital Gammasphere ATLAS Users Workshop Argonne National Laboratory May 15, 2014 Michael P. Carpenter Cast of Characters: M. Albers, A. M. Alcorta, J.
IRFU The ANTARES Data Acquisition System S. Anvar, F. Druillole, H. Le Provost, F. Louis, B. Vallage (CEA) ACTAR Workshop, 2008 June 10.
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.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
Gianluca Lamanna TDAQ WG meeting. CHOD crossing point two slabs The CHOD offline time resolution can be obtained online exploiting hit position.
Digital Acquisition: State of the Art and future prospects
DAQ ACQUISITION FOR THE dE/dX DETECTOR
ATLAS Pre-Production ROD Status SCT Version
Front-end Electronic for a neutrino telescope : a new ASIC SCOTT
14-BIT Custom ADC Board Rev. B
Iwaki System Readout Board User’s Guide
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
TREND DAQ meeting IHEP, September 7, 2012.
PADME L0 Trigger Processor
GRETINA Gamma-ray Tracker Status and EPICS Usage
הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
Example of DAQ Trigger issues for the SoLID experiment
BESIII EMC electronics
Hall D Trigger and Data Rates
The CMS Tracking Readout and Front End Driver Testing
New DCM, FEMDCM DCM jobs DCM upgrade path
August 19th 2013 Alexandre Camsonne
for the trigger subsystem working group:
Presentation transcript:

Gretina data flow and formats Chris Campbell LBL

Mode 1 Tracked data Interactions grouped and ordered Includes Mode 2 data Mode 2 Interaction points by crystal Crystal: Energy, position, time Interactions: Energy split and position in crystal Mode 3 Data organized by digitizer channels Header + waveform Header holds channel ID, filter data, time stamps

Data Flow & order of talk Digitizer Mode 3 Decomposition Mode 2 Tracking Code Mode 1

Gretina Digitizer (LBL) Flash ADC – 100 MHz – 14 bit – 200 MB/sec of waveforms/channel Seven Gretina modules – 28 crystals – 40 channels/crystal – 1120 channels Full system waveform rate – 224 GB/sec – GRETA ~ 1 TB/sec So, we select the data! Written each CC trigger Filter & Waveform Data moved on Trigger system validation Pre Buffer Read by IOC Output FIFO

Gretina DAQ (I) Each of the 28 crystals has: Separate VME backplane and IOC Slow control in EPICS Reads & timesorts digitizer data Passes data to compute cluster 4 LBNL Digitizer Modules 10 channels (9 segments + core) 1 Flash ADC / ch, 14bit 100MHz On-board FPGA filters Energy (trapezoid) Leading Edge (trigger primitive) Pole-zero correction Baseline Restoration Event data includes: Timestamp Filter data Waveform subset

Gretina DAQ (I) Trigger system: 5 ANL Trigger modules 1 Master + 4 Routers Master clock distribution Multiple trigger types Multiplicity External (coincidence) Isomer Sum Energy Event validation by timestamp broadcast

Computing: Mode 3 Segment events Raw Sender Global Event Builder Data from Auxiliary Detectors Analysis & Archiving Data from GRETINA Detectors 70 nodes 2 cpu / node 4 core / cpu Crystal Event Builder Crystal events 40 channels per detector This is where “events” may be defined!

GEB (Global Event Builder) packets GEB header Type Payload size (bytes) Timestamp Gretina, S800, Non-Event, Etc. Data are not modified or read by the Global event builder

Global event builder Non- event data Gretina Mode 2 or 3 S800 event data Data are sorted according to GEB header timestamp Sorted data is held until it is older than the newest data by a number of seconds. This correlation time is set by the user. GEB is a data bottleneck.

Mode 3 format, 1 channel To eventually get Mode 2 (interaction positions) – Take data for all 40 channels for a triggered crystal – TTCS Mode – Collect ~ 2  s (200 samples) of waveform data – Thus, 16kB/triggered crystal hit For energy calibration, – Read only hit (net charge) channels – Internal Mode – Collect minimal waveform, typically 6 samples for baseline – Typically, 200 – 300 B/triggered crystal hit

Mode 3 to disk Limitations: – 1 MB output FIFO per Digitizer board – 20MB/sec total VME readout by IOC – 60MB/sec maximum sustained Gretina DAQ to disk Estimates: – Room Background ~100Hz/crystal => 1.6MB/sec/crystal 28 crystals => 45MB/sec – 1  Ci source ~600Hz/crystal => 10MB/sec/crystal 28 crystals => 280MB/sec Mode 3 Calibrations are hard! – Imposed dead time system implemented by toggling trigger – System fails at >~2kHz / crystal – Limits calibration sources!!!

This is where “events” may be defined! Computing: Mode 2 Crystal Event Builder Segment events Crystal events Signal Decomposition Interaction points Global Event Builder 40 channels per detector 1-28 crystals Data from Auxiliary Detectors Analysis & Archiving Data from GRETINA Detectors Goal: Processing 20,000 Gamma rays /sec 70 nodes 2 cpu / node 4 core / cpu Parallelism: 4 Decomp instances per crystal

struct crys_intpts { int type; /* defined as abcd5678 */ int crystal_id; int num; /* # of int pts from decomp, or # of nets on decomp error */ float tot_e; /* dnl corrected */ int core_e[4]; /* 4 raw core energies from FPGA filter (no shift) */ long long int timestamp; long long trig_time; /* not yet impl */ float t0; float cfd; float chisq; float norm_chisq; float baseline; float prestep; /* avg trace value before step */ float poststep; /* avg trace value following step */ int pad; /* non-0 on decomp error, value gives error type */ struct { float x, y, z, e; /* here e refers to the fraction */ int seg; /* segment hit */ float seg_ener; /* energy of hit segment */ } intpts[MAX_INTPTS]; }; Decomposition – Mode 2 format Pros Smaller data, ~450bytes Directly useful for physics Cons Waveform data is lost

Mode 2 Data Flow for 1kHz/crystal IOC 16 MB / sec / bank from VME, to 4 Decomps System: 450 MB / sec to Cluster, ok 10Gb link~1.2GB/sec Decomp 8 MB / sec into each node (2 Decomps) from IOC’s Each 16kB crystal event => ~450B Mode2 250 kB / sec / node sent to GEB GEB 15 MB / sec Total received from 56 nodes Disk Limitation of 60 MB / sec not a problem When is time-sorting a limiting factor?

Computing: Mode 1 Crystal Event Builder Segment events Crystal events Signal Decomposition Interaction points Global Event Builder Tracking 40 channels per detector 1-28 crystals Global Events Data from Auxiliary Detectors Analysis & Archiving Data from GRETINA Detectors Goal: Processing 20,000 Gamma rays /sec 70 nodes 2 cpu / node 4 core / cpu This is where “events” may be defined!

Mode 1 format No loss of information going from Mode2 to Mode1 Tracking is tacked onto the corresponding Mode2 data. Events must be defined to track! typedef struct CL_INTPTS { float xx, yy, zz; float edet; int order; /* 0 == first interaction point */ long long int timestamp; int shellHitPos; /* internal use only */ int detno; /* not sure it is used or meaningful */ } CL_INTPTS; typedef struct CLUSTER_INTPTS { int valid; /* alway 1 in output, may be zero internally */ int ndet; /* # interaction points */ int tracked; /* ==1 if we managed to track */ float fom; /* fom value for the tracking */ float esum; /* gamma ray energy */ int trackno; int bestPermutation; int processsed; /* not used now */ CL_INTPTS intpts[MAX_NDET]; } CLUSTER_INTPTS;

Modes/Formats change history 9/2011 – GEB headers added 3/2012 – Mode2&3 parallel file recording 7/2012 – Mode 2 upgraded – DNL correction added to Mode2 9/2012 – Scaler/diagnostic data to be added GEB headers list #define GEB_TYPE_DECOMP 1 #define GEB_TYPE_RAW 2 #define GEB_TYPE_TRACK 3 #define GEB_TYPE_BGS 4 #define GEB_TYPE_S800_RAW 5 #define GEB_TYPE_NSCLnonevent 6 #define GEB_TYPE_GT_SCALER 7 #define GEB_TYPE_GT_MOD29 8 #define GEB_TYPE_S800PHYSDATA 9