In this page, I would like to summarize the SCT tips!
LOG 19/Feb/2021:

- I can't access to the pc-sct-mon-72

- there is no directory, "/work/pc-sct-mon-41/sctdaq/tdaq-08-01-01"

Want to check the defects! [COOL database]

I put the script to dump the information about defects from COOL data base. Original code was made by Daniel James Lewis. Thank you very much.


Want to check the raw results of calibration such as S-curve plots [DataDisplayer]

!!Attention!! You need a permission to access to the pc-sct-mon-41

1st step: Get the analyzing data Calibration data is located at "/eos/atlas/atlascerngroupdisk/det-sct/calibration/[year]/[month]/[run number]/" . Copy the file to your directory.

Copied file should be converted from tar file to gz as follows.

tar -xvf fileName.tar

check the constructer of the file.gz. For example, it would be " run******/scan** " .

2nd step: Run the "DataDisplayer"

ssh pc-sct-mon-41
#I use Bruce's setup files. Thank you very much.
source /work/pc-sct-mon-41/sctdaq/tdaq-08-01-01/setups/
#you should set the file pass which you would like to check.
DirPath=< gz file pass >
#i.e; DirPath=/work/wrokingDir/run367623/scan19

##start the DataDisplayer (normal)
#you should fill the file name in the <>
DataDisplayer -try IOManagerArchiveFile:$DirPath:$DirPath <SctData::RawScanResult.367623.19.20220380200319.gz>

##start the DataDisplayer (in case of checking the strip by strip)
DataDisplayer -chan <Beginning of strip number> <End of strip number> -try IOManagerArchiveFile:$DirPath:$DirPath <SctData::RawScanResult.367623.19.20220380200319.gz>

# control+C (when you want to finish)

Want to check the calibration results [calibration database, mySQL]

The detail is described following link in case of using script.

If you don't use the script, you can check the parameters with following commands.

ssh pc-sct-mon-72
mysql -u sctroddq -p
#(hit return no password)

mysql> use production;
mysql>select TESTS.test_no,test_date,test_name,defect_name,chan_1st,locn_name,initls from DEFECTS,TESTS where DEFECTS.TEST_NO=TESTS.TEST_NO and SER_NO=20220130000521;

Want to check the detector parameters [geometryDump]

ssh atlasgw
#connect to pc-atlas-cr-sct

source /det/sct/tdaq-07-01-00/ 
export CORAL_AUTH_PATH=/det/sct/confDB/coral
export CORAL_DBLOOKUP_PATH=/det/sct/confDB/coral

#geometryDump -b Cool -f -f $ALIAS/$SCHEMA -s <serial number> <parameters you want to dump such as sn(serial number), trims (trim value of each strip)>
geometryDump -b Cool -f $ALIAS/$SCHEMA -s 20220240100387 sn trims

You can check the following parameters. Available parameters:

command meanings command meanings command meanings
sn module serial number barrel barrel number (barrel) row row on barrel (barrel)
disk disk number (endcap) quadrant quadrant on disk (endcap) number number on (barrel) row or (endcap) quadrant
mur minimal unit of readout number murpos position within MUR offline an offline identifier
splitoffline offline params cablemapping nearly the rod-robid and cable mapping format pscrate power supply crate number
pschannel power supply channel number dummy prints and underscore "_" partition DAQ partion
crate DAQ crate in partition rod ROD in DAQ crate slot ROD slot in DAQ crate
channel ROD channel redundant DAQ channel for redundant tx fibre ROD fibre mappings (rx is base 12)
fibreoffset Offset of fibres within MUR links link numbers (base 0x10) errormask error mask (per link)
coarse Coarse delay on BOC channel fine Fine delay on BOC channel group DAQ group
groupConf DAQ group from Config (for debugging only) select Select line calfac Calibration correction factor (1 per chip)
threshold Chip threshold setting (1 per chip) ttarget Trim target (1 per chip) calcthresh Threshold for 1fC calculated from RC (1 per chip)
threshinfc Chip threshold setting converted to fC using RC (1 per chip) throff Offset between threshold and trim target (1 per chip) compression Compression mode (1 per chip)
edgedetect Edge detect (1 per chip) trimrange Trim range (1 per chip) preamp Preamp bias DAC counts (1 per chip)
shaper Shaper current DAC counts (1 per chip) chipConfig Chip configuration register (1 per chip) trims Trims in hex (128 hex digits per chip)
rodid RODid of ROD robid ROBid connected to hexrodid RODid of ROD in hex
hexrobid ROBid connected to in hex bypass Report bypass chains for module modified What kind of bypass does this have
masked Count of masked channels on chip

Want to check the hit efficiency with setting the ignore defect!

--Main.NaokiYamaguchi - 2021-02-19

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2021-02-19 - NaokiYamaguchi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback