nc 192 168 0 16 24 datafile nc



















































- Slides: 51
ネットワーク読み出しモジュールで、接続すると データがくる場合には nc 192. 168. 0. 16 24 > datafile nc - arbitrary TCP and UDP connections and listeners 2017 -09 -27 2
nc 192. 168. 0. 16 24 | histo_prog 2017 -09 -27 3
nc 192. 168. 0. 16 24 | tee datafile | histo_prog 2017 -09 -27 4
DAQ-Middlewareの 紹介 2017 -09 -27 6
DAQ-Middleware構成図 • 使用するコンポーネントを指 定 • コンポーネント間接続情報 • パラメータ User Interface PC XML • 装置パラメータ • オンラインモニタパ ラメータ System Configuration Daq Operator XML/JSON HTTP Server Command/Status mod_python mod_wsgi • Control Panel on Web browser (javascript, ajax) • Python GUI • Command line program Device Condition/ Online analysis PC Logger ・ ・ ・ Gatherer Detectors 2017 -09 -27 Read-out modules Online histograms on Web browser Dispatcher Monitor Online histograms using ROOT 11
データ収集パス PC Logger ・ ・ ・ Gatherer Detectors Read-out modules Online histograms on Web browser Dispatcher Monitor Online histograms using ROOT リードアウトモジュールが多い場合は複数セット用意することで対応する 2017 -09 -27 13
ランコントロール • 使用するコンポーネントを指 定 • コンポーネント間接続情報 • パラメータ User Interface PC XML • 装置パラメータ • オンラインモニタパ ラメータ System Configuration XML/JSON Daq Operator HTTP Server Command/Status mod_python mod_wsgi • Control Panel on Web browser (javascript, ajax) • Python GUI • Command line program Device Condition/ Online analysis • Daq. Operator: DAQコンポーネントを統括する • Daq. Operatorに対する指示はhttpで行う • 既存のものがあるときはそれがhttpで通信 するようにすれば使える 2017 -09 -27 14
ランコントロールインターフェイス • Web browser UI • python TK UI • Linux command line 2017 -09 -27 15
システムコンフィギュレーション XMLで記述する <config. Info> <daq. Operator> <host. Addr>127. 0. 0. 1</host. Addr> </daq. Operator> <daq. Groups> <daq. Group gid="group 0"> <components> <component cid="Sample. Reader 0"> <host. Addr>127. 0. 0. 1</host. Addr> <host. Port>50000</host. Port> <inst. Name>Sample. Reader 0. rtc</inst. Name> <exec. Path>/home/daq/My. Daq/Sample. Reader. Comp</exec. Path> <conf. File>/tmp/daqmw/rtc. conf</conf. File> <start. Ord>2</start. Ord> <in. Ports> </in. Ports> <out. Port>samplereader_out</out. Port> </out. Ports> <param pid="src. Addr">127. 0. 0. 1</param> <param pid="src. Port">2222</param> </params> </component> 2017 -09 -27 16
コンポーネント間通信での分類 Source Type Sink Type Filter Type Dispather Type Merger Type • Source Type (Gatherer) • Sink Type (Logger, Monitor) • Dispatcher Type 2017 -09 -27 19
DAQコンポーネント 構成例(1) Daq. Operator Data Command/Status Logger Gatherer Dispatcher Logger Gatherer Monitor モニターなしでデータをディスクに セーブする Daq. Operator Logger Gatherer Filter Dispatcher Gatherer Monitor 2017 -09 -27 Monitor データセーブなしでオンライン モニターする 20
DAQコンポーネント特徴のまとめ Service Port ous m o del n o o t m u A ent n o p Com (command/status) READOUT nt are p s n -tra k r o Netw Data Out. Port In. Port READOUT Logics (for data handling) Network READOUT Development y t i l i b i Flex Reuse User A y ilit b a s eu READOUT R Repository User B 2017 -09 -27 22
DAQ-Middleware 使用例 2017 -09 -27 24
使用例 • 実験 – J-PARC/MLF – DAQ system of Depth-resolved XMCD (X-ray Magnetic Circular Dichroism) experiments at Photon Factory (KEK IMSS, KEK IPNS) – CANDLES • 実験(これから) – J-PARC Hadron E 16 (High P) – Super. NEMO • 検出器テストベッド – – – 2017 -09 -27 ILC FPCCD Vertex (KEK, 東北大学) GEM (KEK 測定器開発室) SOI (KEK 測定器開発室) ADC_Si. TCP (Open-It) J-PARC Hadron COMET CDC J-PARCニュートリノ 液体アルゴンTPC ボード 25
J-PARC/MLFでの例 Japan Proton Accelerator Research Complex 高エネルギー加速器研究機構 (KEK)、原子力研究開発機構 (JAEA)共同運営 2017 -09 -27 26
J-PARC MLF中性子での使用状況 Daq Operator DAQ-Middleware Working Monitor Gatherer Dispatcher Gatenet PSD Systems Logger Daq Operator Monitor Daq Operator Gatherer/ Gateboard Dispatcher Logger Scinti. Systems Monitor Gatherer for GEM Dispatcher GEM Systems 2017 -09 -27 Logger 27
J-PARC/MLF 中性子 検出器・リードアウトモジュール • Position Sensitive Detector (PSD) – 3 He filled proportional counter – The most common neutron detector • Photon-counting 2 -D/1 -D detector (Scinti) • Gas Electron Multiplier (GEM) PSDs 2017 -09 -27 2 -D Scinti 1 -D Scinti GEM 28
MLF中性子用DAQコンポーネント群 PSD検出器 PSD用Gatherer Gatenet Monitor シンチ検出器 GEM検出器 シンチ用Gatherer GEM用Gatherer Monitor 検出器共通 Daq. Operator 2017 -09 -27 Dispatcher Logger 29
DAQ middleware is a standard tool for MLF in J-PARC. BL 21 GEM (大下さんのスライド) Users are able to take data without regard for the difference of detectors and to control the detectors from a web browser. DAQ middleware is available as an online monitor. Control panel in a web browser The 2 D image and the TOF distribution are updated every additional 100 events. A screen shot during data taking 2017 -09 -27 30 10
2017 -09 -27 32
J-PARC Hadron E 16 (High Pt) DAQ-Middlewareテスト SRS 2017 -09 -27 Reader Monitor 33
J-PARCハドロン液体アルゴンTPC 2017 -09 -27 34
2017 -09 -27 36
2017 -09 -27 37
2017 -09 -27 38
DAQ-Middlewareの歴史 Open-It http: //openit. kek. jp/ KEK測定器開発室 次世代DAQプロジェクト Project starts 2006 First Beam at MLF 2007 MLF Pkg 2008 2009 Open-It Start 2010 2012 2013 2014 2015 2016 MLF Pkgs DAQ-Middleware 1. 0 -RC 1 CHEP 06 International Conference on Computing in High Energy and Nuclear Physics 2017 -09 -27 2011 DAQ-Middleware 1. 0. 0 1. 2. 2 DAQ-Middleware DAQ-Middleware 1. 1. 0 1. 2. 1 1. 3. 0 1. 3. 1 1. 4. 0 1. 4. 1 1. 4. 2 42
1. 0. 0~ 1. 4. 0 • 1. 0. 0 MLF中性子依存のものを排除した最 初のバージョン • 1. 1. 0 Scientific Linux x 86_64 (64 bit)サポート • 1. 2. 0 Scientific Linux 6. xサポート (ソースコー トではUbuntu、Debianをサポートしている) • 1. 2. 1 - 1. 2. 2 Bug Fixes, Features • 1. 3. 0 Buffering、Configuration GUI • 1. 4. 0 Scientific Linux 7. xサポート 2017 -09 -27 43
性能測定 2017 -09 -27 46
転送速度テスト Source Model: HP 8600 xw CPU: Intel Xeon E 5420 2. 50 GHz NIC: Broadcom Net. Xtreme BCM 5755 Scientific Linux 5. 7 i 386, x 86_64 Sink Ethernet 2017 -09 -27 Source Sink 47
ドキュメンテーション • DAQ-Middleware 1. 1. 0 技術解説書 (1. 4. 1でも有効) http: //daqmw. kek. jp/docs/DAQ-Middleware-1. 1. 0 -Tech. pdf • DAQ-Middleware 1. 4. 2開発マニュアル http: //daqmw. kek. jp/docs/DAQ-Middleware-1. 4. 2 -Dev. Manual. pdf 2017 -09 -27 50