Project

General

Profile

Actions

Wiki

Example of plots from replay

https://logbooks.jlab.org/entry/4098425

Hydra Hall A access

https://hallaweb.jlab.org/hydra/

Hall C NPS information

NPS calorimeter software
https://wiki.jlab.org/cuawiki/index.php/NPS_Software

https://hallcweb.jlab.org/hydra/

Replay NPS calorimeter

/data1/cdaq/eel108/output/ROOTfiles/zhuang/histogram

If you have the access to the cdaql3, you can go to either /data1/cdaq/eel108/zhuang/nps_replay or /data1/cdaq/eel108/wassim/nps_replay and run the bash scripts run_nps_test_xx.sh which gives you everything includes the plots
For the hcana replay script it only saves the branches of data, there are separate .C do the plotting
You might need the ssh -X option to enable pops up windows, for the online GUI


Just do panguin --help and look for options related to “images”:
panguin --help
panguin: configurable ROOT data visualization tool
Usage: /Users/ole/Develop/BUILD/panguin/cmake-build-debug/panguin [OPTIONS]

Options:
-h,--help Print this help message and exit
-f,--config-file <file name> [default.cfg]
Job configuration file
-r,--run <run number> Run number
-R,--root-file <file name> ROOT file to process
-G,--goldenroot-file <file name>
Reference ROOT file
-P,-b,--batch No GUI. Save plots to summary file(s)
-E,--plot-format <fmt> Plot format (pdf, png, jpg ...)
-C,--config-dir <path> Search path for configuration files & macros (":"-separated)
--root-dir <path> ROOT files search path (":"-separated)
-O,--plots-dir <dir> Output directory for summary plots
-I,--images Save individual plots as images (implies -P)
-F,--image-format <fmt> Image file format (png, jpg ...)
-H,--images-dir <dir> Output directory for individual images (default: plots-dir)
-v,--verbosity <level> Set verbosity level (>=0)
-V,--version Display program version information and exit
Should be self-explanatory. To add image production to the replay, you’ll have to edit the lines where panguin is invoked in the in the replay script.
8:18
I forget if we had one images dir per run or included the run number in the file name. You can define a file name template in the configuration file, similar to protorotfile. The documentation is part of the README.me file in the panguin repository.
8:19
The relevant options are protoimagefile and protomacroimagefile.


Hall C spreadsheet for description of variables

https://docs.google.com/spreadsheets/d/1UNhaQdSzaOteizUSfve5DdX4hQFQms4tBc5FZ366GuA/edit?usp=sharing

If you need a large supply of images, you can of course re-run panguin over the existing ROOT files from the last run period under /chafs1/work1/sbs to generate them. (edited)

Updated by Alexandre Camsonne 10 months ago · 6 revisions