TREND DAQ meeting IHEP, September 7, 2012.

Slides:



Advertisements
Similar presentations
The Tianshan Radio Experiment for Neutrino Detection Genesis & status of the TREND project Autonomous radio-detection of air showers.
Advertisements

TREND DAQ proposal Version II. Trigger module (see C) Trigger inhibit Trigger bypass Threshold value Trigger order FPGA Antenna signal Ch1 Antenna signal.
MEG Experiments Stimulation and Recording Setup Educational Seminar Institute for Biomagnetism and Biosignalanalysis February 8th, 2005.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Large scale data flow in local and GRID environment V.Kolosov, I.Korolko, S.Makarychev ITEP Moscow.
TREND simulation step by step Gu Junhua, Olivier Martineau-Huynh & Valentin Niess March 21st 2014.
Andrei Sukhanov, BNL 1 DAQ status. Performance of the Mercury part of the DAQ = 234 Hz. Receiving program on vmesparc receives the event from Mercury and.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
Gretina data flow and formats Chris Campbell LBL.
I.3. The Tianshan Radio Experiment for Neutrino Detection Olivier Martineau-Huynh TREND workshop, April 19, 2013.
TREND program : establish possibility of automous radio-detection of EAS : 6 antennas to define DAQ and analysis algorithm 2010: 15.
Test Of Distributed Data Quality Monitoring Of CMS Tracker Dataset H->ZZ->2e2mu with PileUp - 10,000 events ( ~ 50,000 hits for events) The monitoring.
VC Feb 2010Slide 1 EMR Construction Status o General Design o Electronics o Cosmics test Jean-Sebastien Graulich, Geneva.
6-10 Oct 2002GREX 2002, Pisa D. Verkindt, LAPP 1 Virgo Data Acquisition D. Verkindt, LAPP DAQ Purpose DAQ Architecture Data Acquisition examples Connection.
ATLAS Liquid Argon Calorimeter Monitoring & Data Quality Jessica Levêque Centre de Physique des Particules de Marseille ATLAS Liquid Argon Calorimeter.
KLOE Computing Update Paolo Santangelo INFN LNF KLOE General Meeting University of Rome 2, Tor Vergata 2002, December
Front End DAQ for TREND. 2 Introduction: analog part 2015, feb 10 th.
Fast Crash Recovery in RAMCloud. Motivation The role of DRAM has been increasing – Facebook used 150TB of DRAM For 200TB of disk storage However, there.
Online Reconstruction used in the Antares-Tarot alert system J ü rgen Brunner The online reconstruction concept Performance Neutrino doublets and high.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
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.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 Parallel - DAQ Status, Emlyn Corrin, 8 Oct 2007 EUDET Annual Meeting, Palaiseau, Paris DAQ Status.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
Jefferson Laboratory Hall A SuperBigBite Spectrometer Data Acquisition System Alexandre Camsonne APS DNP 2013 October 24 th 2013 Hall A Jefferson Laboratory.
Performance of PHENIX High Momentum Muon Trigger.
(s)T3B Update – Calibration and Temperature Corrections AHCAL meeting– December 13 th 2011 – Hamburg Christian Soldner Max-Planck-Institute for Physics.
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
Large scale data flow in local and GRID environment Viktor Kolosov (ITEP Moscow) Ivan Korolko (ITEP Moscow)
LHCbComputing Computing for the LHCb Upgrade. 2 LHCb Upgrade: goal and timescale m LHCb upgrade will be operational after LS2 (~2020) m Increase significantly.
Markus Frank (CERN) & Albert Puig (UB).  An opportunity (Motivation)  Adopted approach  Implementation specifics  Status  Conclusions 2.
DAQ Selection Discussion DAQ Subgroup Phone Conference Christopher Crawford
TREND DAQ BASIC PRINCIPLES … Antennas DAQ ADC Trigger condition: Max > N.σ ??? First level trigger: Nant > 3 antennas ? -By antenna : - 1 data file (Nevent.
IRFU The ANTARES Data Acquisition System S. Anvar, F. Druillole, H. Le Provost, F. Louis, B. Vallage (CEA) ACTAR Workshop, 2008 June 10.
32nd International Cosmic Ray Conference August 2011, Beijing China First detection of extensive air showers by the TREND self-triggering radio experiment.
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.
5th FCPPL Workshop March 2011, Paris, France Status of the TREND experiment Thomas Saugrin (NAOC)
Some thoughs about trigger/DAQ … Dominique Breton (C.Beigbeder, G.Dubois-Felsmann, S.Luitz) SuperB meeting – La Biodola – June 2008.
ScCAL Data Acquisition System
"North American" Electronics
Andreas Horneffer for the LOFAR-CR Team
RF acceleration and transverse damper systems
Front-end Electronic for a neutrino telescope : a new ASIC SCOTT
Data providers Volume & Type of Analysis Kickers
GRANDproto Principle & Status
Modifications to the DRS4’s code
Baby-Mind SiPM Front End Electronics
Calicoes Calice OnlinE System Frédéric Magniette
The Goal: illusion of large, fast, cheap memory
LHC experiments Requirements and Concepts ALICE
Computing model and data handling
Enrico Gamberini, Giovanna Lehmann Miotto, Roland Sipos
Cache Memory Presentation I
Toward a costing model What next? Technology decision n Schedule
Run experience Cover FW SRB FW DAQ and monitoring
ILD Ichinoseki Meeting
Cache Memories September 30, 2008
Example of DAQ Trigger issues for the SoLID experiment
Special edition: Farewell for Stephen Bailey
Alberto A. Colavita, INFN, TS
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
Special edition: Farewell for Eunil Won
On behalf of the Caltech Laser Group
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
The CMS Tracking Readout and Front End Driver Testing
LHC BLM Software audit June 2008.
Beam Synchronous Acquisition on IOC
Emanuele Leonardi PADME Weekly Meeting - LNF February 9th, 2018
The LHCb Front-end Electronics System Status and Future Development
On behalf of the CEPC MOST2 Vertex detector design team
Presentation transcript:

TREND DAQ meeting IHEP, September 7, 2012

Agenda DAQ status & implementation Limitations & upgrades Automatization (Fabio) DAQ treatment vs writing speed… Can we improve it? Online monitoring Pretreatment @ Ulastai Offline software Structure modification with pretreatment@Ulastai Move to France-Asia VO (+ job management with Dirac)?

Trigger principle / Buffer analysis On each machine uNANT (NANT in 101-158): For every new buffer, compute snoise over 1024 samples of 1st sub-buffer. If sample i with amplitude Ai > N x snoise , trigger of level T0 on this antenna. 6<N<10. T1: If at least 4 antennas have T0 triggers within a causal time window (Dt<DL/c), then data is sent to disk on machine u183 for all antennas with T0s to data file R[NRUN]_A[NANT]_data.bin: 1024 samples centered on sample i to time file R[NRUN]_A[NANT]_time.bin : UNIX second of sample i Buffer index of sample i Subbuffer index of sample i Position of sample i in subbuffer. Code in C. Master program in python. 5 snoise N x snoise

DAQ structure ADC writes: 228 samples at 200MSamples/s : ~ 1.34s Odd buffer ADC writes: 228 samples at 200MSamples/s : ~ 1.34s Even buffer CPU reads: Selects T0s Sends to master (u183) Receives T1 decisions Writes to u183 disk

DAQ: data process time Averaged over Feb-June 2012 (70 days acquisition) Very preliminary analysis Full process time ()~ ADC write time T1 () is (very) fast… mostly waiting for all antennas to send their T0s. T0 () large on some slow antennas (110, 111, 117, 118, 133, 138, 153, 157). Fraction of buffer skipped () is ~20% at crosspoint, <10% at East. 10 antennas with T0 rate> 256/buffer for 20% of time () Acquisition close to limit!

T0 treatment time  East arm antennas [101-120] Some antennas are alwaysslower than the others, not depending on trigger conditions, process (crosspoint or east), etc. Theses machines could be the bottle neck of the DAQ treatment. To be checked. Cross point antennas [121-158]  East arm antennas [101-120]  Antennas 110, 111, 117, 118, 130, 133, 138, 153, 157

Stalling DAQ Period of log writing can differ from the expected 1.34s (once per loop)… DAQ seems to stale sometimes. Together with DAQ crashes, stalling DAQ accounts on average for a loss of 30% of acq. time (up to 45% for some antennas) Antenna 121: no more log entry after 1500 mins Antenna 101: log entry up to 4500 mins Log entry ID Time [mn] Log entry Dt [seconds] Antenna 101: one log entry ~80s after the previous one. Antenna 101: most Dt=1.34s (as expected) ex:R3711 Total acquisition time  Antenna monitored (PSD measurement present)  DAQ out (crashes + stalled DAQ)  Antenna up (PSD OK)

CONSECUTIVE COINCIDENCES DATA PREPROCESSING: CONSECUTIVE COINCIDENCES Example of run 3577 49 antennas Total duration: ~38h30 Number of events: 4.452.938 Number of coincs: 633.918 Coincidence rate (Hz) Time (s)

CONSECUTIVE COINCIDENCES DATA PREPROCESSING: CONSECUTIVE COINCIDENCES Rejection of events with Δt consecutive = n.10 ms Main source of pollution: power line (50Hz) On run 3577: 67.406 coincidences remaining (89% rejection) Influence on acceptance? (mainly cross-point events, estimated dead-time ~10%) 10 ms Coincidence rate (Hz) Time (s)

(Matlab) offline code for the rejection of consecutive coincs while Ref<size(Evt,1) % List of hit antennas for ref event TagRef=find(Tag(Ref,:)==1); % List of hit antennas for following event TagCons=find(Tag(Ref+1,:)==1); % Minimal time on ref antenna TimeRef=min(Time(Ref,TagRef)); % Minimal time on following antenna TimeCons=min(Time(Ref+1,TagCons)) % Common antennas on both events ComAnt=intersect(TagRef,TagCons); if ~isempty(ComAnt) TimeDiffTotal=Time(Ref+1,ComAnt)-Time(Ref,ComAnt); TimeDiff(Ref)=min(TimeDiffTotal); else % No antennas in common between the 2 cons coincs TimeDiffTotal=0; TimeDiff(Ref)=mean(Time(Ref+1,TagCons))-mean(Time(Ref,TagRef)); EvtFlag(Ref)=1; end; % params rejection freqpeak=10e-3; % peak every 10 ms lowerlimit=1e-3; % reject all events under limit=3e-3; nsigma=2; % Select cons coincs with Delta time < 100 ms ind=find(TimeDiff<100e-3); Deltat=TimeDiff; if ConsCoincCompleteRejection==0 % Reject all coincs with Delta<3ms indlow=find(Deltat<lowerlimit); Reject(indlow)=1; Reject(end)=0; %% last one TimeDiff=0 for sure, avoid direct rejection % loop on all peaks for i=10e-3:freqpeak:upperlimit % Get coincs with DeltaT in range N.10ms ±3ms inddt=find(Deltat<i+limit & Deltat>i-limit); [a,b]=hist(Deltat(inddt),min(Deltat(inddt)):0.5e-3:max(Deltat(inddt))); Dtmax=b(find(a==max(a))); if ~isempty(Dtmax) Dtmax=Dtmax(1); indmax=find(abs(Deltat-Dtmax)==min(abs(Deltat-Dtmax))); if length(indmax>1) indmax=indmax(1); indzone=find(Deltat<Deltat(indmax)+limit & Deltat>Deltat(indmax)-limit); stdzone=std(Deltat(indzone)); % rejection indreject=find(Deltat<Deltat(indmax)+nsigma*stdzone & Deltat>Deltat(indmax)-nsigma*stdzone); Reject(indreject)=1; if indreject+1<=size(Evt,1) Reject(indreject+1)=1; % reject consecutive event clear inddt indzone indmax Dtmax else Only requires list of triggered antennas & their trigger time Very short Straightforward

50 parallel & identical chains DAQ room scans ADC 8bits 200 MS/s Circular buffer 200MB computer u101 CPU (trigger) U183 300G disk Optical receiver 64dB ampli+ 50-100MHz filter Data file u101 Triggered events Antenna 101 Time file u101 Optical fiber 100m<d<4km 1 triggered event = 4 words in time file & 1024 samples in data file computer u001 (ADCs init) start signal 50 parallel & identical chains 50 parallel & identical chains scans ADC 8bits 200 MS/s Circular buffer 200MB computer u158 CPU (trigger) Optical receiver 64dB ampli+ 50-100MHz filter Data file u158 Triggered events Antenna 158 Time file u158

Buffer structure Buffer structure Buffer 200MB (268 435 456 samples) 1.34 s of data with ADC @ 200MSamples/s subbuffer n°1 (1024 samples) subbuffer n°262 144 subbuffer n°262 143 subbuffer n° 2 (1024 samples) 2 buffers on each machine u101 – u158. 1 buffer is 200MB (ie 228 bytes). ADC flow synchronous on all machines thanks to start signal sent simultaneously to all ADCs by machine u001. ADC running at 200MSamples/s (5 ns per sample) Buffer = 1.34 s of data If buffer full, ADC flow to second buffer. When buffer fully analysed (see next slide), buffer cleared.