Wiki » History » Version 6
Alexandre Camsonne, 07/11/2023 01:59 PM
| 1 | 1 | Austin Kuntz | h1. Wiki |
|---|---|---|---|
| 2 | |||
| 3 | Example of plots from replay |
||
| 4 | |||
| 5 | https://logbooks.jlab.org/entry/4098425 |
||
| 6 | |||
| 7 | 2 | Alexandre Camsonne | Hydra Hall A access |
| 8 | 1 | Austin Kuntz | |
| 9 | https://hallaweb.jlab.org/hydra/ |
||
| 10 | 2 | Alexandre Camsonne | |
| 11 | |||
| 12 | Hall C NPS information |
||
| 13 | |||
| 14 | NPS calorimeter software |
||
| 15 | https://wiki.jlab.org/cuawiki/index.php/NPS_Software |
||
| 16 | |||
| 17 | https://hallcweb.jlab.org/hydra/ |
||
| 18 | 3 | Austin Kuntz | |
| 19 | Replay NPS calorimeter |
||
| 20 | |||
| 21 | /data1/cdaq/eel108/output/ROOTfiles/zhuang/histogram |
||
| 22 | 4 | Austin Kuntz | |
| 23 | |||
| 24 | 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 |
||
| 25 | For the hcana replay script it only saves the branches of data, there are separate .C do the plotting |
||
| 26 | You might need the ssh -X option to enable pops up windows, for the online GUI |
||
| 27 | 5 | Alexandre Camsonne | |
| 28 | |||
| 29 | ---------------------- |
||
| 30 | |||
| 31 | Just do panguin --help and look for options related to “images”: |
||
| 32 | panguin --help |
||
| 33 | panguin: configurable ROOT data visualization tool |
||
| 34 | Usage: /Users/ole/Develop/BUILD/panguin/cmake-build-debug/panguin [OPTIONS] |
||
| 35 | |||
| 36 | Options: |
||
| 37 | -h,--help Print this help message and exit |
||
| 38 | -f,--config-file <file name> [default.cfg] |
||
| 39 | Job configuration file |
||
| 40 | -r,--run <run number> Run number |
||
| 41 | -R,--root-file <file name> ROOT file to process |
||
| 42 | -G,--goldenroot-file <file name> |
||
| 43 | Reference ROOT file |
||
| 44 | -P,-b,--batch No GUI. Save plots to summary file(s) |
||
| 45 | -E,--plot-format <fmt> Plot format (pdf, png, jpg ...) |
||
| 46 | -C,--config-dir <path> Search path for configuration files & macros (":"-separated) |
||
| 47 | --root-dir <path> ROOT files search path (":"-separated) |
||
| 48 | -O,--plots-dir <dir> Output directory for summary plots |
||
| 49 | -I,--images Save individual plots as images (implies -P) |
||
| 50 | -F,--image-format <fmt> Image file format (png, jpg ...) |
||
| 51 | -H,--images-dir <dir> Output directory for individual images (default: plots-dir) |
||
| 52 | -v,--verbosity <level> Set verbosity level (>=0) |
||
| 53 | -V,--version Display program version information and exit |
||
| 54 | 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. |
||
| 55 | 8:18 |
||
| 56 | 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. |
||
| 57 | 8:19 |
||
| 58 | The relevant options are protoimagefile and protomacroimagefile. |
||
| 59 | |||
| 60 | |||
| 61 | 6 | Alexandre Camsonne | ----------- |
| 62 | 1 | Austin Kuntz | |
| 63 | 6 | Alexandre Camsonne | Hall C spreadsheet for description of variables |
| 64 | 5 | Alexandre Camsonne | |
| 65 | 6 | Alexandre Camsonne | https://docs.google.com/spreadsheets/d/1UNhaQdSzaOteizUSfve5DdX4hQFQms4tBc5FZ366GuA/edit?usp=sharing |
| 66 | |||
| 67 | 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) |