Vped scans (Dec. 2019)
Updated on Mon, 2019-12-09 16:37. Originally created by adams92 on 2019-12-09 16:37.
Following Rosi's instructions (https://drupal.star.bnl.gov/STAR/blog/rjreed/epd-vped-scans-2019) and using run 20343004-8, and not running with the CAMAC crate off, I generated the attached PDFs. The "big" versions are having problems I'm trying to fix, but the "small" ones are still helpful.
Here is exactly what I did:
$ ssh -A -Y you@rssh.rhic.bnl.gov
$ ssh -t -A -Y stargw.starp.bnl.gov
(If you can't get in, see: https://drupal.star.bnl.gov/STAR/blog/adams92/how-gain-access-daqman-epd-work)
$ ssh evpops@daqman
$ cd /RTS/conf/epd
$ cp EPD_TUFFmap.txt EPD_TUFFmap_09Dec2019.txt
$ cp /RTS/conf/epd/MappingPatterns2018/Zeros_02262018.txt EPD_TUFFmap.txt
Click "PHYSICS" on the EPD GUI and have shift crew take a pedestal_rhicclock_clean run with 1000 events
$ cp VpedPatterns2018/Epd_vped-20.txt EPD_TUFFmap.txt
Click "PHYSICS" on the EPD GUI and have shift crew take a pedAsPhys run with 1000 events
(repeat the above two lines for: -10, 0, 10, 20
$ cp EPD_TUFFmap.txt EPD_TUFFmap_09Dec2019.txt
Click "PHYSICS" on the EPD GUI and have shift crew take a pedestal_rhicclock_clean run with 1000 events
$ logout
$ cp VpedPatterns2018/Epd_vped-20.txt EPD_TUFFmap.txt
Click "PHYSICS" on the EPD GUI and have shift crew take a pedAsPhys run with 1000 events
(repeat the above two lines for: -10, 0, 10, 20
$ cp EPD_TUFFmap.txt EPD_TUFFmap_09Dec2019.txt
Click "PHYSICS" on the EPD GUI and have shift crew take a pedestal_rhicclock_clean run with 1000 events
$ logout
$ rterm -i
$ mkdir VpedScan_Dec2019
$ cd VpedScan_Dec2019
make files according to the attachments at: https://drupal.star.bnl.gov/STAR/blog/rjreed/procedure-make-histograms-various-scans
and: https://drupal.star.bnl.gov/STAR/system/files/AnalyzeVpedScan.txt
$ mkdir StRoot
$ mkdir StRoot/StEpdHistMaker/
$ mv StEpdHistMaker.* StRoot/StEpdHistMaker/
$ stardev
$ cons
$ chmod +x runepdhist.sh
$ ls /trg/data/trgdata/
In "runepdhist.sh", I made the changes:
dayformat=$(printf "20%03d\n" $((10#$day)))
runformat=$(printf "%i%03d\n" $dayformat $((10#$run)))
$ ./runepdhist.sh 343 004 1
(hadd the outputs if the last argument is more than 1)
(repeat for all run numbers, i.e. 004-008)
(repeat for all run numbers, i.e. 004-008)
$ cp 20343/* .
In map_EpdHistos.C, change to the current date: dbMk->SetDateTime(20201209,120000);
$ root4star -q -b 'map_EpdHistos.C("epdhist.20343004.root")'
(repeat for all run numbers, i.e. 004-008)
Edit AnalyzeVpedScan.C to run over your files
$ root -q -b 'AnalyzeVpedScan.C("20343004")'
In another terminal:
$ ssh -A -Y you@rssh.rhic.bnl.gov
$ scp stargw.starp.bnl.gov:/ldaphome/adams92/VpedScan_Dec2019/Vped* .
In another terminal:
$ scp adams92@rssh01.rhic.bnl.gov:*pdf .
The ssh node I logged on to when copying files from the gateway was rssh01; you will probably have to change this part
$ scp adams92@rssh01.rhic.bnl.gov:*pdf .
The ssh node I logged on to when copying files from the gateway was rssh01; you will probably have to change this part
»
- adams92's blog
- Login or register to post comments