Difference between revisions of "Solid cherenkov readout"

From Hall A Wiki
Jump to: navigation, search
(analysis)
(test in ESB)
Line 6: Line 6:
  
 
info
 
info
  fadc in slot 3 and ssp is in slot 15
+
  crate 1 has fadc in slot 3 and ssp in slot 15
 
  15 pmts and 5 fibers 0 - 4
 
  15 pmts and 5 fibers 0 - 4
  maroc sum has sum signal of fadc value as it is, but quad fadc signal needs 4095-fadc
+
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  ===
 
=== analysis  ===
Line 14: Line 15:
 
working dir /work/halla/solid/cc_pro
 
working dir /work/halla/solid/cc_pro
  
 +
evio location /work/halla/solid/cc_pro/test_esb/data
 +
 +
root location /work/halla/solid/cc_pro/test_esb/root
  
 
test_esb compile decoder and decoding
 
test_esb compile decoder and decoding
 
<pre>
 
<pre>
 +
run
 +
cd /work/halla/solid/cc_pro/fadc_decoder
 +
source /work/hallb/prad/apps/set_env_CUE_modern.csh
 +
source env/setup_env.csh
 +
build/src/analyze ../test_esb/data/solidhgc_67.evio.0 ../test_esb/root/solidhgc_67.root
 +
 +
get and compile
 +
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
 +
 +
Old
 
source /work/hallb/prad/apps/set_env_CUE_modern.csh
 
source /work/hallb/prad/apps/set_env_CUE_modern.csh
 
git clone https://eicweb.phy.anl.gov/cherenkov/fadc_decoder.git
 
git clone https://eicweb.phy.anl.gov/cherenkov/fadc_decoder.git

Revision as of 01:13, 3 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 location /work/halla/solid/cc_pro/test_esb/data

root location /work/halla/solid/cc_pro/test_esb/root

test_esb compile decoder and decoding

run
cd /work/halla/solid/cc_pro/fadc_decoder
source /work/hallb/prad/apps/set_env_CUE_modern.csh
source env/setup_env.csh
build/src/analyze ../test_esb/data/solidhgc_67.evio.0 ../test_esb/root/solidhgc_67.root

get and compile
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

Old
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

code

  • c++ example from Danning Di
    • code to read evio file for GEM detector
    • sample evio file