~sbinet/talks

88f20fb76846c809fff109f2ffa2da0ed3f0e98a — Sebastien Binet 2 years ago 3364a70
2021-11-30-atlas-marand: first import

Signed-off-by: Sebastien Binet <binet@cern.ch>
A 2021/2021-11-30-atlas-marand/2021-11-30-atlas-marand.pdf => 2021/2021-11-30-atlas-marand/2021-11-30-atlas-marand.pdf +0 -0
A 2021/2021-11-30-atlas-marand/README.md => 2021/2021-11-30-atlas-marand/README.md +3 -0
@@ 0,0 1,3 @@
# 2021-11-30-atlas-marand

`go-present` link: [slides](https://talks.sbinet.org/2021/2021-11-30-atlas-marand/talk.slide)

A 2021/2021-11-30-atlas-marand/_code/cpu-perf.sh => 2021/2021-11-30-atlas-marand/_code/cpu-perf.sh +7 -0
@@ 0,0 1,7 @@
## before
$> time HVAnaMon  tile doplot=png,pdf -cpu-prof
real    0m54.181s

## after
$> time HVAnaMon  tile doplot=png,pdf -cpu-prof
real    0m28.304s

A 2021/2021-11-30-atlas-marand/_code/ddv-storage.sh => 2021/2021-11-30-atlas-marand/_code/ddv-storage.sh +3 -0
@@ 0,0 1,3 @@
$> du -hs ./txt ./ddv
19.0G	./txt
 6.1G	./ddv

A 2021/2021-11-30-atlas-marand/_code/hvanamon.sh => 2021/2021-11-30-atlas-marand/_code/hvanamon.sh +17 -0
@@ 0,0 1,17 @@
$> HVAnaMon -h
+------------------------------------------------------------+
|  Welcome to HVAnaMon, the HV monitoring analysis system !  |
+------------------------------------------------------------+
Usage: HVAnaMon module period [mode] [noplot|doplot=EXT] [data-dir=dir] | \
	HVAnaMon dacfrompmt=pmt | chlist

  module = 'tile' or a module identifier (LBA2, EBA28...)
  period = name of a period in the following set: 'DT2017' 'DT2018' 'Full1517' 'Full18' 'Run2' 'DT2015' 'DT2016'
  mode = 'all' or 'power' or 'plotonly[=pmt]' (default is all)
         'plotonly' is restricted to a single module and full run 2 period
  noplot = 'noplot' for text result only
  data-dir=dir: path to directory holding DDV data (default: "data")

  dacfrompmt=pmt: prints the channel and DAC numbers for a given PMT number

  chlist: creates ChannelsList.html

A 2021/2021-11-30-atlas-marand/_figs/lbc59-pmt.png => 2021/2021-11-30-atlas-marand/_figs/lbc59-pmt.png +0 -0
A 2021/2021-11-30-atlas-marand/_figs/ps-dt2018.png => 2021/2021-11-30-atlas-marand/_figs/ps-dt2018.png +0 -0
A 2021/2021-11-30-atlas-marand/talk.slide => 2021/2021-11-30-atlas-marand/talk.slide +41 -0
@@ 0,0 1,41 @@
# HVAnaMon: HV monitoring analysis system
ATLAS-LPC Marand
30 Nov 2021

Sebastien Binet
CNRS/IN2P3/LPC-Clermont
https://github.com/sbinet
@0xbins
sebastien.binet@clermont.in2p3.fr

## HVAnaMon

[HVAnaMon](https://gitlab.cern.ch/atlas-clermont/tile/HV/HVAnaMon) is a set of tools to:

- ingest [DDV](https://atlas-ddv.cern.ch/DDV.html) _(DCS Data Viewer)_ data
- analyze data over multiple periods and/or modes (`all`, `power` or `plotonly`)

//.code _code/hvanamon.sh

## HVAnaMon

- reorganized a bit the code base (split monolithic `main` command into various pkgs)

- improved file format for DDV storage (`ASCII` -> `binary`, used `float32` instead of `float64` for storage): _about_ **`3x` smaller**

.code _code/ddv-storage.sh

- provided [`cmd/ddv-cat`](https://gitlab.cern.ch/atlas-clermont/tile/HV/HVAnaMon/-/blob/master/cmd/ddv-cat/main.go), [`cmd/ddv-cnv`](https://gitlab.cern.ch/atlas-clermont/tile/HV/HVAnaMon/-/blob/master/cmd/ddv-cnv/main.go) and [`cmd/ddv-pull`](https://gitlab.cern.ch/atlas-clermont/tile/HV/HVAnaMon/-/blob/master/cmd/ddv-pull/main.go) commands to more easily work with the new `DDV` binary storage format

- improved `PDF` and `PNG` plot generation, parallelized plot generation: _almost_ **`2x` faster**

.code _code/cpu-perf.sh

## Roadmap for the future

- add 1.23V data and analysis (-> note for run 2)
- develop daily monitoring: automatic monitoring, run every day (or twice a week ?), with web output.

.image _figs/lbc59-pmt.png 200 _
.image _figs/ps-dt2018.png 400 _