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
Line 1: Line 1:
1. tsconnect to ec1, ec2, sc1 and lac1 and type following commands on VXWORKS prompt:
1. tsconnect to ec1, ec2, sc1 and lac1 crates and type following commands on VXWORKS prompt:


  netonhost
  netonhost
  proconhost  
  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. 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,
where xxxxxx is run number.


3. Run command
3. Run command
Line 51: Line 52:
  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 pedestals (significantly bigger then 10) must be investigated:
 
5 61  543 128.842  20
 
 
5. Run command

Revision as of 10:45, 11 September 2007

1. tsconnect to ec1, ec2, sc1 and lac1 crates and type following commands on VXWORKS prompt:

netonhost
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, where xxxxxx is run number.

3. Run command

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

4. 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 pedestals (significantly bigger then 10) must be investigated:

5 61  543 128.842  20


5. Run command