ADC Pedestals Measurement Procedure: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
 
Boiarino (talk | contribs)
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
1. tsconnect to ec1, ec2, sc1 and lac1 and type following commands on VXWORKS prompt:
'''IMPORTANT:''' if several pedestal runs have to be taken, EVERY RUN must be started from DOWNLOAD !!! Use ''Abort'' button to switch from ''Prestart'' to ''Download'' on Runcontrol GUI.


netonhost
1. Take about 8k events with following DAQ conditions: CODA configuration is PEDS_ALL, trigger configuration file ''calib/peds_all.cfg''. File ''/raid/stage_in/peds_all_xxxxxx.A00'' will be created on Event Recorder's machine (clondaq2), where xxxxxx is run number.
proconhost


2. Take about 8k events with following DAQ conditions: CODA configuration is PEDS_ALL, trigger configuration file ''calib/peds_all.cfg''. File ''/raid/stage_in/peds_all_xxxxxx.A00'' will be created on Event Recorder's machine.
2. Run command (/raid/stage_in is mounted on clondaq2)
 
3. Run command


  fdump /raid/stage_in/peds_all_xxxxxx.A00
  fdump /raid/stage_in/peds_all_xxxxxx.A00
Line 47: Line 44:
  CALL            0      3      5      8    B16
  CALL            0      3      5      8    B16


4. Run command
3. Run command


  pedo /raid/stage_in/peds_all_xxxxxx.A00
  pedo /raid/stage_in/peds_all_xxxxxx.A00


it will create following files in ''$CLON_PARMS/pedman/archive'' directory:
it will create following text files in ''$CLON_PARMS/pedman/archive'' directory:
 
cc1_clasprod_xxxxxx.ped
ec1_clasprod_xxxxxx.ped
ec2_clasprod_xxxxxx.ped
lac1_clasprod_xxxxxx.ped
sc1_clasprod_xxxxxx.ped
 
Look through those files to make sure they looks reasonable, for example:
 
more /usr/local/clas/parms/pedman/archive/cc1_clasprod_055357.ped
6  0  538  4.104  20
6  1  597  9.255  20
6  2  523  3.424  20
6  3  550  4.939  20
6  4  564  6.095  20
6  5  564  5.576  20
6  6  669  2.679  20
6  7  581  2.841  20
6  8  594  2.825  20
6  9  577  2.799  20
....................
 
Five columns means following: slot number, channel number, pedestal, pedestal's sigma, pedestal offset (pedestal+offset value will be used for ADC boards sparsification).
 
Dead channels will be presented as following:
 
2 51  999 99.999  20
 
Channels with big siagmas (significantly bigger then 10) must be investigated:
 
5 61  543 128.842  20
 
At the same time following files will be created in ''$CLON_PARMS/pedman/Tfiles'' directory:
 
cc.trans_clasprod_xxxxxx.txt
ec.trans_clasprod_xxxxxx.txt
lac.trans_clasprod_xxxxxx.txt
pc.trans_clasprod_xxxxxx.txt
ps.trans_clasprod_xxxxxx.txt
sc.trans_clasprod_xxxxxx.txt
st.trans_clasprod_xxxxxx.txt
stn.trans_clasprod_xxxxxx.txt
tac.trans_clasprod_xxxxxx.txt
 
Those files contains the same information as files in ''$CLON_PARMS/pedman/archive'' directory, but it presented based on detectors, not crates-slots.
 
4. Run command (DO NOT TYPE LEADING 0's IN RUN NUMBER !!!)
 
pedman_links xxxxxx
 
to create symbolic links to the latest pedestal files. Those links will be used by DAQ starting from following ''Download'' transition.

Latest revision as of 23:47, 21 December 2008

IMPORTANT: if several pedestal runs have to be taken, EVERY RUN must be started from DOWNLOAD !!! Use Abort button to switch from Prestart to Download on Runcontrol GUI.

1. Take about 8k events with following DAQ conditions: CODA configuration is PEDS_ALL, trigger configuration file calib/peds_all.cfg. File /raid/stage_in/peds_all_xxxxxx.A00 will be created on Event Recorder's machine (clondaq2), where xxxxxx is run number.

2. Run command (/raid/stage_in is mounted on clondaq2)

fdump /raid/stage_in/peds_all_xxxxxx.A00

and make sure raw data banks EC12, RC13, RC14, RC15 and RC16 are there. Single event should look like following:

key = 3  name = RUNEVENT  numra = 55357  numrb = 3  icl = 20992
hname       numdb   ncol   nrow    nwd    format
---------   -----   ----   ----    ---    ---------------
HEAD            0      8      1      8    I
RC12            0      1    325    325    B32
RC13            0      1    715    715    B32
RC14            0      1    714    714    B32
RC15            0      1    715    715    B32
RC16            0      1    520    520    B32
RC26            0      1      4      4    B32
CC              1      3     36     54    B16
CC              2      3     36     54    B16
CC              3      3     36     54    B16
CC              4      3     36     54    B16
CC              5      3     36     54    B16
CC              6      3     36     54    B16
EC              1      3    216    324    B16
EC              2      3    216    324    B16
EC              3      3    216    324    B16
EC              4      3    216    324    B16
EC              5      3    216    324    B16
EC              6      3    216    324    B16
EC1             1      5    128    320    B16
EC1             2      5    128    320    B16
TGBI            0      5      1      5    B32
SC              1      5     57    143    B16
SC              2      5     57    143    B16
SC              3      5     57    143    B16
SC              4      5     57    143    B16
SC              5      5     57    143    B16
SC              6      5     57    143    B16
DSTC            0      9      2      9    B16
STN1            0      2     24     24    B16
CALL            0      3      5      8    B16

3. Run command

pedo /raid/stage_in/peds_all_xxxxxx.A00

it will create following text files in $CLON_PARMS/pedman/archive directory:

cc1_clasprod_xxxxxx.ped
ec1_clasprod_xxxxxx.ped
ec2_clasprod_xxxxxx.ped
lac1_clasprod_xxxxxx.ped
sc1_clasprod_xxxxxx.ped

Look through those files to make sure they looks reasonable, for example:

more /usr/local/clas/parms/pedman/archive/cc1_clasprod_055357.ped
6  0  538  4.104  20
6  1  597  9.255  20
6  2  523  3.424  20
6  3  550  4.939  20
6  4  564  6.095  20
6  5  564  5.576  20
6  6  669  2.679  20
6  7  581  2.841  20
6  8  594  2.825  20
6  9  577  2.799  20
....................

Five columns means following: slot number, channel number, pedestal, pedestal's sigma, pedestal offset (pedestal+offset value will be used for ADC boards sparsification).

Dead channels will be presented as following:

2 51  999 99.999  20

Channels with big siagmas (significantly bigger then 10) must be investigated:

5 61  543 128.842  20

At the same time following files will be created in $CLON_PARMS/pedman/Tfiles directory:

cc.trans_clasprod_xxxxxx.txt
ec.trans_clasprod_xxxxxx.txt
lac.trans_clasprod_xxxxxx.txt
pc.trans_clasprod_xxxxxx.txt
ps.trans_clasprod_xxxxxx.txt
sc.trans_clasprod_xxxxxx.txt
st.trans_clasprod_xxxxxx.txt
stn.trans_clasprod_xxxxxx.txt
tac.trans_clasprod_xxxxxx.txt

Those files contains the same information as files in $CLON_PARMS/pedman/archive directory, but it presented based on detectors, not crates-slots.

4. Run command (DO NOT TYPE LEADING 0's IN RUN NUMBER !!!)

pedman_links xxxxxx

to create symbolic links to the latest pedestal files. Those links will be used by DAQ starting from following Download transition.