New zero suppression in simulation: current status David Adams BNL November 30, 2015 DUNE DAQ Updated: 13:20 EST.

Slides:



Advertisements
Similar presentations
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Advertisements

Copyright Kenneth M. Chipps Ph.D. How to Use a Spectrum Analyzer Wi-Spy Version Last Update
Analysis of chip with 100 events, July 2001 Variation in pixel to pixel average ADC values (fixed pattern noise) Pixel ADC value event to event repeatability.
Adding electronic noise and pedestals to the CALICE simulation LCWS 19 – 23 rd April Catherine Fry (working with D Bowerman) Imperial College London.
LHC Collimation Working Group – 19 December 2011 Modeling and Simulation of Beam Losses during Collimator Alignment (Preliminary Work) G. Valentino With.
1 Scintillating Fibre Cosmic Ray Test Results Malcolm Ellis Imperial College London Monday 29 th March 2004.
CC analysis progress This talk: –A first attempt at calculating CC energy sensitivity using the Far Mock data MC files with full reconstruction. –Quite.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Veto Wall Test Hyupwoo Lee MINERvA/Jupiter Group Meeting Oct, 3, 2007.
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.
SpillServer and FD neutrino events As part of my CC analysis studies, I have been attempting to isolate beam neutrino candidates in the FD using both scanning.
Status of  b Scan Jianchun Wang Syracuse University Representing L b scanners CLEO Meeting 05/11/02.
A.Chekhtman1 GLAST LAT ProjectInstrument Analysis meeting, June, 24, 2005 CAL retriggering study with SLAC data. Alexandre Chekhtman NRL/GMU Gamma-ray.
Octal ASD Certification Tests at Michigan J. Chapman, Tiesheng Dai, & Tuan Bui August 30, CERN.
1 Calice Analysis Meeting 13/02/07David Ward Just a collection of thoughts to guide us in planning electron analysis In order to end up with a coherent.
An offline look at TIF data David Stuart UC Santa Barbara May 2, 2007.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
1 Alessandra Casale Università degli Studi di Genova INFN Sezione Genova FT-Cal Prototype Simulations.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
#3191, 14 Oct 2012 Cabling installed to allow fast BPM electronics on injector BPMs System is flexible enough to allow different INJ-BPMs to be used (not.
1 xCAL monitoring Yu. Guz, IHEP, Protvino I.Machikhiliyan, ITEP, Moscow.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
1 Report on analysis of PoGO Beam Test at Spring-8 Tsunefumi Mizuno July 15, 2003 July 21, 2003 revised August 1, 2003 updated.
STAR Collaboration Meeting, BNL, Feb 2005 Alexandre A. P. Suaide University of Sao Paulo Slide 1 BEMC software update L3 display 200 GeV February.
Study of neutrino oscillations with ANTARES J. Brunner.
Study of neutrino oscillations with ANTARES J. Brunner.
1 New Results on  (3770) and D Mesons Production and Decays From BES Gang RONG (for BES Collaboration) Presented by Yi-Fang Wang Charm07 Cornell University,
1 A first look at the KEK tracker data with G4MICE Malcolm Ellis 2 nd December 2005.
Hycal Energy Resolution, Timing, &Trigger Efficiency, A cumulative study. Chris Mauney.
Computer simulation Sep. 9, QUIZ 2 Determine whether the following experiments have discrete or continuous out comes A fair die is tossed and the.
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.
Offline raw data format of SVD2.0 The offline raw data format of SVD2.0 is almost same as that of SVD1.0 which was developed by Krakow people. The big.
Optimization of Analysis Cuts for Oscillation Parameters Andrew Culling, Cambridge University HEP Group.
Anatoli Romaniouk TRT Test manual Some important information p. 2-3Some important information p. 2-3 Noise studies p.4-7Noise studies p.4-7 Operation with.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
Feature Extractor Dima Chirkin, LBNL The future is here.
SUB-NYQUIST DOPPLER RADAR WITH UNKNOWN NUMBER OF TARGETS A project by: Gil Ilan & Alex Dikopoltsev Guided by: Yonina Eldar & Omer Bar-Ilan Project #: 1489.
STAR Analysis Meeting, BNL – oct 2002 Alexandre A. P. Suaide Wayne State University Slide 1 EMC update Status of EMC analysis –Calibration –Transverse.
T. Lari – INFN Milan Status of ATLAS Pixel Test beam simulation Status of the validation studies with test-beam data of the Geant4 simulation and Pixel.
ScECAL Beam FNAL Short summary & Introduction to analysis S. Uozumi Nov ScECAL meeting.
Search for High-Mass Resonances in e + e - Jia Liu Madelyne Greene, Lana Muniz, Jane Nachtman Goal for the summer Searching for new particle Z’ --- a massive.
RF background, update on analysis Rikard Sandström, Geneva University MICE Analysis phone conference, October 30, 2007.
SCT WeekDecember 3, Block of Low Gain Analysis and Solutions A. Ciocio - LBNL.
22 January 2009 David1 Look at dead material and fake MET in Jx samples mc08 10 TeV simulations, release J0 to J6 are tag s479_r586, ‘ideal geometry’
Muons at CalDet Introduction Track Finder Package ADC Corrections Drift Points Path Length Attenuation Strip-to-Strip Calibration Scintillator Response.
L1 Global Muon Trigger Simulation Status URL of this presentation:
1 S, Fedele, Student Presentations, 2004/08/04S Amazing Title Slide Reworking the CES Cluster Reconstruction Algorithm By: Steve Fedele Advisor: Pavel.
1 EMCAL Reconstruction in Pass pp 900 GeV 29/03/2010 Gustavo Conesa Balbastre.
Development of a pad interpolation algorithm using charge-sharing.
Comparison of MC and data Abelardo Moralejo Padova.
1 9 December 2002A.P.Kashchuk (LNF/INFN), Frascati) New approach to CPC design.
1 Computational Vision CSCI 363, Fall 2012 Lecture 18 Stereopsis III.
1 D *+ production Alexandr Kozlinskiy Thomas Bauer Vanya Belyaev
New DetSim module David Adams BNL January 14, 2016 DUNE collaboration Far detector simulation and reconstruction.
Default zero suppression in simulation David Adams BNL November 18, 2015 DUNE 35-ton simulation, reconstruction and analysis Updated 15:50 EST.
New zero suppression in simulation: current status David Adams BNL November 25, 2015 DUNE 35-ton simulation, reconstruction and analysis.
UPDATE ON FLASH FINDING, TRACK MATCHING, COSMIC REJECTION Ben jones, MIT.
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.
TPC data David Adams BNL March 23, 2016 DUNE 35t sim/reco.
Data Reduction Schemes for MicroBoone Wu, Jinyuan Fermilab.
L2 Muon Trigger Study Status Report
EZDC spectra reconstruction and calibration
CluTim Algorithm for Drift Chambers Readout Electronics
Jin Huang Los Alamos National Lab
EMCal Recalibration Check
Using Single Photons for WIMP Searches at the ILC
Pulsar Data II Single-Pulse Plots
Problems with the Run4 Preliminary Phi->KK Analysis
Pulsar Data II Single-Pulse Plots
Shaped Digital Readout Noise in CAL
Presentation transcript:

New zero suppression in simulation: current status David Adams BNL November 30, 2015 DUNE DAQ Updated: 13:20 EST

Introduction I have been working on zero suppression (ZS) Have simulation of the ZS planned for 35-ton running o See description of this and current simulation default at Working on new DetSim module that can use the new ZS sim o Will allow user to plug in different services for ZS – And for multi-channel ZS and compression o Also developing modules to reproduce current behavior For more info, see my talk at last meeting of this group o This talk is continuation of my last talk to the 35t sim/reco group Much of it is duplicated here plus add plots for induction and higher noise with smaller signal D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20152

New software New ZS and compression code is in the dunezs package Has three ZS services: legacy, 35t sim, no ZS One compression service: sets ADC to zero for suppressed channels Detsim module that uses above ZS and compression through service interfaces Need art_extensions (not art-extensions) to build this o Dunezs also has the param files to generate the samples used in the plots shown here o See test/SimWireDune/XXX.fcl – mu35told – Old simulation – mu35tnew – New simulation with new ZS – mu35tnzs – New simulation w/o ZS – mu35tnhinew – New simulation with high noise and corresponding ZS – mu35tnhinzs – New simulation with high noise and w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20153

Legacy ZS I created a service to do “legacy” ZS I.e. to reproduce the ZS in the current version of dunetpc o That used for past (and upcoming) MCC Keep +/-TickRange ticks around any tick with |ADC| > AdcThreshold I reported slight discrepancies between new and old code last week I added option to not suppress a range < MinTickGap o This fixed some of the discrepancy But there are still differences o In a few cases I keep a tick that is suppressed by the old code o Often/always following double peak and range of constant ADC o Jonathon thinks this is likely a defect in the old code o Discrepancy is in 15/29M ( %) of bins o Difference is in either ZS or compression code No plan to resolve remaining discrepancy D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20154

New noise model Two weeks ago I showed the then-current noise model Significant correlations between neighboring ticks o I.e. low frequency (compared to 2MHz) noise RMS was 3.2 ADC counts Shortly after the meeting a new default was defined Higher frequency RMS = 2.5 ADC counts Parameters are in the next slide Last I heard, this is what we intend to use for the upcoming MCC o May also produce a 35t sample with twice the amplitude o I.e. RMS=5, close to present observation in 35t o Results for both low and high noise in this talk I used this to tune zero suppression and produce results shown here D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20155

DetSim producer parameters daq: { CollectionCalibPed: 500 CollectionCalibPedRMS: 0.01 CollectionPed: 500 CollectionPedRMS: 0.01 CompressionType: "ZeroSuppression" DriftEModuleLabel: "largeant" FractHorizGapUCollect: 0.1 FractHorizGapUMiss: 0.8 FractHorizGapVCollect: 0.1 FractHorizGapVMiss: 0.8 FractHorizGapZMiss: 0.8 FractUUCollect: 0.5 FractUUMiss: 0.2 FractUVCollect: 0.1 FractUVMiss: 0.2 FractVUCollect: 0.5 FractVUMiss: 0.2 FractVVCollect: 0.1 FractVVMiss: 0.2 FractVertGapUCollect: 0.1 FractVertGapUMiss: 0.8 FractVertGapVCollect: 0.1 FractVertGapVMiss: 0.8 FractVertGapZMiss: 0.8 FractZUMiss: 0.2 FractZVMiss: 0.2 InductionCalibPed: 1800 InductionCalibPedRMS: 0.01 InductionPed: 1800 InductionPedRMS: 0.01 LowCutoffU: 7.5 LowCutoffV: 7.5 LowCutoffZ: 7.5 NearestNeighbor: 25 NeighboringChannels: 3 NoiseArrayPoints: 1000 NoiseFactU: 0.05 NoiseFactV: 0.05 NoiseFactZ: 0.05 NoiseModel: 1 NoiseWidthU: 2000 NoiseWidthV: 2000 NoiseWidthZ: 2000 PedestalOn: "false" SaveEmptyChannel: "true" SimCombs: "false" SimStuckBits: "false" StuckBitsOverflowProbHistoName: "pCorrFracOverflowVsInputLsbCell" StuckBitsProbabilitiesFname: "ADCStuckCodeProbabilities35t/output_produceDcScanSummar yPlots_ _coldTest_0p1to1p4_step0p0010.root" StuckBitsUnderflowProbHistoName: "pCorrFracUnderflowVsInputLsbCell" ZeroThreshold: 5 module_type: "SimWireDUNE” } D. Adams, BNL ZS simulation status DUNE DAQ November 30, ZS parameters taken from service

New noise Histograms show noise Top is noise histogram from DetSim module Bottom is part of ADC spectrum from one wire Comment Signal is evident on wire o Muon is horizontal, parallel to APA near center of TPC Noise has more higher frequency than earlier D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20157

New zero suppression The new zero suppression is sim of that planned for online Description is at n_and_zero_suppression#35-ton-ZS-algorithm n_and_zero_suppression#35-ton-ZS-algorithm Has many parameters o Chosen values are listed below Main features Thresholds applied on RS (running sum) rather than individual ticks o RS is over NS ticks – Ticks with ADC <= TS are included with value zero – Stuck bit ticks are not included in sum or tick count – Threshold applied on RS = sum/(# included ticks) |RS| > TL defines the start of a block to be retained Preceding NL ticks are kept Ticks after start are retained through end of dead region plus NT ticks o Dead region is ND ticks with |RS| <= TD D. Adams, BNL ZS simulation status DUNE DAQ November 30, 20158

Zero suppression parameters The table below gives the parameter values used here D. Adams, BNL ZS simulation status DUNE DAQ November 30, NameValueMeaning NS5# of ticks in RS TS3Threshold for RS TL7Threshold to flag start of signal NL15# ticks retained before start of signal ND5# ticks to define dead region TD3-5Threshold for dead region NT3# ticks retained after dead region

Running sum: signed or unsigned I have assumed here that the RS (running sum) is a signed sum I.e. signed ADC for each tick is included in sum However, JJ informed me his initial design sums the absolute value of the ADC count for each tick o Motivation was to include contributions from both positive and negative lobes of the induction signal I think we will do better summing signed ADC counts Use a window whose width only covers one lobe Allow positive or negative sum to trigger collection o I.e. apply threshold to absolute value of signed sum o So we get two tries for induction signals This way the positive and negative noise ticks cancel See plot on following page I understand that JJ agrees and will change online algorithm. OK? Combine lobes to improve performance for induction Might later examine applying threshold to difference of RS’s offset expected distance between these D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Induction signal with high noise level D. Adams, BNL ZS simulation status DUNE DAQ November 30, TS = 6 TL = 10 NS = 5 35t induction signal for muon far from APA

Choosing the signal threshold (TL) I looked at one MC sample Single muons with p = 4 GeV (MIP) One APA plane shown here Results Following plots show the raw signals, RS and |RS| Suppress everything except around |RS| > TL TL = 7 keeps all signals and no BG See later discussion for high noise model D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Raw signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Running sum D. Adams, BNL ZS simulation status DUNE DAQ November 30, RS

|Running sum| D. Adams, BNL ZS simulation status DUNE DAQ November 30, RS

Defining dead region Dead region is specified by ND and TD Tick is dead if ND preceding channels have |RS| <= TD Following pages show plots of dead ticks o In practice, live (not dead) channels are plotted as black – White regions are dead o Live fraction away from the signal is shown with each plot o Results shown varying TD from 3 to 5 Results Region around signal is always live Retained dead region and tail look dead: mix of small negative and positive signals Live fraction is small in all cases D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Raw signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Live regions: TD = 3 D. Adams, BNL ZS simulation status DUNE DAQ November 30, %

Live regions: TD = 3.5 D. Adams, BNL ZS simulation status DUNE DAQ November 30, %

Live regions: TD = 4 D. Adams, BNL ZS simulation status DUNE DAQ November 30, %

Live regions: TD = 5 D. Adams, BNL ZS simulation status DUNE DAQ November 30, %

Zero suppression Following page shows application of 35t ZS I.e. the new simulation of the online algorithm Parameters are those listed earlier (and on the plot) Result The ZS is very effective: retains all signal and suppresses all BG About 40 ticks are retained in each channel Assuming 1 muon/4000 ticks (see my Nov 4 plots), this means we keep 1% of ticks. Caveats o Actual noise may be much worse o And vertical muons may deposit more energy o And induction planes have wider signals But we might be able to meet goal of 5% retention (X20 suppression) D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Collection signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Collection signal after ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 3 TL: 7 TD: 5

Collection signal after ZS (zoomed) D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 3 TL: 7 TD: 5

Induction signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Induction signal after ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 3 TL: 7 TD: 5

Induction signal after ZS (zoomed) D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 3 TL: 7 TD: 5

High noise Higher noise level has also been examined By doubling the noise amplitudes (NoiseFacXXX: > 0.10) And also look at muons far (215 cm) from the APA o Where the signal is weakest o Previous results were at the center of the TPC First tried doubling all the thresholds But observed some signals were lost o Typically one channel per APA plane D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 6 TL: 10 TD: 10 So I lowered the signal threshold TL: 7  14  10 Scanning 5 events by eye, this looks pretty good Except a couple induction planes trigger on the negative signal o And so lose early part of signal

High-noise collection signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

High-noise collection signal after ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 6 TL: 10 TD: 10

High-noise collection signal after ZS (zoomed) D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 6 TL: 10 TD: 10

High-noise induction signal w/o ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30,

High-noise induction signal after ZS D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 6 TL: 10 TD: 10

High-noise induction signal after ZS (zoomed) D. Adams, BNL ZS simulation status DUNE DAQ November 30, NS: 5 NL: 15 ND: 5 NT: 3 TS: 6 TL: 10 TD: 10

Leading edge boundary Dead zone appears effective Trailing boundary of signals is quiet: nice mix of positive and negative small signals Leading edge not quite as nice Some regions where the boundary is all positive o Radiation in direction of APA or just noise? o May want to have more signals on the leading side Should we also use dead zone to also define leading boundary? o JJ is looking at this D. Adams, BNL ZS simulation status DUNE DAQ November 30,

Summary/conclusions I continue to develop ZS (and compression) code Changes at present in dunezs Plan to move some/all to dunetpc Interfaces for ZS and compression and SimWire module for these Implementations of legacy and 35t ZS Implementation of replacement and Huffman (TBA) compression All are implemented as art services Legacy ZS compared with old version Small discrepancy remains New noise parameterization has been introduced By Jonathon Proposed to use that for upcoming MCC. And maybe 2X that for high-noise 35t. 35t ZS Simulation code in place Results of first study reported o Single beam-directed mu at center of TPC, low noise o ZS is very effective (no BG, high signal efficiency) o Parameter set proposed Also took look at high noise and weaker signal with different ZS params Idea for improving algorithm: add dead zone on leading side I use sum over signed ADC. Is this what we want? D. Adams, BNL ZS simulation status DUNE DAQ November 30,