SoLID DAQ for Transversity and PVDIS Alexandre Camsonne SoLID collaboration meeting July 9 th 2014.

Slides:



Advertisements
Similar presentations
Trigger & DAQ Ole Hansen SBS Collaboration Meeting 19 March 2010.
Advertisements

A 250 MHz Level 1 Trigger and Distribution System for the GlueX Experiment David Abbott, C. Cuevas, E. Jastrzembski, F. Barbosa, B. Raydo, H. Dong, J.
GlueX Collaboration Meeting June 3-5, GeV Trigger Electronics R. Chris Cuevas 1.Hardware Status  Production Updates 2.DAq and Trigger Testing 
GlueX Collaboration Meeting October 2-4, 2014 Trigger System Update R. Chris Cuevas Trigger Hardware/Firmware Status  Hardware Status  Performance Test.
CHL -2 Level 1 Trigger System Fully Pipelined Custom ElectronicsDigitization Drift Chamber Pre-amp The GlueX experiment will utilize fully pipelined front.
GlueX Collaboration Meeting May 12-14, GeV Trigger Electronics R. Chris Cuevas Trigger Hardware/Firmware Status  Global Trigger  Installation.
12 GeV Trigger Workshop Session II - DAQ System July 8th, 2009 – Christopher Newport Univ. David Abbott.
EIC Workshop 21 May 2008 Experience with high trigger R. Chris Cuevas Jefferson Lab Experimental Nuclear Physics Division Topics Cebaf’s Large.
1.Status update from May 2011  FADC250 and Trigger modules  Two crate testing success 2.Schedule  How about those requirements?  What’s happened since.
Outline Experiments Setup and DAQ configuration Fastbus for SBS: performance and status GEn/GMn - trigger and DAQ GEp - trigger and DAQ GEM readout Outline.
Hall D Trigger and Data Rates Elliott Wolin Hall D Electronics Review Jefferson Lab 23-Jul-2003.
 Brief status update of DAQ/Trigger production hardware  Firmware development for HPS application  CLAS12 CTP ‘upgrade’ notes  Summary Status of the.
SBS/A1n DAQ status Alexandre Camsonne August 28 th 2012.
Prototype of the Global Trigger Processor GlueX Collaboration 22 May 2012 Scott Kaneta Fast Electronics Group.
GlueX Collaboration Meeting February , GeV Trigger Electronics R. Chris Cuevas Hardware Status ( A top down view,, )  Global Trigger Processing.
Hall A DAQ status and upgrade plans Alexandre Camsonne Hall A Jefferson Laboratory Hall A collaboration meeting June 10 th 2011.
The GlueX Detector 5/29/091CIPANP The GlueX Detector -- David Lawrence (JLab) David Lawrence (JLab) Electron beam accelerator continuous-wave (1497MHz,
DAQ Status Report GlueX Collaboration – Jan , 2009 – Jefferson Lab David Abbott (In lieu of Graham) GlueX Collaboration Meeting - Jan Jefferson.
SBS meeting VETROC application for Cerenkov triggering Alexandre Camsonne March 18 th 2015.
SBS meeting VETROC application for Cerenkov triggering Alexandre Camsonne March 18 th 2015.
David Abbott CODA3 - DAQ and Electronics Development for the 12 GeV Upgrade.
DAQ Issues for the 12 GeV Upgrade CODA 3. A Modest Proposal…  Replace aging technologies  Run Control  Tcl-Based DAQ components  mSQL  Hall D Requirements.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
Solid SIDIS DAQ Solid collaboration meeting June 2 nd /3 rd 2011 Alexandre Camsonne.
Hall D Level 1 Trigger Dave Doughty 1/10/2008 Hall D Collaboration Meeting.
Pions for SoLID May 7 th 2013 SoLID EC meeting A. Camsonne.
David Abbott - JLAB DAQ group Embedded-Linux Readout Controllers (Hardware Evaluation)
1 Trigger and DAQ for SoLID SIDIS Programs Yi Qiang Jefferson Lab for SoLID-SIDIS Collaboration Meeting 3/25/2011.
Hall D Online Meeting 28 March 2008 Fast Electronics R. Chris Cuevas Group Leader Jefferson Lab Experimental Nuclear Physics Division System Engineering.
Lead Fluoride Calorimeter for Deeply Virtual Compton Scattering in Hall A Alexandre Camsonne Hall A Jefferson Laboratory October 31 st 2008.
David Abbott - Jefferson Lab DAQ group Data Acquisition Development at JLAB.
SuperBigbite DAQ and Trigger electronics Alexandre Camsonne Hall A Jefferson Laboratory SBS Review.
GlueX electronics Collaboration Meeting December, 2003 Paul Smith.
Hall A DAQ meeting January 12 th Summary summary GMp /DVCS BCM / Unser Raster Summary Compton EDTM F1 TDC Halo monitor Gas Cerenkov SBS Fastbus.
The Electromagnetic Calorimeter – 2005 Operation J. Sowinski for the Collaboration and the Builders Indiana Univ. Michigan State Univ. ANL MIT BNL Penn.
12GeV Trigger Workshop Christopher Newport University 8 July 2009 R. Chris Cuevas Welcome! Workshop goals: 1.Review  Trigger requirements  Present hardware.
MOLLER DAQ Aug 2015 meeting Team : R. Michaels, P. M. King, M. Gericke, K. Kumar R. Michaels, MOLLER Meeting, Aug, 2015.
SoLID review DAQ recommendations Alexandre Camsonne.
SoLiD/PVDIS DAQ Alexandre Camsonne. DAQ limitations Electronics Data transfer.
Jefferson Laboratory Hall A SuperBigBite Spectrometer Data Acquisition System Alexandre Camsonne APS DNP 2013 October 24 th 2013 Hall A Jefferson Laboratory.
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
SBS/A1n Fast DAQ Alexandre Camsonne October 19 th 2012.
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
SoLID DAQ A.Camsonne SoLID collaboration meeting November 8 th 2013.
APEX DAQ rate capability April 19 th 2015 Alexandre Camsonne.
HPS TDAQ Review Sergey Boyarinov, Ben Raydo JLAB June 18, 2014.
October 21, 2010 David Lawrence JLab Oct. 21, 20101RootSpy -- CHEP10, Taipei -- David Lawrence, JLab Parallel Session 53: Software Engineering, Data Stores,
DAQ Selection Discussion DAQ Subgroup Phone Conference Christopher Crawford
Super BigBite DAQ & Trigger Jens-Ole Hansen Hall A Collaboration Meeting 16 December 2009.
A 250 MHz Level 1 Trigger and Distribution System for the GlueX Experiment David Abbott, C. Cuevas, E. Jastrzembski, F. Barbosa, B. Raydo, H. Dong, J.
29/05/09A. Salamon – TDAQ WG - CERN1 LKr calorimeter L0 trigger V. Bonaiuto, L. Cesaroni, A. Fucci, A. Salamon, G. Salina, F. Sargeni.
The LHCb Calorimeter Triggers LAL Orsay and INFN Bologna.
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.
Counting Mode DAQ for Compton
Hall A Compton Electron detector overview
JLAB Front-end and Trigger Electronics
Alexandre Camsonne August 27th 2016 SoLID collaboration meeting
Sergey Abrahamyan Yerevan Physics Institute APEX collaboration
New Pipeline DAQ and 12GeV Trigger Systems
Example of DAQ Trigger issues for the SoLID experiment
The 12 GeV Jlab Upgrade Project
SoLID DAQ for Transversity and PVDIS
LHCb Trigger, Online and related Electronics
Alexandre Camsonne January 12th 2016 SoLID collaboration meeting
Alexandre Camsonne January 13th 2015
SoLID DAQ for Transversity and PVDIS
Alexandre Camsonne September 12th 2015 SoLID collaboration meeting
The CMS Tracking Readout and Front End Driver Testing
August 19th 2013 Alexandre Camsonne
Experiment DAQ and trigger GMn SBS Collaboration Meeting
Presentation transcript:

SoLID DAQ for Transversity and PVDIS Alexandre Camsonne SoLID collaboration meeting July 9 th 2014

Outline Introduction – SoLID – JLAB Pipeline DAQ – GEM readout PVDIS – Calorimeter trigger – Trigger rates – Event sizes / data rates SIDIS – Electronics layout – Trigger rates – Event size / data rates Costs Tasks list Timeline Conclusion 7/9/2014SoLID DAQ2

SOLID OVERVIEW 7/9/20143SoLID DAQ

Detector layout and trigger for PVDIS Trigger Calorimeter and Gas Cerenkov 200 to 500 KHz of electrons 30 individual sectors to reduce rate Max 25 KHz/sector 7/9/20144SoLID DAQ

7/9/20145SoLID DAQ 65 KHz 120 KHz 7 MHz pions

Detector layout and trigger for SIDIS Trigger Calorimeter + Cerenkov + MRPC Coincidences and threshold for global 60 KHz trigger rates 7/9/20146SoLID DAQ

Jefferson Laboratory Pipelined electronics with CODA 3 7/9/20147SoLID DAQ

Pipelined Hall D DAQ 3 us latency Above threshold Electron shower accidental 7/9/20148SoLID DAQ

Pipelined Hall D DAQ Calorimeter Light Gas Cerenkov Heavy Gas Cerenkov FADC CTPCTP CTP CTPCTP SSP GTP L1 trigger Calorimeter + Cerenkov + Pion In 3 us 7/9/20149SoLID DAQ

L3 DriveSilo VME 100 MB/s Ethernet 100 MB/s SAS 250 MB/s DLO6 Tape 250 MB/s Calo Cerenkov Scintillator GEM APV MPD FADC CPU Event Builder APV transfer 80 MB/s VME 100 MB/s CPU DAQ bottle necks CPU Data readout 7/9/2014SoLID DAQ10

ROC Front-End Crates R ead O ut C ontrollers ~60 crates ~50MB/s out per crate EB1 Event Builder stage 1 EB1 Event Builder stage 1 EB1 Event Builder stage 1 EB1 Event Builder stage 1 EB1 Event Builder stage 1 EB1 Event Builder stage 1 EB2 Event Builder stage 2 EB2 Event Builder stage 2 EB2 Event Builder stage 2 EB2 Event Builder stage 2 Staged Event Building blocked event fragments partially recombined event fragments N x M array of nodes (exact number to be determined by available hardware at time of purchase) Level-3 Trigger and monitoring full events L3 Farm node Raid Disk ER Event Recorder ER Event Recorder Event Recording 300MB/s in 300MB/s out All nodes connected with 1GB/s links Switches connected with 10GB/s fiber optics L3 Farm 7/9/201411SoLID DAQ

GEM READOUT 7/9/201412SoLID DAQ

GEM readout APV25 Front GEM ASICs Up to channels APV 25 : 128 channels Readout – VME based readout : 16 APV25 = 2048 channels ( ~ 10 $ / channels ) – SRS readout : ethernet /PC based = 2048 channels ( ~ 3 $ / channels ) 1 crate per sectors for FADC and GEM 7/9/201413SoLID DAQ

APV25 readout Switch Capacitor Array ASICS with buffer length 192 samples at 40 MHz : 4.8 us Look back 160 samples : 4 us Estimated occupancy : 220 hits per trigger, X Y data, 440 strips GEM : 6 Layers channels total, channels per planes Occupancy : 1.6 % APV readout time : t_APV = 141 x number_of_sample / 40 MHz t_APV(1 sample) = 3.7 us. Max rate APV front end : 270 KHz in 1 sample mode 90 KHz in 3 samples mode Will be triggered at max 60 KHz in 3 samples 100KHz Max in 1 sample Deadtimeless electronics / parallel read and write 7/9/2014SoLID DAQ14

Other GEM readout chips 7/9/2014SoLID DAQ15 APV25 limiting factor Need to confirm performance Optimize hardware and readout Chip in development CLAS12 Dream CEA/Saclay ATLAS VMM1 BNL gDSP … SRS readout compatible with other chips Ethernet + PC based

PVDIS 7/9/201416SoLID DAQ

Detector layout and trigger for PVDIS Trigger Calorimeter and Gas Cerenkov 200 to 500 KHz of electrons 30 individual sectors to reduce rate Max 30 KHz/sector 7/9/201417SoLID DAQ

FADC readout full waveform 10 samples Only want to readout FADC channel in the cluster to reduce number of channels readout because of background CTP generates a 64 bit pattern Send pattern to TI or FADC directly to trigger FADC Only channels from pattern are put in buffer FADC readout 7/9/2014SoLID DAQ18

ECAL trigger 7/9/2014SoLID DAQ19

Detector segmented in 30 sectors One crate per sector Calorimeter Geometry CTP 7/9/2014SoLID DAQ20

CTP connections To neighbor CTP 7/9/2014SoLID DAQ21

Neighboring sectors CTP New CTP : has two additionnal optical links Can send Cerenkov and calorimeter edges to other sectors. 8 Gbp/s optical link 36 calorimeters 9 Cherenkov = 150ns + 5 ns per m+ 300 ns ( data ) = 500 ns overhead = Trigger decision = 500 ns (Transfer ) + 1us ( clustering ) < 4 us (APV) 7/9/2014SoLID DAQ22

9 PMTs per sectors Correct gain per channel Look for channels above low threshold and coincidence between PMTs ( more than one PMT hit usually ) Sum of all channels with higher threshold Efficiency need to be studied Cerenkov L1 trigger 7/9/2014SoLID DAQ23

Event size FADC PVDIS with waveform DetectorTotal number of channels Number of channels firing Number of samples Max size detector bytes Minimal size detector bytes Typical size Shower Preshowe r Gas Cerenkov Max total size 46KB0.816KB1.544KB Max rateAssuming 100 MB/s per crate One crate 2.1 KHz121 KHz60 KHz FADC data rate for 30 KHz = 60 MB/s 7/9/2014SoLID DAQ24

GEM event occupancy and size SectorRateXYBytes 3 samples ( bytes) Total hits / sector Data rate / sector Data rate ( sector Mb/s) 157, Total detector Occupancy detector0.14 Data rate to front end reading 3 samples Use 4 Gigabit link = 512 MB/s not an issue with SRS 7/9/2014SoLID DAQ25

GEM event occupancy and size SectorRateXYBytes 3 samples ( bytes) Total hits / sector Data rate / sector Data rate ( sector Mb/s) Total detector Occupancy detector0.013 Rates with deconvolution 3 samples readout Data after processing going to tape 7/9/2014SoLID DAQ26

PVDIS electron trigger Coincidence ECAL and Gas Cerenkov 7/9/2014SoLID DAQ27 Singles ECAL290 KHz Singles rates Cerenkov1.9 MHz Accidental 30 ns16.5 KHz DIS electron8 KHz max Total rate25 KHz

Summary PVDIS Simulation and trigger were checked and optimized Max trigger rate estimated to be 25 KHz GEM data rate assuming 30 KHz around 480 MB/s GEM data rate after deconvolution around 46 MB/s FADC data 60 MB/s Total about 108 MB/s to L3, total 3.24 GB/s Use L3 to reduce to 250 MB/s ( similar to Hall D ) 7/9/2014SoLID DAQ28

SIDIS 7/9/201429SoLID DAQ

7/9/201430SoLID DAQ 65 KHz 120 KHz 7 MHz pions

Detector layout and trigger for SIDIS Trigger Calorimeter + Cerenkov + MRPC Coincidences and threshold for global 60 KHz trigger rates 7/9/201431SoLID DAQ

SIDIS channel count DetectorModule type Number of channels Number of FADC Forward Calorimeter FADC1150 x 2144 Large angle calorimeter FADC(+TDC)450 x 257 Light Gas Cerenkov FADC1208 Heavy Gas Cerenkov FADC27017 ScintillatorFADC1208 MRPC TRB3+Input Register The FADC of LC can be programmed to produce timing signals with ~400ps resolution (already demonstrated by simulation) to remove the needs of TDC. 7/9/2014SoLID DAQ

SIDIS 7/9/2014SoLID DAQ33

Read integral and time Standard zero suppression J/Psi, look for two clusters instead of one for trigger close to SIDIS trigger Trigger of a few KHz SIDIS J/Psi 7/9/2014SoLID DAQ34

SIDIS: 30 ns window Assuming a 30 ns gate Coincidence rate: 14MHz x 155.5KHz x 30 ns = 65.2 kHz Total with 4 KHz Physics = 70 KHz Given the safety margin, expected to handle about 100 KHz. – Include some single trigger to study detector performance etc. 357/9/2014SoLID DAQ

MRPC readout 1550 detectors = 3300 channels Rutgers proposes use GSI TRB3 – 10 ps resolution 256 channels around 3.5 K$ – Front end PADIWA amplifier discriminator 200 $ for 16 channels VETROC trigger interface board to put signal in L1 trigger 7/9/2014SoLID DAQ36

GEM event occupancy and size SectorRateXYBytes 3 samples ( bytes) Total hits / sector Total detector Data rate / sector Data rate ( sector Mb/s) Occupancy detector Using deconvolution gives 168 MB/s for 100 KHz 7/9/2014SoLID DAQ37

FADC data In 50 ns windows, 11 GeV DetectorRateHitsTypeData Size per hit LC120 kHz1Energy, Hits8 Byte x 2 (PS/SH) FC200 MHz10Energy, Hits8 Byte x 2 (PS/SH) LGC40 MHz3Energy, Hits8 Byte x 2 (split) HGC60 MHz4Energy, Hits8 Byte x 2 (split) MRPC850 MHz45Hits4 Byte SC300 MHz15Energy, Hits8 Byte Total2.04kB 204 MB/s at 100 KHz 7/9/201438SoLID DAQ

Summary SIDIS Readout only one sample, time and integral for GEM and FADC 70 KHz coincidence rate Design for 100 KHz gives 368 MB/s to L3 need less than factor 2 reduction Study feasibility to take all singles ( 150 KHz ) should be doable but need more L3 processing power 7/9/2014SoLID DAQ39

ELECTRONICS LAYOUT AND BUDGET 7/9/201440SoLID DAQ

Electronics 7/9/2014SoLID DAQ41 ModuleUnite priceQuantity FADC $1, Input register $82,000 CTP $210,000 SSP50004 $20,000 GTP50001 $5,000 VXS crate $480,000 TS35001 $3,500 TI $90,000 TD $12,000 SD $75,000 VXS crate $345,000 VME CPU $105,400 SRS computer $60,000 Total detectors$2,949,300

Request 7/9/2014SoLID DAQ42 ModuleUnite priceQuantity FADC $256,500 Input register $82,000 CTP $210,000 SSP50004 $20,000 GTP50001 $5,000 VXS crate $480,000 TS35001 $3,500 TI $90,000 TD $12,000 SD $75,000 VXS crate $345,000 VME CPU $105,400 SRS computer $60,000 Total detectors$1.922,300 Assume use spares and additionnal FADC available : 230 units

Man power rough estimate JLAB – Alexandre Camsonne – Yi Qiang Umass – Rory Miskimen – Students can be available for electronics works at UMass Year 1Year 2Year 3Year 4Year 5 1 postdocTest stand Full electronics Electronics cabling Experiment 1 studentTest stand Full electronics Electronics cabling Experiment 1 techRack Rack,cables,wel dment Electronics / detector cabling DAQSupport DesignerLayout ElectronicsTrigger Support 7/9/201443SoLID DAQ Rutgers – Ron Gilman MRPC readout

Man power rough budget K$Year 1Year 2Year 3Year 4Year 5 1 postdoc35 1 student25 1 tech DAQ88880 Designer88444 Electronics88444 Total FTEYear 1Year 2Year 3Year 4Year 5 1 postdoc0.5 1 student0.5 1 tech DAQ0.1 Designer0.1 Electronics about 450 K$ total including inflation 7/9/201444SoLID DAQ

HV and cables 7/9/2014SoLID DAQ45 Calorimeter showerFADC1830 Large angle calorimeter preshower FADC Forward angle calorimeter preshower FADC0 SPDFADC18.75 Light Gas Cerenkov270 Heavy Gas Cerenkov480 Total2714

HV and cables 7/9/2014SoLID DAQ46 TotalNeededCost Cables K$ HV boards K$ HV mainframe17557 K$ Total 278 K$ Assume we can reuse 2000 HV channels so need around 714 channels

Tape size 7/9/2014SoLID DAQ47 DaysData rateSeconds Total data TB Doubl e DLO5 in $ DLO6 in $ E Pol proton E J/Psi E Transv. Pol. 3He E Long. Pol. 3 He E PVDIS Total

Tasks Hardware – Trigger design – Electronics performance testing – Shielding – Cabling layout / installation – L3 / event filtering Simulation – Radiation and shielding – Background in detector event size – Background in detector event/trigger rates – Trigger simulation for logic and timing 7/9/201448SoLID DAQ

DAQ Test stand Ordered parts / collaboration with Hall A Compton – 2 VXS crates – 4 FADC – 1 CTP, 1SSP – 4 Intel VME CPUs CODA3 still in the work : test L3 Farm 7/9/2014SoLID DAQ49

Time line 2012 – UMASS Hall D test stand ( 380 FADC to be tested ) – 4 JLAB FADC250 – VXS crate 2013 – MPD and SRS system first tests 2014 – Small scale setup for testing : FADC + trigger + APV25 – DVCS : test Intel VME CPU for large amount of data 2015 – HCAL Trigger development ( SBS funding accepted ) – Full experiment scale system in place – Detector cabling and testing 7/9/201450SoLID DAQ

Conclusion SoLID requires high rates low dead time, flexible trigger capability Rates optimization for SIDIS but push for highest rate depending of GEM chip performances GEM electronics R&D Background and trigger rates where checked and close proposal, data rates are sustainable by the DAQ hardware Hall D electronics perfectly suited – Total cost around 2 M$ 7/9/201451SoLID DAQ

Backup slides

CPU SSP GTP SD SSP TI VXS Crate SSP CPU FADC CTP SD FADC TI VXS Crate CPU TD SD TS VXS Crate TD SD L1 Trigger Diagram VXS Serial Link MHz: 4 Gbps FADC MHz, 16 ch Sums amplitude from all channels Transfer total energy or hit pattern to CTP Crate Trigger Processor Sums energies from FADCs Transfer total energy or hit pattern to SSP Fiber Optics MHz CTP 7/9/2014 SoLID DAQ 53

CPU SSP GTP SD SSP TI VXS Crate SSP CPU FADC CTP SD FADC TI VXS Crate CPU TD SD TS VXS Crate TD SD L1 Trigger Diagram Global Trigger Processor Collect L1 data from SSPs Calculate trigger equations Transfer 32 bit trigger pattern to TS VXS Serial Link MHz: 8 Gbps Sub-System Processor Consolidates multiple crate subsystems Report total energy or hit pattern to GTP Copper Ribbon Cable MHz: 8 Gbps SSP 7/9/2014 SoLID DAQ 54

fADC250 CTP Crate Trigger Processor TI Trigger Interface SD Signal Distribution Detector Signals Fiber Optic Link (~100 m) 125 MHz) (8) (2) (12) (1) Copper Ribbon Cable (~1.5 m) 250 MHz) Fiber Optic Links Clock/Trigger 62.5MHz VXS Backplane (16) (1) Trigger Latency ~ 3 μs ( ) – Number in parentheses refer to number of modules Custom Designed Boards at JLAB Pipelined detector readout electronics: fADC Level-1 Trigger Electronics SoLID DAQ7/9/201455

Hall staging 10 racks + patch panels 7/9/201456SoLID DAQ

Test run setup MRPC – V1290 – JLAB or SIS FADC GEM / Hadron Blind Detector – APV25 (UVA) SRS readout MPD 7/9/2014SoLID DAQ57

DAQ electronics projects at UMass: spring and summer 2012 R.Miskimen UMass is responsible for the final assembly and testing of all 380 FADC modules for Hall D. This activity will take place at UMass summer 2012, probably stretching into the fall. An undergraduate, Fabien Ahmed, spent the summer of 2011 at JLab working with the electronics group on FADC tests. A graduate student, Bill Barnes, and team of undergraduates will work on the electronics tests at UMass. Operations at UMass will include mechanical assembly of the VME boards, programming the FPGA’s, verifying board operation, measuring and recording noise levels. Readout through a Wiener USB board in the VXS crate, connected to PC 7/9/201458SoLID DAQ

DAQ electronics projects at UMass: connection to SOLID This activity helps Hall D, only helps SOLID by building expertise in the collaboration for working with and debugging DAQ electronics With support from Hall A, we would develop a CODA based DAQ test station at UMass: replicate the one VXS crate/sector readout for PVDIS/SOLID Need CODA, and to borrow CTP, SSP, and CPU Test DAQ rates, triggers, software for FADC 7/9/201459SoLID DAQ

SIDIS channel count DetectorModule type Number of channels Number of modules Forward Calorimeter FADC+TDC2x Large angle calorimeter FADC+TDC2x45058 Light Gas Cerenkov FADC+TDC1208 Heavy Gas Cerenkov FADC+TDC27017 ScintillatorFADC+TDC1208 GEMVME164K321 7/9/201460SoLID DAQ

Hall D L1 Trigger-DAQ Rate Low luminosity (10 7  /s in 8.4 < E  < 9.0 GeV) – 20 kHz L1 High luminosity (10 8  /s in 8.4 < E  < 9.0 GeV) – 200 kHz L1 – Reduced to 20 kHz L3 by online farm Event size: 15 kB; Rate to disk: 3 GB/s Detectors which can be used in the Level-1 trigger: SC Forward Calorimeter (FCAL)Energy Barrel Calorimeter (BCAL)Energy Start Counter (SC)Hits Time of Flight (TOF)Hits Photon TaggerHits Energy FCAL (GeV) Energy BCAL (GeV) Electromagnetic backgroundHadronic E  < 8 GeVHadronic E  > 8 GeV Basic Trigger Requirement: E BCAL + 4 ∙ E FCAL > 2 GeV and a hit in Start Counter 7/9/2014 SoLID DAQ 61

Custom Electronics for JLab VME Switched Serial (VXS) backplate – 10 Gbps to switch module (J 0 ) – 320 MB/s VME-2eSST (J 1 /J 2 ) All payload modules are fully pipelined – FADC125 (12 bit, 72 ch) – FADC250 (12 bit, 16 ch) – F1-TDC (60 ps, 32 ch or 115 ps, 48 ch) Trigger Related Modules – C rate T rigger P rocessor ( CTP ) – S ub- S ystem P rocessor ( SSP ) – G lobal T rigger P rocessor ( GTP ) – T rigger S upervisor ( TS ) – T rigger I nterface/Distribution( TI/D ) – S ignal D istribution ( SD ) FADC125 F1-TDC 7/9/2014 SoLID DAQ 62

CPU FADC CTP SD FADC TI VXS Crate CPU SSP GTP SD SSP TI VXS Crate SSP CPU TD SD TS VXS Crate TD SD L1 Trigger Diagram Trigger Supervisor Calculate 8 bit trigger types from 32 bit trigger pattern Prescale triggers Transfer trigger and sync signal to TD (16 bit total) VXS Serial Link MHz: 1 Gbps Trigger Distribution Distribute trigger, clock and synchronize signals to TI in each Crate Fiber Optics MHz: 1 Gbps 7/9/2014 SoLID DAQ 63

VME Readout Controller Gigabit ethernet CPU TD SD TS VXS Crate TD SD CPU SSP GTP SD SSP TI VXS Crate SSP CPU FADC CTP SD FADC TI VXS Crate L1 Trigger Diagram Signal Distribution Distribute common signals to all modules: busy, sync and trigger 1/2 VXS Serial Link MHz: 1 Gbps Trigger Interface Receive trigger, clock and sync signals from TD Make crate trigger decision Pass signals to SD TID 7/9/2014 SoLID DAQ 64

TOF time of flight SC start counter 2.2T superconducting solenoidal magnet Fixed target (LH 2 ) 10 8 tagged  /s ( GeV) hermetic 2.2 Tesla Solenoid Calorimetry Barrel Calorimeter (lead, fiber sandwich) Forward Calorimeter (lead-glass blocks) PID Time of Flight wall (scintillators) Start counter Barrel Calorimeter Charged particle tracking Central drift chamber (straw tube) Forward drift chamber (cathode strip) The GlueX Detector 7/9/2014 SoLID DAQ 65

Front End DAQ Rate Event Size L1 Trigger Rate Bandwidth to mass Storage GlueX3 GB/s15 kB200 kHz300 MB/s CLAS120.1 GB/s20 kB10 kHz100 MB/s ALICE500 GB/s2,500 kB200 kHz200 MB/s ATLAS113 GB/s1,500 kB75 kHz300 MB/s CMS200 GB/s1,000 kB100 kHz100 MB/s LHCb40 GB/s40 kB1000 kHz100 MB/s STAR50 GB/s1,000 kB0.6 kHz450 MB/s PHENIX0.9 GB/s~60 kB~ 15 kHz450 MB/s LHC JLab BNL * CHEP2007 talk Sylvain Chapelin private comm. * Jeff Landgraf Private Comm. 2/11/2010 ** CHEP2006 talk MartinL. Purschke ** GlueX Data Rate 7/9/2014 SoLID DAQ 66

CODA3 – What’s different CODA 2.5CODA 3 Run Control (X, Motif, C++) (rcServer, runcontrol) Experiment Control – AFECS (pure JAVA) (rcPlatform, rcgui) Communication/Database (msql, cdev, dptcl, CMLOG) cMsg – CODA Publish/Subscribe messaging Event I/O C-based simple API (open/close read/write) EVIO – JAVA/C++/C APIs Tools for creating data objects, serializing, etc… Event Builder / ET System / Event Recorder (single build stream) EMU (Event Management Unit) Parallel/Staged event building Front-End – vxWorks ROC (Interrupt driven – event by event readout) Linux ROC, Multithreaded (polling – event blocking) Triggering: 32 ROC limit, (12 trigger bits -> 16 types) TS required for buffered mode 128 ROC limit, (32 trigger bits -> 256 types) TI supports TS functionality. Timestamping (4ns) 7/9/2014 SoLID DAQ 67

FADC Encoding Example 7/9/2014 SoLID DAQ 68

GTP Trigger Bit Example 7/9/2014 SoLID DAQ 69

L3 data reduction Pile up detection – Only record sample for event with pile up Calorimeter clustering GEM readout – Timing cut – Clustering – Crude tracking 7/9/2014SoLID DAQ70