RD53A travel module test in KEK

Photos:

to be soon

software:

installed tbb for YARR compile

yum install tbb tbb-devel

directory at YARR-20190820

git checkout v1.0.0 -b v1.0.0

mkdir build-v1.0.0 && cd build-v1.0.0 && cmake3 .. && make && make install

RD53A chip:

RD53A:

Chip SN: 0x0495

Known perculiarities: has VDDA hack with 200kOhm resistst

a NTC mounted near chip

use chip config rd53a_TravellingChip.json

https://travelling-module.readthedocs.io/en/latest/files/rd53a_TravellingChip.json

Scans:

conn. config: configs/connectivity/rd53a_0495_00.json

chip config: configs/rd53a_0495_00.json

scan logs are available soon

console logs:

./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_digitalscan.json -p
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_digitalscan.json -p | tee logs/digital_pre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_analogscan.json -p | tee logs/analogscan_pre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_thresholdscan.json -p | tee logs/thresholdscan_pre.log
vim configs/scans/rd53a/diff_tune_globalthreshold.json
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_globalthreshold.json -p -t 1000 | tee logs/diff_tune_globalthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_pixelthreshold.json -p -t 1000 | tee logs/diff_tune_pixelthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_globalpreamp.json -p -t 10000 | tee logs/diff_tune_globalpreamp.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_pixelthreshold.json -p -t 1000 | tee logs/diff_tune_pixelthre_re.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_thresholdscan.json -p | tee logs/diff_thres.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_globalthreshold.json -p -t 1000 | tee logs/lin_tune_globalthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_globalthreshold.json -p -t 2000 | tee logs/lin_tune_globalthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_pixelthreshold.json -p -t 2000 | tee logs/lin_tune_pixelthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_pixelthreshold.json -p -t 1000 | tee logs/lin_tune_pixelthre_1000.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_globalpreamp.json -p -t 10000 | tee logs/lin_tune_globalpreamp.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_globalpreamp.json -p -t 10000 8 | tee logs/lin_tune_globalpreamp2.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/lin_tune_pixelthreshold.json -p -t 1000 | tee logs/lin_tune_pixelthre_1000_re.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_globalthreshold.json -p -t 1000 | tee logs/diff_tune_globalthre_2.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_pixelthreshold.json -p -t 1000 | tee logs/diff_tune_pixelthre_2.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_globalpreamp.json -p -t 10000 8 | tee logs/diff_tune_globalpreamp_2.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/diff_tune_pixelthreshold.json -p -t 1000 | tee logs/diff_tune_pixelthre_2_re.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/syn_tune_globalthreshold.json -p -t 1000 | tee logs/syn_tune_globalthre.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/syn_tune_globalpreamp.json -p -t 10000 8 | tee logs/syn_tune_globalpreamp.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/syn_tune_globalthreshold.json -p -t 1000 | tee logs/syn_tune_globalthre_re.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_thresholdscan.json -p | tee logs/thresholdscan_after.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_totscan.json -p | tee logs/totscan_after.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_totscan.json -p -t 10000 | tee logs/totscan_after.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_noisescan.json -p | tee logs/noisescan_after.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_noisescan.json -p | tee logs/noisescan_after_2.log
./bin/scanConsole -r configs/controller/specCfg.json -c configs/connectivity/rd53a_TravellingChip.json -s configs/scans/rd53a/std_noisescan.json -p -m 1 | tee logs/noisescan_after_2.log

plotting

cd plotting && make

plotWithRoot_Threshold ../data/000248_std_thresholdscan/ pdf 1

plotWithRoot_NoiseMap ../data/000248_std_thresholdscan/ pdf 1

the results are available soon

localdb

cd work/Silicon

mkdir localDB && cd localDB

setup mongoDB server

git clone https://github.com/jlab-hep/localdb-tools.git

cd setting

sudo ./db_server_install.sh

There was two troubles when starting mongoDB server. First problem is, "SELinux is preventing /usr/bin/mongod from search access on the directory /sys/fs/cgroup" (and also /sys/fs/cgroup/memory/memory.limit_in_bytes). The solution is type,

sudo ausearch -c 'mongod' --raw | audit2allow -M my-mongod && sudo semodule -i my-mongod.pp

. Second problem is wrong bind ip address in configuration in /etc/mongod.conf. The solution is to delete wrong bind ip in /etc/mongod.conf. Then, run sudo ./db_server_install.sh again to finish setup.

start viewer

cd ../viewer

./setup.sh # create default configure file

export FLASK_DEBUG=1 # debug mode (option)

nohup python3 app.py --config conf.yml & # Start viewer on background

open browser, type http://localhost:5000/localdb/ to see if there is no problem.

checkout YARR localDB and setup

cd ../..

git clone -b devel https://gitlab.cern.ch/yarr/yarr.git yarr-localdb

cd yarr-localdb

mkdir build && cd build && cmake3 .. && make && make install

cd ../localdb

/setup_db.sh

register module

based on https://yarr.readthedocs.io/en/devel/localdb/#advanced-tutorial

cd ..

1. create a user configuration. e.g. eunchong.json

{
  "userName": "Eunchong Kim",
  "institution": "Tokyo Tech",
  "description": "nemui"
} 

2. create a site configuration. e.g.) kek.json

{
    "institution": "KEK"
}

3. create component_rd53a_TravellingChip.json

{
  "module": {
      "serialNumber": "0x0495",
      "componentType": "Module"
  },
  "chipType" : "RD53A",
  "chips" : [
      {
          "serialNumber": "0x0495_chip1",
          "componentType": "Front-end Chip",
            "chipId": 0
      }
  ]
}

then, type

./bin/dbAccessor -C -c component_rd53a_TravellingChip.json -u eunchong.json -i kek.json

-- Atlasj Silicon - 2019-08-20

Comments

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2019-08-20 - AtlasjSilicon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback