How to list » History » Version 1
Jixie Zhang, 03/09/2023 01:21 PM
| 1 | 1 | Jixie Zhang | h1. How to list |
|---|---|---|---|
| 2 | |||
| 3 | h2. general information |
||
| 4 | |||
| 5 | login to uvasolid2.jlab.org |
||
| 6 | |||
| 7 | 1) first login to jlab gateway: ssh -X user@login.jlab.org |
||
| 8 | 2) from login.jlab.org, login to hallgw.jlab.org: ssh -X uaer@hallgw.jlab.org |
||
| 9 | You need to type your 6-digit pin followed by 6 digits pin created by mobilepass app in your smart phone. |
||
| 10 | If you do not have this setup send request to helpdesk@jlab.org |
||
| 11 | 3) from hallgw.jlab.org, login to uvasolid2.jlab.org: ssh -X solid@uvasolid2.jlab.org, |
||
| 12 | 4) start vncviewer: vncviewer :1 (sometimes it is in :2 or :3) |
||
| 13 | |||
| 14 | h2. how to run coda |
||
| 15 | |||
| 16 | In uvasolid2, type command "kcoda" then type "startCoda" |
||
| 17 | There are 3 configurations to use: |
||
| 18 | A) hallc_fadc: no GEM, FADC only |
||
| 19 | B) hallc_fadc_ssp: with GEM but no maroc |
||
| 20 | C) hallc_fadc_ssp_maroc: with both GEM and maroc |
||
| 21 | |||
| 22 | raw data file will be written into /home/solid/data |
||
| 23 | |||
| 24 | keep updating run list file: /home/solid/hallc_beamtest_runlist.txt |
||
| 25 | |||
| 26 | h2.how to run mpod to control HV |
||
| 27 | /home/solid/mpod/bin/easy_lv_hv |
||
| 28 | |||
| 29 | h2. how to cook data in uvasolid2 |
||
| 30 | A) source /home/solid/event_viewer/beamtest_hallc_decoder/setup_daq.sh |
||
| 31 | B) replayFiles_18deg.csh '-n 10000 -t 10' /home/solid/data/hallc_fadc_ssp_4580.evio.0 |
||
| 32 | |||
| 33 | usage: /home/solid/event_viewer/beamtest_hallc_decoder/bin/replayFiles_18deg.csh <'replay_option'> <File_List> |
||
| 34 | example 1: replayFiles_18deg.csh '-n -1' hallc_fadc_ssp_3049.evio.? |
||
| 35 | example 2: replayFiles_18deg.csh '-m /home/solid/event_viewer/beamtest_hallc_decoder/database/modules/mapmt_module_highrate.json -n 50000' hallc_fadc_ssp_3049.evio.2 hallc_fadc_ssp_3049.evio.3 |
||
| 36 | replayoption must be single-quoted, here is a list of them: |
||
| 37 | usage of build/src/analyze: |
||
| 38 | build/src/analyze [-n NEV] [-m, --module MODULE] [-r RES] [-t THRES] [-p NPEDS] [-f FLAT] RAW_DATA ROOT_FILE |
||
| 39 | -h, --help: print help message |
||
| 40 | -n [NEV (default: -1)]: number of events to process (< 0 means all) |
||
| 41 | -m, --module [MODULE (default: database/modules/mapmt_module.json)]: json file for module configuration |
||
| 42 | -r [RES (default: 3)]: resolution for waveform analysis |
||
| 43 | -t [THRES (default: 20.000000)]: peak threshold for waveform analysis |
||
| 44 | -p [NPEDS (default: 8)]: sample window width for pedestal searching |
||
| 45 | -f [FLAT (default: 1.000000)]: flatness requirement for pedestal searching |
||
| 46 | -x [USEFIXEDPED (default: 0)]: whether or not to use fixed FADC pedestals from database |
||
| 47 | |||
| 48 | C) the output will be stored at /home/solid/replay/GEMROOTFILE, monitoring histogram and graph will be stored at /home/solid/replay/monitor |
||
| 49 | |||
| 50 | h2. how to transfer raw data t0 /cache: |
||
| 51 | rsync -avzhe ssh --progress --remove-source-files /run/media/solid/Data16T/data1/ /DISK4T/data2/ jixie@ifarm1802:/cache/halla/solid/subsystem/ec/ecal_beamtest_hallc_18deg/raw |
||
| 52 | |||
| 53 | h2. where is the cooked data in the farm |
||
| 54 | |||
| 55 | A) raw data: /cache/halla/solid/subsystem/ec/ecal_beamtest_hallc_18deg/raw |
||
| 56 | B) cooked root file: /volatile/halla/solid/$user/ecal_beamtest_hallc/18deg/ROOTFILE |
||
| 57 | |||
| 58 | C) once the decoder software is frozen, will put pass0 cooked file here: /cache/halla/solid/subsystem/ec/ecal_beamtest_hallc_18deg/replay/pass0 |