Difference between revisions of "Solid cherenkov readout"
From Hall A Wiki
Line 30: | Line 30: | ||
make raw fadc plot | make raw fadc plot | ||
− | python scripts/draw_events.py solidhgc_73.root MAPMT_SUMS -o plots/run73 -e 100,200 | + | python scripts/draw_events.py ../benchtest/root/solidhgc_73.root MAPMT_SUMS -o plots/run73 -e 100,200 |
− | python scripts/draw_events.py solidhgc_73.root MAPMT_QUADS -o plots/run73 -e 100,200 | + | python scripts/draw_events.py ../benchtest/root/solidhgc_73.root MAPMT_QUADS -o plots/run73 -e 100,200 |
compile | compile | ||
Line 38: | Line 38: | ||
cd fadc_decoder-revamp/ | cd fadc_decoder-revamp/ | ||
git checkout revamp | git checkout revamp | ||
+ | source /work/hallb/prad/apps/set_env_CUE_modern.csh | ||
+ | source env/setup_env.csh | ||
mkdir build && cd build | mkdir build && cd build | ||
cmake .. | cmake .. |
Revision as of 01:42, 4 September 2020
test in ESB
data taking
data location tunl11:/home/solid/data
info
crate 1 has fadc in slot 3 and ssp in slot 15 15 pmts and 5 fibers 0 - 4 in evio, fadc tag=3, ssp tag=18 maroc sum has sum signal of fadc value as it is, but quad fadc signal needs 4095-fadc, this is like simple sum
analysis
working dir /work/halla/solid/cc_pro
evio /work/halla/solid/cc_pro/benchtest/data
root /work/halla/solid/cc_pro/benchtest/root
log and plot https://hallaweb.jlab.org/12GeV/SoLID/download/cc_pro/benchtest/
how to use decoder and do analysis
run cd /work/halla/solid/cc_pro/fadc_decoder-revamp source /work/hallb/prad/apps/set_env_CUE_modern.csh source env/setup_env.csh build/src/analyze --config-module="config/mapmt_maroc_bench_20200903.conf" -c 1 ../benchtest/data/solidhgc_73.evio.0 ../benchtest/root/solidhgc_73.root make raw fadc plot python scripts/draw_events.py ../benchtest/root/solidhgc_73.root MAPMT_SUMS -o plots/run73 -e 100,200 python scripts/draw_events.py ../benchtest/root/solidhgc_73.root MAPMT_QUADS -o plots/run73 -e 100,200 compile cd /work/halla/solid/cc_pro/ git clone https://eicweb.phy.anl.gov/cherenkov/fadc_decoder.git fadc_decoder-revamp cd fadc_decoder-revamp/ git checkout revamp source /work/hallb/prad/apps/set_env_CUE_modern.csh source env/setup_env.csh mkdir build && cd build cmake .. make -j8
Old
cp -rpv /w/hallb-scifs17exp/general/prad/jz/hgc/decoder/fadc_decoder /work/halla/solid/cc_pro cd fadc_decoder source /work/hallb/prad/apps/set_env_CUE_modern.csh source env/setup_env.csh rm -rf build mkdir build && cd build cmake .. make -j4 build/src/analyze ../test_esb/data/solidhgc_67.evio.0 ../test_esb/root/solidhgc_67.root source /work/hallb/prad/apps/set_env_CUE_modern.csh git clone https://eicweb.phy.anl.gov/cherenkov/fadc_decoder.git cd fadc_decoder/ git checkout revamp mkdir build && cd build cmake .. make cd .. ./build/ssp/ssp_analyze /w/hallb-scifs17exp/general/prad/jz/fadc_decoder-master/solidhgc_50.evio.0 solidhgc_50.root
ssp decoding info
For the SoLID Cerenkov test in HallC, maroc electronics will be read out by ssp which can be recorded by coda into evio file
For GEM in HallA/C, it will be readout by ssp also
If we use analyzer to read evio, we would need to make it read ssp bank.
Then interpret its content of maroc or GEM separately.
general info
- clas12 rich wiki https://clasweb.jlab.org/wiki/index.php/Clas12_RICH
- clas12 rich NIM paper https://clasweb.jlab.org/12gev/nims/?C=M;O=D
- gluex dirc https://halldweb.jlab.org/wiki/index.php/DIRC
code
- c++ example from Danning Di
- code to read evio file for GEM detector
- sample evio file
- example from hall D
- C++ code in DANA/JANA to read the SSP data from evio file for DIRC detector https://github.com/JeffersonLab/halld_recon/blob/master/src/libraries/DAQ/DEVIOWorkerThread.cc#L2130
- sample evio file /work/halla/solid/cc_pro/hd_rawdata_071507_012.DIRC-LED.evio
- ssp data bank structure for DIRC File:DIRC SSPDataFormat.pdf
- example from clas12
- java code to read ssp data bank from evio file for RICH detector and covert to hipo file https://github.com/JeffersonLab/clas12-offline-software/tree/development/common-tools/clas-detector/src/main/java/org/jlab/detector/decode
- java reconstruction code in coatjava/CLARA to analyze ssp data bank in hipo file https://github.com/JeffersonLab/clas12-offline-software/tree/development/reconstruction/rich/src/main/java/org/jlab/rec/rich
- calibration
- manual https://clasweb.jlab.org/wiki/images/4/41/RichTimeCalibration_Manual-03-02-2020.pdf
- code https://github.com/JeffersonLab/clas12calibration-rich/tree/master/richTimeCalib
- hipo4 needed https://github.com/gavalian/hipo
- test hipo4 file /cache/clas12/rg-b/production/recon/pass0/v21.8.1/mon/recon/
- example from mRICH of EIC
- /work/halla/solid/cc_pro/maroc_mirazita