Solid cherenkov readout
Contents
lasertest
MAPMT test with laser, maroc pixel by PC and sum by fadc, at CLAS12 laser test stand
note,log,plot https://hallaweb.jlab.org/12GeV/SoLID/download/cc_pro/lasertest/
benchtest
MAPMT test with LED, both maroc pixel and sum by fadc
crate 1 has fadc in slot 3 and ssp in slot 15
15 pmts and 5 fibers 0 - 4
coda data taking
both solid@tunl11 and daq@sbsvme22 use ~/.tcshrc for coda env setup coda config is at daq@sbsvme22:git/rol
to start coda, at solid@tunl11 > vncserver (start vnc) > vncviewer localhost :1 & (login with same password of solid user) inside vnc > kcoda > startCoda
If the crate is down, the xterms should have remained up while the crates were down If they are closed, just start them up again. If you think the ROCs need restarted: "restartStuff"
The xterms for the ROCS and PEB should remain up until you kcoda. refer to https://github.com/JeffersonLab/coda_scripts
when coda running, the processes below are present
[daq@sbsvme22 ~]$ ps -ef | grep coda daq 5911 5893 0 12:40 pts/0 00:00:00 /bin/bash /home/daq/coda_scripts/startROC.sh ROC1 daq 5913 5911 99 12:40 pts/0 01:13:25 coda_roc -i -v -name ROC1 -session solidhgc [solid@tunl11 ~]$ ps -ef | grep coda solid 8423 8390 0 12:45 pts/17 00:00:00 /bin/bash /home/solid/coda_scripts/startPEB.sh solid 8428 8423 0 12:45 pts/17 00:00:00 /bin/csh -f /home/solid/coda3/3.10/Linux-x86_64/bin/coda_emu_peb PEB1 solid 8430 8428 1 12:45 pts/17 00:00:44 /home/solid/jdk1.8.0_152/bin/java -cp /home/solid/coda3/3.10/common/jar/* -XX:+PerfDisableSharedMem -XX:+UseG1GC -Djava.net.preferIPv4Stack=true -Djava.library.path=/home/solid/coda3/3.10/Linux-x86_64/lib -DcmsgUDL=rc://multicast/solidhgc -Dname=PEB1 -Dtype=PEB org.jlab.coda.emu.EmuFactory solid 19258 3339 0 13:51 pts/2 00:00:00 grep --color=auto coda solid 31228 31221 0 12:06 pts/14 00:00:00 /bin/csh -f /home/solid/coda3/3.10/Linux-x86_64/bin/platform solid 31231 31228 2 12:06 pts/14 00:02:50 /home/solid/jdk1.8.0_152/bin/java -Xms200m -Xmx2048m -XX:-UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true org.jlab.coda.afecs.platform.APlatform solid 31291 1 0 12:06 pts/15 00:00:00 /bin/csh -f /home/solid/coda3/3.10/Linux-x86_64/bin/rcgui solid 31296 31291 44 12:06 pts/15 00:47:26 /home/solid/jdk1.8.0_152/bin/java -Xms200m -Xmx500m -Dprism.order=sw -Dsun.java2d.pmoffscreen=false -Djava.net.preferIPv4Stack=true org.jlab.coda.afecs.ui.rcgui.RcGuiApplication solid 31315 31297 0 12:06 pts/12 00:00:00 /bin/bash /home/solid/coda_scripts/remote_vme tunl11 nobody startPEB.sh solid 31328 31310 0 12:06 pts/16 00:00:00 /bin/bash /home/solid/coda_scripts/remote_vme sbsvme22 nobody startROC.sh ROC1
coda data analysis
solid_cc_readout_benchtest_coda_runlog
info
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 MAPMT simple sum readout
coda output location tunl11:/home/solid/data
evio on ifarm /work/halla/solid/cc_pro/benchtest/coda/data
evio on ifarm /work/halla/solid/cc_pro/benchtest/coda/root
plot on web https://hallaweb.jlab.org/12GeV/SoLID/download/cc_pro/benchtest/coda
how to use decoder and do fadc analysis
latest cd /work/halla/solid/cc_pro/fadc_decoder-revamp_latest source /work/hallb/prad/apps/set_env_CUE_modern.csh source env/setup_env.csh build/src/analyze -m database/modules/mapmt_maroc_bench_20200903.json ../benchtest/coda/data/solidhgc_73.evio.0 ../benchtest/coda/root/solidhgc_73.root old 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/coda/data/solidhgc_73.evio.0 ../benchtest/coda/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_latest cd fadc_decoder-revamp_latest 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
Oldold
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
maroc analysis
root -b -q 'mRICH_reco.C("/w/halla-scifs17exp/solid/cc_pro/fadc_decoder/solidhgc_67.root" )'
other info
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