]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
update startup scripts, add new settings files, adapt to overlapping broadcast addresses
authorhadaq <jan@lxhadeb07>
Thu, 7 Jan 2021 11:57:08 +0000 (12:57 +0100)
committerhadaq <jan@lxhadeb07>
Thu, 7 Jan 2021 11:57:08 +0000 (12:57 +0100)
19 files changed:
cts/startup.script
ecal/register_tdc_ecal.db
ecal/startup.script
main/main_hades.script
main/setaddresses.sh
main/startup_briccolage.sh
mdc/register_thresholds_current.db
mdc/serials_mdcaddon.db
mdc/serials_oep.db
mdc/startup.script
rpc/startup.script
start/addresses_trb3sc.db
start/register_tdc.db [new file with mode: 0644]
start/startup.script
sts/loadregisterdb.pl [new symlink]
sts/startup.script
tof/startup.script
trg/register_trigger.db [new file with mode: 0644]
trg/startup.script

index 66b8557be6f298a6478d34072384b3acd41171a0..86ce2d4a0653a1c85cf556c000f0f0795fad3298 100644 (file)
@@ -18,5 +18,5 @@ trbcmd setbit 0x0003 0xA0C2 0x01000000
 trbcmd loadbit 0x0003 0xa0f0 0xffff0000 0xfff0000
 
 #Default LVL1 pattern
-trbcmd w 0x0003 0xa0e4 0x700
+#trbcmd w 0x0003 0xa0e4 0x700
 
index b435abbd5beaa715a55865d3a8298816c2a2ac25..8b5651afb261ebb38f22cc35926a7d73b5eb6cfa 100644 (file)
@@ -1,15 +1,29 @@
 # TDC config registers                                                                                       
                                                                                                              
 !Register table                                                                                              
-#  Type  #   C0   #   C1   #   C2   #   C3   #   C4   #   C5   #                                             
-################################################################                                             
-     0     0xc800   0xc801   0xc802   0xc803   0xc804   0xc805                                               
+#  Type  #   C0   #   C1   #   C2   #   C3   #   C4   #   C5   #    C6    #
+###########################################################################                                             
+     0     0xc800   0xc801   0xc802   0xc803   0xc804   0xc805    0xc806                 
+     2              0xc801            0xc803            0xc805    0xc806                 
                                                                                                              
 !Value table                                                                                                 
-#                    Gnl Conf    Trg Window   Ch En 1-32   Ch En 33-64 RingBufSize    Invert                 
-# TDC    #  Type  #     C0     #     C1     #     C2     #     C3     #     C4    #     C5     #             
-#################################################################################################            
+#                    Gnl Conf    Trg Window   Ch En 1-32   Ch En 33-64 RingBufSize    Invert      Invert           
+# TDC    #  Type  #     C0     #     C1     #     C2     #     C3     #     C4    #     C5     #    C6    #            
+###########################################################################################################            
                                                                                                              
-#0xfe71          0   0x50003000   0x802800c8   0xFFFFFFFF   0x0000FFFF   0x00000010   0x00000000 # trb3sc1 TDC
-                                                                                                           
-0xfe71          0   0x50003000   0x802800c8   0xffffffff   0x0000ffff   0x00000010   0x00000000 # trb3sc1 TDC
\ No newline at end of file
+0xfe71          0   0x50003000   0x83ff00c0   0xffffffff   0x0000ffff   0x00000010   0xaaaaaaaa   0xaaaaaaaa# trb3sc1 TDC
+
+
+#Start
+0x5000          2      0x800a00c8      0    0   0
+0x5001          2      0x800a00c8      0    0   0       
+0x5002          2      0x800a00c8      0    0   0       
+0x5003          2      0x800a00c8      0    0   0       
+
+#iTOF
+0x5d00          2      0x800a00c8      0    0   0       
+0x5d01          2      0x800a00c8      0    0   0       
+0x5d02          2      0x800a00c8      0    0   0       
+0x5d03          2      0x800a00c8      0    0   0       
+0x5d04          2      0x800a00c8      0    0   0       
+0x5d05          2      0x800a00c8      0    0   0       
index 685cf45afb7950f133033b3313d9716797d6d9bd..35f044554a7aea19f654d40e65b0306ee4ed5eac 100644 (file)
@@ -1,6 +1,6 @@
 
 ####################
-## Broadcast fe71 affects iTOF and Start as well!
+## Common Script for ECal, Start, iTOF
 ####################
 
 #ECAL pulser configuration
@@ -24,99 +24,18 @@ trbcmd w 0x0120 0xa206 0x2e  #PulserWidth=47ns
 trbcmd w 0x0120 0xa207 0x2e  #PulserWidth=47ns
 trbcmd w 0x0120 0xa208 0x2e  #PulserWidth=47ns
 
+# the following is also included in ecal_set_thresholds.pl, so this is only
+# for the other systems
 
-#set trigger for cosmics and pulser
-exec_cmd{local} /home/hadaq/trbsoft/daq/ecal/loadregisterdb.pl /home/hadaq/trbsoft/daq/ecal/register_monitoring_trigger.db
-
-trbcmd w 0xfe71 0x7111 500  #max number of words per board
+trbcmd w 0xfe71 0x7111 500
 trbcmd w 0xfe71 0x7114 0x00050000 #min number of words per board
 
 
-#set invert to 0xaaaa
-
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --execute=invert --data=0xaaaa
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --execute=invert --data=0xaaaa
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --execute=invert --data=0xaaaa
-  
-#LEDs off
-
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --execute=led --data=0x0000
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --execute=led --data=0x0000
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --execute=led --data=0x0000
-  
-#input enable 0x0000
-
-#stretcher 0x0000
-
 
-  
-#set global dischargedelayselect to 20
 
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=0 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=1 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=2 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=3 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=4 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=5 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=6 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=7 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=8 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=9 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=10 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=11 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=12 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=13 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=14 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=0 --channel=15 --execute=dischargedelayselect --data=20
+# sets all thresholds and other settings for the complete ECAL-system
+exec_cmd{local} ecal_set_thresholds.pl
 
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=0 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=1 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=2 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=3 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=4 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=5 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=6 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=7 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=8 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=9 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=10 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=11 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=12 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=13 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=14 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=1 --channel=15 --execute=dischargedelayselect --data=20
-
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=0 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=1 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=2 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=3 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=4 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=5 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=6 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=7 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=8 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=9 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=10 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=11 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=12 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=13 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=14 --execute=dischargedelayselect --data=20
-  exec_cmd{local} spi_slave.pl --endpoint=0xfe71 --chain=2 --channel=15 --execute=dischargedelayselect --data=20
-
-  
 #Load TDC settings
-
   load_register  register_tdc_ecal.db
-    
-#TDC settings for overshoot method
-trbcmd w 0xfe71 0xc801 0x83ff00c0 #enable trigger window: 965 ns (before), 5115 ns (after)
-#trbcmd w 0xfe71 0xc801 0x812c00c0 #enable trigger window: 965 ns (befre), 1500 ns (after)
-#trbcmd w 0xfe71 0xc801 0x3ff00c0 #disable trigger window
-trbcmd w 0xfe71 0xc805 0xaaaaaaaa #invert TDCs for SLOW channels
-trbcmd w 0xfe71 0xc806 0xaaaaaaaa #invert TDCs for SLOW channels
-
-#exec_script{pexor} ../ecal/startupQFH.script #not working?
-#exec_cmd{local} ../ecal/startupQFH.sh
-#trbcmd w 0x6036 0xc802 0x00000000 #deactivate TDCs on QFH board
 
-#wait
index 9aca7cf7b2b534496e95a88c77e36a16fbc9a884..aee0f600426fa587827e18a092ede31b2e083fb9 100644 (file)
@@ -9,10 +9,7 @@ read_addrange_db ../main/address_range.db
 #Load TRB database files
 #################################################
 
-!ifndef NOCTS
-  read_trb_db ../cts/trb.db
-!endif
-
+read_trb_db ../cts/trb.db
 
 
 #################################################
@@ -45,93 +42,62 @@ read_addrange_db ../main/address_range.db
 
 
 exec_cmd{con} echo "Configure Hubs"
-exec_script{pexor} ../hub/startup.script
+exec_script{local} ../hub/startup.script
 wait
 exec_cmd{local} ./setaddresses.sh
 wait
 
 
 
- !ifndef MDCNOCOMPILETIME
-   exec_cmd{nofork} check_compile_time oep 0x4c3b2466
- !endif
+!ifndef MDCNOCOMPILETIME
+  exec_cmd{nofork} check_compile_time oep 0x4c3b2466
+!endif
+
+
+!ifndef NOMDC
+  exec_cmd{con} echo "Configure MDC"
+  exec_script{local} ../mdc/startup.script
+!endif
 
+!ifndef NORICH
+  exec_cmd{con} echo "Configure RICH"
+  exec_script{local} ../rich/startup.script
+!endif
 
-#Configuration on TRBs
   exec_cmd{con} echo "Configuring BLR"
   exec_script{blr}   ../cts/configure_blr.script
 
-#MDC
-  !ifndef NOMDC
-    exec_cmd{con} echo "Configure MDC"
-    exec_script{pexor} ../mdc/startup.script
-  !endif
 
-#RICH
-  !ifndef NORICH
-    exec_cmd{con} echo "Configure RICH"
-    exec_script{local} ../rich/startup.script
-  !endif
+  exec_cmd{con} echo "Configure TOF & fRPC"
+  exec_script{local} ../tof/startup.script 
+  
 
-# #Pion
-#   !ifndef NOPION
-#     exec_cmd{con} echo "Configure Pion"
-#     exec_script{pexor} ../pion/startup.script
-#   !endif  
+  exec_cmd{con} echo "Configure RPC"
+  exec_script{local} ../rpc/startup.script
   
-#ECAL
-  !ifndef NOECAL
-    exec_cmd{con} echo "Configure ECAL"
-    exec_script{local}  ../ecal/startup.script
-  !endif
+
+  exec_cmd{con} echo "Configure STS & Veto"
+  exec_script{local}  ../sts/startup.script
   
-#STS
-  !ifndef NOSTS
-    exec_cmd{con} echo "Configure STS"
-    exec_script{local}  ../sts/startup.script
-  !endif
 
-#fRPC
-  !ifndef NOSTS
-    exec_cmd{con} echo "Configure fRPC"
-    exec_script{local}  ../frpc/startup.script
-  !endif
+  exec_cmd{con} echo "Configure ECAL"
+  exec_script{local}  ../ecal/startup.script
+
+  exec_cmd{con} echo "Configure Start / iTOF"
+  exec_script{local}  ../start/startup.script
   
-# #Wall
-#   !ifndef NOWALL
-#     exec_cmd{con} echo "Configure Wall"
-#     exec_script{local} ../wall/startup.script
-#   !endif
-
-#Start/Veto
-  !ifndef NOSTARTCTS
-    exec_cmd{con} echo "Configure Start/Veto"
-    exec_script{local} ../start/startup.script
-  !endif
   
-#TOF
-  !ifndef NOTOF
-    exec_cmd{con} echo "Configure TOF"
-    exec_script{local} ../tof/startup.script
-  !endif
+  exec_cmd{con} echo "Configure Trigger"
+  exec_script{local} ../trg/startup.script
 
-#RPC
-  !ifndef NORPC
-    exec_cmd{con} echo "Configure RPC"
-    exec_script{local} ../rpc/startup.script
-  !endif
-  
-wait
   
 #Central boards / CTS / SCS
-  !ifndef NOCTS
     exec_cmd{con} echo "Configure CTS"
     exec_script{local} ../cts/startup.script
-  !endif
 
-exec_cmd{local} trbcmd w 0xffff 0x50 0  #Reset global time
 
-#exec_cmd{local} trbcmd w 0xffff 0x20 0x30  #Reset error counters
+exec_cmd{local} trbcmd w 0xffff 0x50 0  #Reset global time
 exec_cmd{local} trbcmd w 0xffff 0x20 0x10  #Reset error counters, but reset counter
 
 #Oracle
@@ -142,7 +108,8 @@ exec_cmd{local} trbcmd w 0xffff 0x20 0x10  #Reset error counters, but reset coun
     exec_cmd{local} daq2oracle
   !endif
 
-exec_cmd{con} echo "---------Configuration finished. DAQ should have started.----------"
+wait  
+exec_cmd{con} echo "--------- Configuration by start.pl finished. ----------"
 
 
 
index 04f789dd28c916de902f60180ab2048f58f8057b..bb3428812ab1f878d018be0d484c0f02dfd609d1 100755 (executable)
@@ -8,4 +8,5 @@
 ./merge_serial_address.pl  ~/trbsoft/daq/rpc/serials_trb3sc.db    ~/trbsoft/daq/rpc/addresses_rpc_trb3sc.db #RPC
 ./merge_serial_address.pl  ~/trbsoft/daq/start/serials_trb3sc.db  ~/trbsoft/daq/start/addresses_trb3sc.db  #Start, iTOF
 ./merge_serial_address.pl  ~/trbsoft/daq/sts/serials_trb3.db      ~/trbsoft/daq/sts/addresses_sts.db #STS, Veto
-./merge_serial_address.pl  ~/trbsoft/daq/tof/serials_trb3.db      ~/trbsoft/daq/tof/addresses_tofnew.db #TOF, fRPC
+./merge_serial_address.pl  ~/trbsoft/daq/tof/serials_trb3.db      ~/trbsoft/daq/tof/addresses_tofnew.db #TOF
+./merge_serial_address.pl  ~/trbsoft/daq/frpc/serials_trb3.db     ~/trbsoft/daq/frpc/addresses_frpc.db #fRPC
index 82a96fbb4152ddd1efcdfad21b2bc7261bfe630d..d491c03e7693d9e8633ba2cd736238d5208ffa06 100755 (executable)
@@ -15,12 +15,7 @@ then
     ssh hadesp33 "killall mdc_calibration_masks.pl" 2>/dev/null &
 fi
   
-#Stop Eventbuilder
-#   echo "  <EB>      Killing EB, scheduling restart";
-#   ./restartEB.sh  >/dev/null 2>/dev/null &
-  
 # JAM 29-06-2018 instead restarting, just close run, drop buffers and reopen the file below:
-
 # JAM 23-01-2019: get last run prefix from bnet master:
 if [ ! -f "/tmp/EB_prefix.txt" ]
 then
@@ -50,71 +45,36 @@ echo "  <EB>      DAQ restart: Closing file run";
   ssh hadesp31 "cd /home/hadaq/trbnettools/bin/; LD_LIBRARY_PATH=../libtrbnet/ trbnetd";
 #  ssh hadesp31 "pgrep trbnetd 1>/dev/null || trbnetd"
 
-  echo "  <TrbNet>  Enable ports..."
-  trbcmd w 0xfffe 0xc5 0x4000
+
+#Disable failing boards
+#  switchport.pl 0x1024 7 off  #2057, 19/03/12
 
 
 #Switch on all MDC OEPs, small workaround for one broken hardware port:
-  switchport.pl 0x1030 0 off   
-  switchport.pl 0xfe11 all on   
-  switchport.pl 0x1030 0 on
-  trbcmd w 0x1031 0xc0 0xfbf   #one hardware port is not working, but nothing connected
-  trbcmd w 0x1031 0xc1 0xfbf   #one hardware port is not working, but nothing connected
-  trbcmd w 0x1031 0xc3 0xfbf   #one hardware port is not working, but nothing connected
-
-# switchport.pl 0x1113 6 off #221a 20180606
-#2014-04-16 frquent reinits, still token missing 20114-08-13 CW
-#switchport.pl 0x1151 8 off #2257
-#switchport.pl 0x1124 4 off #222a # noisy
-#MBO init failures, switch off for testing all others otherwise DAQ crasehs. MBO will be repaired the next weeks
-#switchport.pl 0x1001 7 off #2044 
-#
-  # enabled again: 2019-2-26 14:14
-  #### switchport.pl 0x1101 4 off #2203
-switchport.pl 0x1024 7 off  #2057, 19/03/12
-
-
-#Retransmission on as early as possible
- trbcmd setbit 0xfffd 0x22 0x08000000   #enable retransmission on oep
- trbcmd setbit 0xfe11 0x22 0x08000000   #enable retransmission on mdchub
-# /home/hadaq/trbsoft/hadesdaq/rich/retransmission.sh 2>/dev/null
+/home/hadaq/trbsoft/hadesdaq/nettools/switchport.pl 0x1030 0 off   
+/home/hadaq/trbsoft/hadesdaq/nettools/switchport.pl 0xfe11 all on   
+/home/hadaq/trbsoft/hadesdaq/nettools/switchport.pl 0x1030 0 on
+trbcmd w 0x1031 0xc0 0xfbf
+trbcmd w 0x1031 0xc1 0xfbf
+trbcmd w 0x1031 0xc3 0xfbf
 
-#Main Start-up
-  echo "  <Startup>  Running Startup script"
-#  time ./startup.pl -f main_hades.script -eb off -o file \
-#      -m TOF -m RPC -m WALL -m RICH  -m NOPION -m ECAL \
-#      -m STARTCTS -m NORESET -m CONFIGONLY  -m MON_CTS \
-#      -m MDC -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv
 
- time ./startup.pl -f main_hades.script -eb off -o file \
-      -m TOF -m RPC -m NOWALL -m RICH  -m NOPION -m ECAL \
-      -m STARTCTS -m NORESET -m CONFIGONLY  -m MON_CTS \
-      -m MDC -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv
+#Quick network test
+trbcmd i 0xffff | wc
 
+#Main Start-up
+  echo "  <Startup>  Running Startup script"
 
-  echo "startup.pl finished"
+  time ./startup.pl -f main_hades.script -eb off -o file \
+      -m CONFIGONLY  -m MON_CTS -m MDC
 
-#   /home/hadaq/trbsoft/daq/nettools/revivedirich.pl
-  
-# time ./startup.pl -f main_hades.script -eb off -o file \
-#       -m TOF -m RPC -m WALL -m RICH  -m NOPION  -m NOECAL\
-#       -m STARTCTS -m NORESET -m CONFIGONLY  -m MON_CTS \
-#       -m MDC -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv     
+   
 
 ########################################
 ###  DO NOT CHANGE ANY MDC SETTINGS HERE - without changing them in reviveoep.pl as well!!!!!!
 ########################################
 
-# reduce maximum number of events in a multievent-queue
-#trbcmd w 0xffff 0x830e 4
-
-#All calib to EB1
-#trbcmd w 0x0003 0xa0f3 0xff1
-
-# turn off multi event queue, as these garble the data from the TRB2s
-#stoptrigger.sh; trbcmd w 0xff7f 0x8307 0 ; starttrigger.sh
-
-
+# -m MDCreg0current -m MDCnomasks -m MDCDATASET -m MDCindiv
 scp /home/hadaq/oper/daq2ora/daq2ora_current.txt hadesp33:/home/hadaq/trbsoft/hadesdaq/hmon/files/ 1>/dev/null &
 
 # JAM 29-06-2018 instead restarting, just drop buffers and reopen the most recent file type:
index 0d2c9614034211488b545b858f54f5a8f56be4a0..bf15ef84351708d48f9bee4d7d369b46dca0f9ce 120000 (symlink)
@@ -1 +1 @@
-thresholds/register_thresholds_30.db
\ No newline at end of file
+register_thresholds_current_2238high.db
\ No newline at end of file
index 2e9132369693eec61d6193e2755209d40c512a73..2b0e5b65d0145f29df5f2c28fab57f4d598a458b 100644 (file)
 
 #s/n #      unique id
 ###########################
- 001   0x8200000270f2b328
- 002   0x9300000270f2ae28
- 003   0xfd00000270e01728
- 004   0x3700000270e0be28
- 005   0x1600000270e01228
- 006   0xb300000270cacd28
- 007   0x5900000270dd8b28
- 008   0x0000000000000028
- 009   0xb200000270dd8e28
- 010   0xb500000270d5f628
- 011   0x6a00000270dcb528
- 012   0x3500000270dd9a28
- 013   0xa400000270d5eb28
- 014   0x7f00000270dd9728
- 015   0xcb00000270dda428
- 016   0xcf00000270dd8228
- 017   0x3e00000270ca8628
- 018   0x5700000270e0c528
-
-
-#AddOn v1
-100    0x4c000001240bf728
\ No newline at end of file
+ 0011   0x8200000270f2b328
+ 0021   0x9300000270f2ae28
+ 0031   0xfd00000270e01728
+ 0041   0x3700000270e0be28
+ 0051   0x1600000270e01228
+ 0061   0xb300000270cacd28
+ 0071   0x5900000270dd8b28
+ 0081   0x0000000000000028
+ 0091   0xb200000270dd8e28
+ 0101   0xb500000270d5f628
+ 0111   0x6a00000270dcb528
+ 0121   0x3500000270dd9a28
+ 0131   0xa400000270d5eb28
+ 0141   0x7f00000270dd9728
+ 0151   0xcb00000270dda428
+ 0161   0xcf00000270dd8228
+ 0171   0x3e00000270ca8628
+ 0181   0x5700000270e0c528
+
+ 0012   0x8200000270f2b328
+ 0022   0x9300000270f2ae28
+ 0032   0xfd00000270e01728
+ 0042   0x3700000270e0be28
+ 0052   0x1600000270e01228
+ 0062   0xb300000270cacd28
+ 0072   0x5900000270dd8b28
+ 0082   0x0000000000000028
+ 0092   0xb200000270dd8e28
+ 0102   0xb500000270d5f628
+ 0112   0x6a00000270dcb528
+ 0122   0x3500000270dd9a28
+ 0132   0xa400000270d5eb28
+ 0142   0x7f00000270dd9728
+ 0152   0xcb00000270dda428
+ 0162   0xcf00000270dd8228
+ 0172   0x3e00000270ca8628
+ 0182   0x5700000270e0c528
+
+ 0013   0x8200000270f2b328
+ 0023   0x9300000270f2ae28
+ 0033   0xfd00000270e01728
+ 0043   0x3700000270e0be28
+ 0053   0x1600000270e01228
+ 0063   0xb300000270cacd28
+ 0073   0x5900000270dd8b28
+ 0083   0x0000000000000028
+ 0093   0xb200000270dd8e28
+ 0103   0xb500000270d5f628
+ 0113   0x6a00000270dcb528
+ 0123   0x3500000270dd9a28
+ 0133   0xa400000270d5eb28
+ 0143   0x7f00000270dd9728
+ 0153   0xcb00000270dda428
+ 0163   0xcf00000270dd8228
+ 0173   0x3e00000270ca8628
+ 0183   0x5700000270e0c528
+
+ 0010   0x8200000270f2b328
+ 0020   0x9300000270f2ae28
+ 0030   0xfd00000270e01728
+ 0040   0x3700000270e0be28
+ 0050   0x1600000270e01228
+ 0060   0xb300000270cacd28
+ 0070   0x5900000270dd8b28
+ 0080   0x0000000000000028
+ 0090   0xb200000270dd8e28
+ 0100   0xb500000270d5f628
+ 0110   0x6a00000270dcb528
+ 0120   0x3500000270dd9a28
+ 0130   0xa400000270d5eb28
+ 0140   0x7f00000270dd9728
+ 0150   0xcb00000270dda428
+ 0160   0xcf00000270dd8228
+ 0170   0x3e00000270ca8628
+ 0180   0x5700000270e0c528
+
+ 0015   0x8200000270f2b328
+ 0025   0x9300000270f2ae28
+ 0035   0xfd00000270e01728
+ 0045   0x3700000270e0be28
+ 0055   0x1600000270e01228
+ 0065   0xb300000270cacd28
+ 0075   0x5900000270dd8b28
+ 0085   0x0000000000000028
+ 0095   0xb200000270dd8e28
+ 0105   0xb500000270d5f628
+ 0115   0x6a00000270dcb528
+ 0125   0x3500000270dd9a28
+ 0135   0xa400000270d5eb28
+ 0145   0x7f00000270dd9728
+ 0155   0xcb00000270dda428
+ 0165   0xcf00000270dd8228
+ 0175   0x3e00000270ca8628
+ 0185   0x5700000270e0c528
+
+
+
index 5e7c9c4b0207ab8024fcb0637ab88c33e58f0853..54e6c6d544e41092b764a0bceb3a8fc7bbd8fd25 100644 (file)
 
 # s/n #      unique id
 ###########################
-013 0x4f000001fc5ef428
-017 0xa5000001fc634328
-021 0x62000001fc57e328
-022 0x5e000001fc535c28
-023 0x59000001fc488628
-025 0x15000001fc5c5328
-026 0x4d000001fc535228
-027 0x6a000001fc5c4c28
-028 0x72000001fc531f28
-029 0xfe000001fc5c5628
-030 0xee000001fc534928
-031 0xae000001fc5c9c28
-032 0xce000001fc62fb28
-033 0x87000001fc54b428
-034 0xbb000001fc546f28
-035 0x98000001fc57fb28
-036 0x13000001fc5d7f28
-037 0x57000001fc57f128
-038 0x0d000001fc530028
-039 0xc1000001fc739728
-040 0x7a000001fc535328
-041 0xa1000001fc2bbb28
-042 0x38000001fc487828
-043 0x85000001fc488228
-044 0xb2000001fc488328
-045 0xaf000001fc4d8928
-046 0x98000001fc4d8828
-047 0xa1000001fc488d28
-049 0x0f000001fc487928
-050 0x96000001fc488c28
-051 0xcc000001fc3edb28 
-052 0x83000001fc4dca28
-053 0x10000001fc3edf28
-054 0xcb000001fc4dd428
-055 0x82000001fc3ef028
-056 0xa1000001fc381928
-057 0x4f000001fc3ee928
-058 0x6b000001fc3ee628
-059 0xf0000001fc4dbf28
-060 0x4e000001fc4dd328
-061 0xb0000001fc643728 
-062 0x18000001fc2f0328
-064 0xc0000001fc2f2128
-065 0x21000001fc763528
-066 0x05000001fc763a28
-067 0x1d000001fc645528
-068 0x2a000001fc645428
-069 0xc6000001fc5db228
-070 0x87000001fc643628
-071 0xdb000001fc60f228
-072 0x6b000001fc5dd028
-073 0xb5000001fc5dc728
-074 0xc8000001fc60fc28
-075 0xf9000001fc5dff28
-076 0xbb000001fc5e9528
-077 0x62000001fc644a28
-078 0x55000001fc644b28
-079 0x43000001fc5e9e28
-080 0xad000001fc644028
-081 0x2e000001fc2e9e28
-082 0x9c000001fc718028 
-083 0x42000001ff5fea28
-084 0x8f000001ff5ff328
-085 0xc4000001ff3b0228 
-086 0x0d000001ff5f4428
-087 0x16000001ff3a6628
-088 0x93000001ff3a6128
-089 0xd2000001fc2eb328  
-090 0x91000001ff3a7228 
-091 0xcf000001ff3ac128
-092 0xc1000001ff3ab828
-094 0x1c000001ff253728
-095 0xbb000001ff463c28
-096 0x5c000001ff465328
-097 0x56000001ff253a28
-098 0x3e000001ff463b28
-099 0x73000001ff291c28
-100 0x8b000001ff3ab528
-101 0x9f000001ff472a28
-102 0xf4000001ff588528
-103 0xd6000001ff458328
-104 0x9e000001ff58a128
-106 0xb4000001ff46c028 
-107 0x57000001ff589e28
-108 0xf2000001ff46a728
-109 0x2c000001ff4a1c28
-110 0x66000001ff58aa28
-111 0xc4000001ff462328
-112 0x41000001ff462428
-113 0x61000001ff471428
-114 0x78000001ff457728
-115 0x11000001ff4f3f28
-116 0x8a000001ff471128
-117 0xff000001ff464828
-118 0xe6000001ff591728
-119 0x37000001ff46f228
-120 0xb9000001ff462f28
-121 0x4d000001fc5dcc28
-122 0x57000001fc603c28
-123 0xd9000001fc540728
-125 0xcd000001fc54b928
-126 0xee000001fc5dd728
-127 0x83000001fc583e28
-128 0xe5000001fc431a28
-129 0x30000001fc5dc028
-130 0x0e000001fc431f28
-131 0x4d000001fc2c4128
-132 0x84000001fc704d28
-133 0xb8000001fc2bea28
-134 0x53000001fc2bef28
-135 0xba000001fc2bf928
-136 0xce000001fc44a628
-138 0xf0000001fc2bf428
-139 0x7d000001fc4ba228
-140 0x74000001fc774528
-141 0x58000001fc44af28
-142 0x27000001fc44b028
-143 0xb1000001fc44b928
-144 0xe8000001fc44ba28
-145 0x1b000001fc457228
-146 0x2c000001fc457328
-147 0xd8000001fc440b28
-148 0xd1000001fc44c228
-149 0xe6000001fc44c328
-150 0xc2000001fc44cc28
-151 0x21000001fc42d328
-152 0x68000001fc749c28
-153 0x85000001fc2bb428
-154 0x27000001fc4d6128
-155 0x06000001fc4b9b28
-156 0xd5000001fc364228
-157 0xbf000001fc755b28
-158 0x30000001fc42ce28
-159 0xc3000001fc4bce28
-160 0xc1000001fc454328
-161 0x74000001fc42ba28
-162 0x28000001fc4faf28
-163 0xa6000001fc363728
-164 0x39000001fc4bd628
-165 0x26000001fc498028
-166 0x43000001fc2d2128
-167 0x9f000001fc42bf28
-168 0x08000001fc7a7928
-169 0x96000001fc453928
-170 0x54000001fc497028
-171 0x3f000001fc33bf28
-172 0x22000001fc33c828
-173 0xca000001fc493528
-174 0x8c000001fc364128
-175 0xc4000001fc756228
-176 0xff000001fc42c428
-177 0xd2000001fc454d28
-178 0x39000001fc454828
-180 0x41000001fc756528
-182 0x96000001fc31c928
-183 0x60000001fc739f28
-184 0x3f000001fc73a928
-185 0xaf000001fc329a28
-186 0x1b000001fc32a928
-187 0x60000001fc329028
-188 0x8b000001fc329528
-189 0xbc000001fc31bf28
-190 0x10000001fc2c6428
-191 0x6f000001fc491b28
-192 0xf1000001fc757028
-193 0xe6000001fc755828
-194 0x06000001fc673c28
-195 0xef000001fc748828
-196 0xb6000001fc748b28
-197 0xeb000001fc415128
-198 0x66000001fc795028
-199 0xbf000001fc320228
-200 0x9f000001fc322b28
-203 0x08000001fc33be28
-204 0x0b000001fc346728
-201 0xf5000001fc44cd28 # was 210, was wrong!
-202 0x67000001fc44e228
-205 0xfb000001fc42e228
-206 0xd9000001fc42d828
-207 0xf1000001fc44eb28
-209 0x45000001fc44d828
-210 0x3e000001fc44e128
-211 0x48000001ff58fa28
-212 0x1b000001fc74e928
-213 0x77000001fc74f828
-214 0x80000001fc5dd528
-215 0x8f000001fc74f328
-216 0x90000001fc29bd28
-217 0x61000001fc297f28
-218 0x42000001fc29c028
-219 0x9c000001fc74fd28
-220 0xc7000001fc29c728
-221 0xc2000001fc530a28
-222 0x1a000001fc532828
-223 0x62000001fc54c828
-224 0x3a000001fc530128
-225 0xbc000001fc3f2128
-226 0x90000001fc641e28
-228 0xd1000001fc64c928
-230 0x52000001fc547928
-232 0x2c000001fc665328
-233 0xe1000001fc664a28
-234 0xb8000001fc664928
-235 0xa9000001fc665428
-236 0x66000001fc665e28
-237 0x2e000001fc664028
-238 0x44000001fc728928
-239 0xd3000001fc66e828
-240 0x06000001fc72c828
-241 0x08000001fc72b128
-242 0x6e000001fc33f028
-243 0x77000001fc2be028
-244 0x62000001fc2bdb28
-245 0xc8000001fc2c4628
-246 0xdc000001fc31c428
-247 0x9c000001fc2be528
-248 0x21000001fc2c5028
-249 0xe3000001fc72b428
-250 0xb0000001fc33e728
-251 0x5b000001fc643228
-252 0x02000001fc643128
-253 0x48000001fc643c28
-254 0x46000001fc644528
-255 0x88000001fc3eaf28
-256 0x5b000001fc3f4e28
-258 0x63000001fc3eaa28
-259 0xcd000001fc643b28
-260 0xcf000001fc642828
-261 0x99000001fc66e528
-262 0x9a000001fc77e328
-263 0xc9000001fc68b128
-264 0x19000001fc785628
-265 0xd2000001fc68f328
-266 0xdd000001fc65ba28
-267 0xe6000001fc497628
-268 0x53000001fc77dc28
-269 0x3d000001fc785928
-270 0x44000001fc68fa28
-271 0xcf000001fc670328
-272 0xdc000001fc298528
-273 0x13000001fc298f28
-274 0x0a000001fc585328
-275 0xb0000001fc299428
-276 0x9c000001fc585a28
-277 0xf8000001fc298a28
-278 0xfa000001fc299928
-279 0xb4000001fc441a28
-280 0x4e000001fc6cc128
-281 0x17000001242ca328
-282 0x94000001fc3f4428
-283 0xde000001fc3f4928
-284 0xe2000001fc500828
-285 0xdb000001fc507028
-286 0x16000001fc506928
-288 0x22000001fc441328
-289 0x35000001242c9928
-290 0x92000001242ca428
-291 0xe300000123f27e28
-292 0xca00000123efa228
-293 0x8000000123efaf28
-294 0x4d00000123efb628
-295 0x4f00000123efa528
-296 0xd900000123efac28
-297 0x8d00000124393428
-300 0x6600000123f27928
-301 0xf7000001fc2f2028
-302 0xa9000001fc2e8a28
-303 0x39000001fc6d8b28
-304 0x8a000001fc2d1e28
-305 0xaa000001fc685c28
-307 0xbb000001fc2f1828
-309 0x42000001fc795f28
-310 0x8b000001fc796028
-311 0x03000001fc668628
-312 0x5e000001fc66a328
-313 0xf9000001fc704128
-314 0x2a000001fc71a028
-315 0x09000001fc3cbc28         
-316 0x2d000001fc3cb328
-317 0x40000001fc718428
-319 0xf5000001fc6d1728
-320 0x1a000001fc3cb228
-321 0x2e000001fc422f28
-322 0xc5000001fc422a28
-323 0x16000001fc39a528  
-324 0xee000001fc39ae28
-326 0x21000001fc39a428
-327 0x10000001fc399028
-328 0x86000001fc399928
-329 0x67000001fc39c328
-330 0x8d000001fc423428
-331 0x1e000001fc686f28
-332 0xd7000001fc685028
-333 0x29000001fc686e28
-334 0xb3000001fc742828
-335 0x18000001fc685a28
-336 0x74000001fc757728
-337 0x16000001fc682328
-338 0x46000001fc6ebf28
-339 0x45000001fc777128
-340 0x95000001fc679628
-341 0x5d000001fc392d28
-342 0x07000001fc39b828
-343 0x76000001fc485328
-344 0xcc000001fc4d6428
-345 0x3c000001fc365428
-346 0xbb000001fc364028
-347 0x7900000124057b28
-348 0x13000001fc404328
-349 0xbf000001fc497528
-350 0x7c000001fc4d7128
-351 0x42000001fc423e28
-352 0xd7000001fc39d628
-353 0xe2000001fc3f9228
-354 0x79000001fc392228
-355 0xe0000001fc39d728
-356 0x74000001fc39cd28
-357 0x50000001fc39c228
-358 0x43000001fc39cc28
-359 0x2c000001fc432528
-360 0x90000001fc424328
-361 0x5e000001fc41e728
-362 0xc7000001fc457628
-363 0x07000001fc458028
-364 0x30000001fc458128
-365 0x14000001fc66ae28
-366 0xeb000001fc769c28
-367 0x3a000001fc776e28
-368 0xd3000001fc777828
-369 0xf5000001fc776428
-370 0xdb000001fc66a428
-371 0x6c000001fc7b3d28
-372 0x67000001fc7afe28 
-373 0x58000001fc4b2828
-374 0xbd000001fc428528
-375 0x6f000001fc41d328
-376 0xea000001fc41d428
-377 0x3b000001fc7b4728
-378 0x7c000001fc41dd28
-379 0xfc000001fc7b0128
-380 0x65000001fc7aed28
-381 0x54000001fc6c0628
-382 0x0d000001fc721228
-383 0x88000001fc6a5428
-384 0xd1000001fc6a5728
-385 0x47000001fc6a5e28
-386 0xbe000001fc7b4028
-387 0x18000001fc6a6828
-388 0xa8000001fc7af428
-389 0xe6000001fc721728
-390 0xf1000001fc7af728
-391 0x60000001fc6bde28
-392 0xc0000001fc6a4a28
-393 0x94000001fc7b3628
-394 0x3f000001fc6be828
-395 0x3a000001fc6b4b28
-396 0x72000001fc720d28
-397 0x66000001fc6af228
-398 0xf7000001fc6b5228
-399 0xa9000001fc6be128
-400 0xfd000001fc717e28
-401 0xdb000001fc3ef328
-403 0x6b000001fc39a928
-404 0xe8000001fc4d6b28
-405 0xa0000001fc4d7528
-406 0xfb000001fc399528
-407 0x03000001fc399e28
-408 0x4d000001fc3efa28
-409 0xdf000001fc4d6a28
-410 0x97000001fc4d7428
-411 0xe2000001fc6b6928
-412 0x2f000001fc6b7028
-413 0xbd000001fc6b5f28
-414 0x76000001fc6b7328
-416 0x65000001fc6b7d28
-417 0x8c000001fc6a7228
-418 0xd8000001fc6b8728
-419 0x41000001fc6a6b28
-420 0x81000001fc6b8428
-#421 0x4d000001fc61e228 # disabled? JAM
-422 0x47000001fc629628
-423 0xac000001fc629328
-425 0x72000001fc6b5528
-424 0xd3000001fc628c28
-426 0xc6000001fc6b6628
-427 0x4d000001fc61e228
-428 0xaa000001fc710428
-429 0x38000001fc628928
-430 0xa8000001fc711728
-441 0x12000001fc770b28
-442 0x4b000001fc770828
-443 0x8a000001fc777b28
-444 0x6e000001fc778228
-445 0x23000001fc66af28
-446 0xea000001fc669028
-447 0x4d000001fc773d28
-448 0xfd000001fc66b828
-449 0x5a000001fc771528
-450 0xdf000001fc771228
-451 0x2d000001fc757428
-452 0xe2000001fc757e28
-453 0x44000001fc796a28
-454 0x21000001fc78ab28
-455 0xf6000001fc2bc128
-456 0x95000001fc771f28
-457 0xc9000001fc76a628
-458 0x00000001fc769928
-459 0x0c000001fc797428
-460 0x22000001fc76a328
-461 0x24000001fc791128
-462 0x13000001fc791028
-463 0xcd000001fc790728
-464 0xfa000001fc790628
-466 0x12000001fc6d7828
-467 0x86000001fc679828
-468 0x55000001fc476b28
-469 0xdc000001fc699328
-470 0x1c000001fc46e928
-471 0xcc000001fc399428
-472 0x84000001fc398a28
-473 0x74000001fc3bff28
-474 0x43000001fc3bfe28
-475 0xe8000001fc5bb428
-476 0xf7000001fc5bd028
-478 0x38000001fc5bda28
-479 0xd2000001fc3c0828 
-480 0xae000001fc5bd328
-481 0x8e000001fc3ca828
-482 0xe6000001fc3c9f28
-483 0x81000001fc5c4928
-484 0xab000001fc5c3f28
-485 0x12000001fc5ce328
-486 0xdb000001fc5cdc28
-487 0x79000001fc5c4228
-488 0x2e000001fc5c3828
-489 0xb9000001fc3ca928  
-490 0xd1000001fc3c9e28
-491 0xcc000001fc771c28
-492 0x17000001fc76b128
-493 0x81000001fc76b828
-494 0xd8000001fc76bb28
-495 0xe9000001fc768f28
-496 0xdd000001fc770128
-497 0xf8000001fc769228
-498 0x85000001fc778728
-499 0xd0000001fc76f728  # not light on FOT
-500 0x46000001fc76fe28
+0131 0x4f000001fc5ef428
+0171 0xa5000001fc634328
+0211 0x62000001fc57e328
+0221 0x5e000001fc535c28
+0231 0x59000001fc488628
+0251 0x15000001fc5c5328
+0261 0x4d000001fc535228
+0271 0x6a000001fc5c4c28
+0281 0x72000001fc531f28
+0291 0xfe000001fc5c5628
+0301 0xee000001fc534928
+0311 0xae000001fc5c9c28
+0321 0xce000001fc62fb28
+0331 0x87000001fc54b428
+0341 0xbb000001fc546f28
+0351 0x98000001fc57fb28
+0361 0x13000001fc5d7f28
+0371 0x57000001fc57f128
+0381 0x0d000001fc530028
+0391 0xc1000001fc739728
+0401 0x7a000001fc535328
+0411 0xa1000001fc2bbb28
+0421 0x38000001fc487828
+0431 0x85000001fc488228
+0441 0xb2000001fc488328
+0451 0xaf000001fc4d8928
+0461 0x98000001fc4d8828
+0471 0xa1000001fc488d28
+0491 0x0f000001fc487928
+0501 0x96000001fc488c28
+0511 0xcc000001fc3edb28 
+0521 0x83000001fc4dca28
+0531 0x10000001fc3edf28
+0541 0xcb000001fc4dd428
+0551 0x82000001fc3ef028
+0561 0xa1000001fc381928
+0571 0x4f000001fc3ee928
+0581 0x6b000001fc3ee628
+0591 0xf0000001fc4dbf28
+0601 0x4e000001fc4dd328
+0611 0xb0000001fc643728 
+0621 0x18000001fc2f0328
+0641 0xc0000001fc2f2128
+0651 0x21000001fc763528
+0661 0x05000001fc763a28
+0671 0x1d000001fc645528
+0681 0x2a000001fc645428
+0691 0xc6000001fc5db228
+0701 0x87000001fc643628
+0711 0xdb000001fc60f228
+0721 0x6b000001fc5dd028
+0731 0xb5000001fc5dc728
+0741 0xc8000001fc60fc28
+0751 0xf9000001fc5dff28
+0761 0xbb000001fc5e9528
+0771 0x62000001fc644a28
+0781 0x55000001fc644b28
+0791 0x43000001fc5e9e28
+0801 0xad000001fc644028
+0811 0x2e000001fc2e9e28
+0821 0x9c000001fc718028 
+0831 0x42000001ff5fea28
+0841 0x8f000001ff5ff328
+0851 0xc4000001ff3b0228 
+0861 0x0d000001ff5f4428
+0871 0x16000001ff3a6628
+0881 0x93000001ff3a6128
+0891 0xd2000001fc2eb328  
+0901 0x91000001ff3a7228 
+0911 0xcf000001ff3ac128
+0921 0xc1000001ff3ab828
+0941 0x1c000001ff253728
+0951 0xbb000001ff463c28
+0961 0x5c000001ff465328
+0971 0x56000001ff253a28
+0981 0x3e000001ff463b28
+0991 0x73000001ff291c28
+1001 0x8b000001ff3ab528
+1011 0x9f000001ff472a28
+1021 0xf4000001ff588528
+1031 0xd6000001ff458328
+1041 0x9e000001ff58a128
+1061 0xb4000001ff46c028 
+1071 0x57000001ff589e28
+1081 0xf2000001ff46a728
+1091 0x2c000001ff4a1c28
+1101 0x66000001ff58aa28
+1111 0xc4000001ff462328
+1121 0x41000001ff462428
+1131 0x61000001ff471428
+1141 0x78000001ff457728
+1151 0x11000001ff4f3f28
+1161 0x8a000001ff471128
+1171 0xff000001ff464828
+1181 0xe6000001ff591728
+1191 0x37000001ff46f228
+1201 0xb9000001ff462f28
+1211 0x4d000001fc5dcc28
+1221 0x57000001fc603c28
+1231 0xd9000001fc540728
+1251 0xcd000001fc54b928
+1261 0xee000001fc5dd728
+1271 0x83000001fc583e28
+1281 0xe5000001fc431a28
+1291 0x30000001fc5dc028
+1301 0x0e000001fc431f28
+1311 0x4d000001fc2c4128
+1321 0x84000001fc704d28
+1331 0xb8000001fc2bea28
+1341 0x53000001fc2bef28
+1351 0xba000001fc2bf928
+1361 0xce000001fc44a628
+1381 0xf0000001fc2bf428
+1391 0x7d000001fc4ba228
+1401 0x74000001fc774528
+1411 0x58000001fc44af28
+1421 0x27000001fc44b028
+1431 0xb1000001fc44b928
+1441 0xe8000001fc44ba28
+1451 0x1b000001fc457228
+1461 0x2c000001fc457328
+1471 0xd8000001fc440b28
+1481 0xd1000001fc44c228
+1491 0xe6000001fc44c328
+1501 0xc2000001fc44cc28
+1511 0x21000001fc42d328
+1521 0x68000001fc749c28
+1531 0x85000001fc2bb428
+1541 0x27000001fc4d6128
+1551 0x06000001fc4b9b28
+1561 0xd5000001fc364228
+1571 0xbf000001fc755b28
+1581 0x30000001fc42ce28
+1591 0xc3000001fc4bce28
+1601 0xc1000001fc454328
+1611 0x74000001fc42ba28
+1621 0x28000001fc4faf28
+1631 0xa6000001fc363728
+1641 0x39000001fc4bd628
+1651 0x26000001fc498028
+1661 0x43000001fc2d2128
+1671 0x9f000001fc42bf28
+1681 0x08000001fc7a7928
+1691 0x96000001fc453928
+1701 0x54000001fc497028
+1711 0x3f000001fc33bf28
+1721 0x22000001fc33c828
+1731 0xca000001fc493528
+1741 0x8c000001fc364128
+1751 0xc4000001fc756228
+1761 0xff000001fc42c428
+1771 0xd2000001fc454d28
+1781 0x39000001fc454828
+1801 0x41000001fc756528
+1821 0x96000001fc31c928
+1831 0x60000001fc739f28
+1841 0x3f000001fc73a928
+1851 0xaf000001fc329a28
+1861 0x1b000001fc32a928
+1871 0x60000001fc329028
+1881 0x8b000001fc329528
+1891 0xbc000001fc31bf28
+1901 0x10000001fc2c6428
+1911 0x6f000001fc491b28
+1921 0xf1000001fc757028
+1931 0xe6000001fc755828
+1941 0x06000001fc673c28
+1951 0xef000001fc748828
+1961 0xb6000001fc748b28
+1971 0xeb000001fc415128
+1981 0x66000001fc795028
+1991 0xbf000001fc320228
+2001 0x9f000001fc322b28
+2031 0x08000001fc33be28
+2041 0x0b000001fc346728
+2011 0xf5000001fc44cd28 # was 210, was wrong!
+2021 0x67000001fc44e228
+2051 0xfb000001fc42e228
+2061 0xd9000001fc42d828
+2071 0xf1000001fc44eb28
+2091 0x45000001fc44d828
+2101 0x3e000001fc44e128
+2111 0x48000001ff58fa28
+2121 0x1b000001fc74e928
+2131 0x77000001fc74f828
+2141 0x80000001fc5dd528
+2151 0x8f000001fc74f328
+2161 0x90000001fc29bd28
+2171 0x61000001fc297f28
+2181 0x42000001fc29c028
+2191 0x9c000001fc74fd28
+2201 0xc7000001fc29c728
+2211 0xc2000001fc530a28
+2221 0x1a000001fc532828
+2231 0x62000001fc54c828
+2241 0x3a000001fc530128
+2251 0xbc000001fc3f2128
+2261 0x90000001fc641e28
+2281 0xd1000001fc64c928
+2301 0x52000001fc547928
+2321 0x2c000001fc665328
+2331 0xe1000001fc664a28
+2341 0xb8000001fc664928
+2351 0xa9000001fc665428
+2361 0x66000001fc665e28
+2371 0x2e000001fc664028
+2381 0x44000001fc728928
+2391 0xd3000001fc66e828
+2401 0x06000001fc72c828
+2411 0x08000001fc72b128
+2421 0x6e000001fc33f028
+2431 0x77000001fc2be028
+2441 0x62000001fc2bdb28
+2451 0xc8000001fc2c4628
+2461 0xdc000001fc31c428
+2471 0x9c000001fc2be528
+2481 0x21000001fc2c5028
+2491 0xe3000001fc72b428
+2501 0xb0000001fc33e728
+2511 0x5b000001fc643228
+2521 0x02000001fc643128
+2531 0x48000001fc643c28
+2541 0x46000001fc644528
+2551 0x88000001fc3eaf28
+2561 0x5b000001fc3f4e28
+2581 0x63000001fc3eaa28
+2591 0xcd000001fc643b28
+2601 0xcf000001fc642828
+2611 0x99000001fc66e528
+2621 0x9a000001fc77e328
+2631 0xc9000001fc68b128
+2641 0x19000001fc785628
+2651 0xd2000001fc68f328
+2661 0xdd000001fc65ba28
+2671 0xe6000001fc497628
+2681 0x53000001fc77dc28
+2691 0x3d000001fc785928
+2701 0x44000001fc68fa28
+2711 0xcf000001fc670328
+2721 0xdc000001fc298528
+2731 0x13000001fc298f28
+2741 0x0a000001fc585328
+2751 0xb0000001fc299428
+2761 0x9c000001fc585a28
+2771 0xf8000001fc298a28
+2781 0xfa000001fc299928
+2791 0xb4000001fc441a28
+2801 0x4e000001fc6cc128
+2811 0x17000001242ca328
+2821 0x94000001fc3f4428
+2831 0xde000001fc3f4928
+2841 0xe2000001fc500828
+2851 0xdb000001fc507028
+2861 0x16000001fc506928
+2881 0x22000001fc441328
+2891 0x35000001242c9928
+2901 0x92000001242ca428
+2911 0xe300000123f27e28
+2921 0xca00000123efa228
+2931 0x8000000123efaf28
+2941 0x4d00000123efb628
+2951 0x4f00000123efa528
+2961 0xd900000123efac28
+2971 0x8d00000124393428
+3001 0x6600000123f27928
+3011 0xf7000001fc2f2028
+3021 0xa9000001fc2e8a28
+3031 0x39000001fc6d8b28
+3041 0x8a000001fc2d1e28
+3051 0xaa000001fc685c28
+3071 0xbb000001fc2f1828
+3091 0x42000001fc795f28
+3101 0x8b000001fc796028
+3111 0x03000001fc668628
+3121 0x5e000001fc66a328
+3131 0xf9000001fc704128
+3141 0x2a000001fc71a028
+3151 0x09000001fc3cbc28                
+3161 0x2d000001fc3cb328
+3171 0x40000001fc718428
+3191 0xf5000001fc6d1728
+3201 0x1a000001fc3cb228
+3211 0x2e000001fc422f28
+3221 0xc5000001fc422a28
+3231 0x16000001fc39a528  
+3241 0xee000001fc39ae28
+3261 0x21000001fc39a428
+3271 0x10000001fc399028
+3281 0x86000001fc399928
+3291 0x67000001fc39c328
+3301 0x8d000001fc423428
+3311 0x1e000001fc686f28
+3321 0xd7000001fc685028
+3331 0x29000001fc686e28
+3341 0xb3000001fc742828
+3351 0x18000001fc685a28
+3361 0x74000001fc757728
+3371 0x16000001fc682328
+3381 0x46000001fc6ebf28
+3391 0x45000001fc777128
+3401 0x95000001fc679628
+3411 0x5d000001fc392d28
+3421 0x07000001fc39b828
+3431 0x76000001fc485328
+3441 0xcc000001fc4d6428
+3451 0x3c000001fc365428
+3461 0xbb000001fc364028
+3471 0x7900000124057b28
+3481 0x13000001fc404328
+3491 0xbf000001fc497528
+3501 0x7c000001fc4d7128
+3511 0x42000001fc423e28
+3521 0xd7000001fc39d628
+3531 0xe2000001fc3f9228
+3541 0x79000001fc392228
+3551 0xe0000001fc39d728
+3561 0x74000001fc39cd28
+3571 0x50000001fc39c228
+3581 0x43000001fc39cc28
+3591 0x2c000001fc432528
+3601 0x90000001fc424328
+3611 0x5e000001fc41e728
+3621 0xc7000001fc457628
+3631 0x07000001fc458028
+3641 0x30000001fc458128
+3651 0x14000001fc66ae28
+3661 0xeb000001fc769c28
+3671 0x3a000001fc776e28
+3681 0xd3000001fc777828
+3691 0xf5000001fc776428
+3701 0xdb000001fc66a428
+3711 0x6c000001fc7b3d28
+3721 0x67000001fc7afe28 
+3731 0x58000001fc4b2828
+3741 0xbd000001fc428528
+3751 0x6f000001fc41d328
+3761 0xea000001fc41d428
+3771 0x3b000001fc7b4728
+3781 0x7c000001fc41dd28
+3791 0xfc000001fc7b0128
+3801 0x65000001fc7aed28
+3811 0x54000001fc6c0628
+3821 0x0d000001fc721228
+3831 0x88000001fc6a5428
+3841 0xd1000001fc6a5728
+3851 0x47000001fc6a5e28
+3861 0xbe000001fc7b4028
+3871 0x18000001fc6a6828
+3881 0xa8000001fc7af428
+3891 0xe6000001fc721728
+3901 0xf1000001fc7af728
+3911 0x60000001fc6bde28
+3921 0xc0000001fc6a4a28
+3931 0x94000001fc7b3628
+3941 0x3f000001fc6be828
+3951 0x3a000001fc6b4b28
+3961 0x72000001fc720d28
+3971 0x66000001fc6af228
+3981 0xf7000001fc6b5228
+3991 0xa9000001fc6be128
+4001 0xfd000001fc717e28
+4011 0xdb000001fc3ef328
+4031 0x6b000001fc39a928
+4041 0xe8000001fc4d6b28
+4051 0xa0000001fc4d7528
+4061 0xfb000001fc399528
+4071 0x03000001fc399e28
+4081 0x4d000001fc3efa28
+4091 0xdf000001fc4d6a28
+4101 0x97000001fc4d7428
+4111 0xe2000001fc6b6928
+4121 0x2f000001fc6b7028
+4131 0xbd000001fc6b5f28
+4141 0x76000001fc6b7328
+4161 0x65000001fc6b7d28
+4171 0x8c000001fc6a7228
+4181 0xd8000001fc6b8728
+4191 0x41000001fc6a6b28
+4201 0x81000001fc6b8428
+#4211 0x4d000001fc61e228 # disabled? JAM
+4221 0x47000001fc629628
+4231 0xac000001fc629328
+4251 0x72000001fc6b5528
+4241 0xd3000001fc628c28
+4261 0xc6000001fc6b6628
+4271 0x4d000001fc61e228
+4281 0xaa000001fc710428
+4291 0x38000001fc628928
+4301 0xa8000001fc711728
+4411 0x12000001fc770b28
+4421 0x4b000001fc770828
+4431 0x8a000001fc777b28
+4441 0x6e000001fc778228
+4451 0x23000001fc66af28
+4461 0xea000001fc669028
+4471 0x4d000001fc773d28
+4481 0xfd000001fc66b828
+4491 0x5a000001fc771528
+4501 0xdf000001fc771228
+4511 0x2d000001fc757428
+4521 0xe2000001fc757e28
+4531 0x44000001fc796a28
+4541 0x21000001fc78ab28
+4551 0xf6000001fc2bc128
+4561 0x95000001fc771f28
+4571 0xc9000001fc76a628
+4581 0x00000001fc769928
+4591 0x0c000001fc797428
+4601 0x22000001fc76a328
+4611 0x24000001fc791128
+4621 0x13000001fc791028
+4631 0xcd000001fc790728
+4641 0xfa000001fc790628
+4661 0x12000001fc6d7828
+4671 0x86000001fc679828
+4681 0x55000001fc476b28
+4691 0xdc000001fc699328
+4701 0x1c000001fc46e928
+4711 0xcc000001fc399428
+4721 0x84000001fc398a28
+4731 0x74000001fc3bff28
+4741 0x43000001fc3bfe28
+4751 0xe8000001fc5bb428
+4761 0xf7000001fc5bd028
+4781 0x38000001fc5bda28
+4791 0xd2000001fc3c0828 
+4801 0xae000001fc5bd328
+4811 0x8e000001fc3ca828
+4821 0xe6000001fc3c9f28
+4831 0x81000001fc5c4928
+4841 0xab000001fc5c3f28
+4851 0x12000001fc5ce328
+4861 0xdb000001fc5cdc28
+4871 0x79000001fc5c4228
+4881 0x2e000001fc5c3828
+4891 0xb9000001fc3ca928  
+4901 0xd1000001fc3c9e28
+4911 0xcc000001fc771c28
+4921 0x17000001fc76b128
+4931 0x81000001fc76b828
+4941 0xd8000001fc76bb28
+4951 0xe9000001fc768f28
+4961 0xdd000001fc770128
+4971 0xf8000001fc769228
+4981 0x85000001fc778728
+4991 0xd0000001fc76f728  # not light on FOT
+5001 0x46000001fc76fe28
 
index 5736aae3f0ab23230747e2af0da549e3fbc1d23d..e980e8a94b5025f3388ea3010061d538e8bf0b20 100644 (file)
@@ -1,5 +1,5 @@
 #Empty debug fifo for tdc initialization readback
-  trbcmd rm 0xfffd 0xe000 0xfff 1 >/dev/null
+# trbcmd rm 0xfffd 0xe000 0xfff 1 >/dev/null
 
 
 #Load settings for OEP  - initialize ADC
   trbcmd w 0xfffd 0x8000 0x9
 
 #Load TDC settings
-  !ifndef MDCnomasks
-    load_register  register/register_cal_20100909_85844.db              #load calibration mask
-    load_register  register/register_masks_20110804_151518.db           #load channel masks
-  !endif
-  
-  !ifdef ONECHANNEL
-       load_register  register/register_calmask.db
-  !endif
-  !ifdef reg0
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load Reg 0"  
-    load_register  register/register_interface_tdcreg0.db                #load register 0
-  !endif
-  !ifdef reg0sroff
-    load_register register/register_interface_tdcreg0_sroff.db
-  !endif
-  !ifdef reg0sr8ns
-       load_register register/register_interface_tdcreg0_sr8ns.db
-  !endif
-  !ifdef reg0sr13ns
-       load_register register/register_interface_tdcreg0_sr13ns.db
-  !endif
-  !ifdef reg0sr18ns
-       load_register register/register_interface_tdcreg0_sr18ns.db
-  !endif
-  !ifdef reg0sr23ns
-       load_register register/register_interface_tdcreg0_sr23ns.db
-  !endif
-  !ifdef reg0sr13nsP1
-       load_register register/register_interface_tdcreg0_sr13nsP1.db
-  !endif
-  !ifdef reg0sr13nsP12
-        load_register register/register_interface_tdcreg0_sr13nsP12.db
-  !endif
-#
-# April 2012
-  !ifdef reg0APR12
-        load_register register/register_interface_tdcreg0_P134sr23ns_P2sr18ns.db
-  !endif
-
-  !ifdef reg0spike1582323
-        load_register register/register_interface_tdcreg0_P1sr15_P2sr8_P34sr23.db
-  !endif  
-  
-
-  !ifdef MDCreg0current
+  !ifndef MDCnomasks
+    load_register  register/register_cal_20100909_85844.db              #load calibration mask
+    load_register  register/register_masks_20110804_151518.db           #load channel masks
+  !endif
+#   
+  !ifdef ONECHANNEL
+#      load_register  register/register_calmask.db
+  !endif
+  !ifdef reg0
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load Reg 0"  
+    load_register  register/register_interface_tdcreg0.db                #load register 0
+  !endif
+  !ifdef reg0sroff
+    load_register register/register_interface_tdcreg0_sroff.db
+  !endif
+  !ifdef reg0sr8ns
+#      load_register register/register_interface_tdcreg0_sr8ns.db
+  !endif
+  !ifdef reg0sr13ns
+#      load_register register/register_interface_tdcreg0_sr13ns.db
+  !endif
+  !ifdef reg0sr18ns
+#      load_register register/register_interface_tdcreg0_sr18ns.db
+  !endif
+  !ifdef reg0sr23ns
+#      load_register register/register_interface_tdcreg0_sr23ns.db
+  !endif
+  !ifdef reg0sr13nsP1
+#      load_register register/register_interface_tdcreg0_sr13nsP1.db
+  !endif
+  !ifdef reg0sr13nsP12
+        load_register register/register_interface_tdcreg0_sr13nsP12.db
+  !endif
+# #
+# April 2012
+  !ifdef reg0APR12
+        load_register register/register_interface_tdcreg0_P134sr23ns_P2sr18ns.db
+  !endif
+# 
+  !ifdef reg0spike1582323
+        load_register register/register_interface_tdcreg0_P1sr15_P2sr8_P34sr23.db
+  !endif  
+#   
+# 
+  !ifdef MDCreg0current
         load_register register_tdcreg0_current.db
-  !endif  
-  
-  
-  
-  
-  
-  !ifdef reg1
-    load_register register_interface_tdcreg1.db                #load register 1
-  !endif
-
-!ifdef allMDCTDCoff
-    load_register thresholds/register_thresholds_allTDCoff.db          #ff for all TDC
-  !endif
-!ifdef allMDCP1TEST
-    load_register thresholds/register_thresholds_test_single_board_settingP1.db   #all 0x50 exept single board P1
-  !endif 
-  
-!ifdef singleChannel
-    load_register thresholds/register_masks_testP2_single_channel.db  #all TDC single channel
-  !endif 
+  !endif  
+#   
+#   
+#   
+#   
+#   
+  !ifdef reg1
+    load_register register_interface_tdcreg1.db                #load register 1
+  !endif
+# 
+!ifdef allMDCTDCoff
+    load_register thresholds/register_thresholds_allTDCoff.db          #ff for all TDC
+  !endif
+#  
+!ifdef allMDCP1TEST
+    load_register thresholds/register_thresholds_test_single_board_settingP1.db   #all 0x50 exept single board P1
+  !endif 
+#   
+!ifdef singleChannel
+    load_register thresholds/register_masks_testP2_single_channel.db  #all TDC single channel
+  !endif 
        
 #Load thresholds
-  #!ifndef RESTART
-  #  load_register  register_thresholds.db
-  #!endif
-  !ifdef thresh10
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 10"
-    load_register  thresholds/register_thresholds_10.db                    #load thresholds
-  !endif
-  !ifdef thresh20
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 20"
-    load_register  thresholds/register_thresholds_20.db                    #load thresholds
-  !endif
-  !ifdef thresh28
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 28"
-    load_register  thresholds/register_thresholds_28.db                    #load thresholds
-  !endif  
-  !ifdef thresh30
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 30"
-    load_register  thresholds/register_thresholds_30.db                    #load thresholds
-  !endif
-  !ifdef thresh_debug
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh debug"
-       load_register thresholds/register_thresholds_debug.db                                   #load thresholds
-  !endif
-  !ifdef thresh38
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 38"
-    load_register  thresholds/register_thresholds_38.db                    #load thresholds
-  !endif
-  !ifdef thresh40
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 40"
-    load_register  thresholds/register_thresholds_40.db                    #load thresholds
-  !endif
-  !ifdef thresh48
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 48"
-    load_register  thresholds/register_thresholds_48.db                    #load thresholds
-  !endif  
-  !ifdef thresh50
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 50"
-    load_register  thresholds/register_thresholds_50.db                    #load thresholds
-  !endif
-  !ifdef thresh58
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 58"
-    load_register  thresholds/register_thresholds_58.db                    #load thresholds
-  !endif  
-  !ifdef thresh60
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 60"
-    load_register  thresholds/register_thresholds_60.db                    #load thresholds
-  !endif
-  !ifdef thresh68
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 68"
-    load_register  thresholds/register_thresholds_68.db                    #load thresholds
-  !endif
-  !ifdef thresh70
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 70"
-    load_register  thresholds/register_thresholds_70.db                    #load thresholds
-  !endif
-  !ifdef thresh78
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 78"
-    load_register  thresholds/register_thresholds_78.db                    #load thresholds
-  !endif
-  !ifdef thresh80
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 80"
-    load_register  thresholds/register_thresholds_80.db                    #load thresholds
-  !endif
-  !ifdef thresh90
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 90"
-    load_register  thresholds/register_thresholds_90.db                    #load thresholds
-  !endif
-  !ifdef thresha0
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh A0"
-    load_register  thresholds/register_thresholds_a0.db                    #load thresholds
-  !endif
-  !ifdef threshb0
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh B0"
-    load_register  thresholds/register_thresholds_b0.db                    #load thresholds
-  !endif
-  !ifdef threshc0
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh C0"
-    load_register  thresholds/register_thresholds_c0.db                    #load thresholds
-  !endif
-  !ifdef threshf0
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh F0"
-    load_register  thresholds/register_thresholds_f0.db                    #load thresholds
-  !endif
-  !ifdef threshffm3s3on
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh FF_M3S3on"
-    load_register  thresholds/register_thresholds_ff_M3S3on.db                    #load thresholds
-  !endif
-  !ifdef threshjohannes
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh Johannes"
-    load_register  thresholds/register_thresholds_johannes.db                    #load thresholds
-  !endif  
-  !ifdef threshcalc
-       exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load calculated thresh"
-       load_register  thresholds/thresholdsMethodB.txt                    #load thresholds
-  !endif
-  
-# special thresholds only for MDC I
-  !ifdef threshffmdc130
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I30"
-    load_register  thresholds/register_thresholds_ff_MDCI30.db                    #load thresholds
-  !endif
-  !ifdef threshffmdc138
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I38"
-    load_register  thresholds/register_thresholds_ff_MDCI38.db                    #load thresholds
-  !endif
-  !ifdef threshffmdc140
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I40"
-    load_register  thresholds/register_thresholds_ff_MDCI40.db                    #load thresholds
-  !endif
-  !ifdef threshffmdc148
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I48"
-    load_register  thresholds/register_thresholds_ff_MDCI48.db                    #load thresholds
-  !endif  
-  !ifdef threshffmdc150
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I50"
-    load_register  thresholds/register_thresholds_ff_MDCI50.db                    #load thresholds
-  !endif
-  !ifdef threshffmdc158
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I58"
-    load_register  thresholds/register_thresholds_ff_MDCI58.db                    #load thresholds
-  !endif
-  !ifdef threshffmdc160
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I60"
-    load_register  thresholds/register_thresholds_ff_MDCI60.db                    #load thresholds
-  !endif  
-  !ifdef threshffmdc168
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I68"
-    load_register  thresholds/register_thresholds_ff_MDCI68.db                    #load thresholds
-  !endif  
-  !ifdef threshffmdc170
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I70"
-    load_register  thresholds/register_thresholds_ff_MDCI70.db                    #load thresholds
-  !endif
-  
-  !ifdef testthr                              
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh test"
-    load_register  thresholds/register_thresholds_test.db                    #load thresholds
-  !endif
-  !ifdef indivMDCIandIIS4
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh indivMDCIandIIS4
-    load_register  thresholds/register_thresholds_indivMDCIandIIS4.db                    #load thresholds
-  !endif
-  !ifdef indivThr
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh indivThr"
-    load_register  thresholds/register_thresholds_indivThr.db                    #load thresholds
-  !endif
+  #!ifndef RESTART
+  #  load_register  register_thresholds.db
+  #!endif
+  !ifdef thresh10
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 10"
+    load_register  thresholds/register_thresholds_10.db                    #load thresholds
+  !endif
+  !ifdef thresh20
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 20"
+    load_register  thresholds/register_thresholds_20.db                    #load thresholds
+  !endif
+  !ifdef thresh28
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 28"
+    load_register  thresholds/register_thresholds_28.db                    #load thresholds
+  !endif  
+  !ifdef thresh30
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 30"
+    load_register  thresholds/register_thresholds_30.db                    #load thresholds
+  !endif
+  !ifdef thresh_debug
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh debug"
+#      load_register thresholds/register_thresholds_debug.db                                   #load thresholds
+  !endif
+  !ifdef thresh38
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 38"
+    load_register  thresholds/register_thresholds_38.db                    #load thresholds
+  !endif
+  !ifdef thresh40
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 40"
+    load_register  thresholds/register_thresholds_40.db                    #load thresholds
+  !endif
+  !ifdef thresh48
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 48"
+    load_register  thresholds/register_thresholds_48.db                    #load thresholds
+  !endif  
+  !ifdef thresh50
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 50"
+    load_register  thresholds/register_thresholds_50.db                    #load thresholds
+  !endif
+  !ifdef thresh58
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 58"
+    load_register  thresholds/register_thresholds_58.db                    #load thresholds
+  !endif  
+  !ifdef thresh60
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 60"
+    load_register  thresholds/register_thresholds_60.db                    #load thresholds
+  !endif
+  !ifdef thresh68
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 68"
+    load_register  thresholds/register_thresholds_68.db                    #load thresholds
+  !endif
+  !ifdef thresh70
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 70"
+    load_register  thresholds/register_thresholds_70.db                    #load thresholds
+  !endif
+  !ifdef thresh78
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 78"
+    load_register  thresholds/register_thresholds_78.db                    #load thresholds
+  !endif
+  !ifdef thresh80
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 80"
+    load_register  thresholds/register_thresholds_80.db                    #load thresholds
+  !endif
+  !ifdef thresh90
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh 90"
+    load_register  thresholds/register_thresholds_90.db                    #load thresholds
+  !endif
+  !ifdef thresha0
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh A0"
+    load_register  thresholds/register_thresholds_a0.db                    #load thresholds
+  !endif
+  !ifdef threshb0
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh B0"
+    load_register  thresholds/register_thresholds_b0.db                    #load thresholds
+  !endif
+  !ifdef threshc0
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh C0"
+    load_register  thresholds/register_thresholds_c0.db                    #load thresholds
+  !endif
+  !ifdef threshf0
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh F0"
+    load_register  thresholds/register_thresholds_f0.db                    #load thresholds
+  !endif
+  !ifdef threshffm3s3on
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh FF_M3S3on"
+    load_register  thresholds/register_thresholds_ff_M3S3on.db                    #load thresholds
+  !endif
+  !ifdef threshjohannes
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh Johannes"
+    load_register  thresholds/register_thresholds_johannes.db                    #load thresholds
+  !endif  
+  !ifdef threshcalc
+#      exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load calculated thresh"
+#      load_register  thresholds/thresholdsMethodB.txt                    #load thresholds
+  !endif
+#   
+# special thresholds only for MDC I
+  !ifdef threshffmdc130
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I30"
+    load_register  thresholds/register_thresholds_ff_MDCI30.db                    #load thresholds
+  !endif
+  !ifdef threshffmdc138
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I38"
+    load_register  thresholds/register_thresholds_ff_MDCI38.db                    #load thresholds
+  !endif
+  !ifdef threshffmdc140
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I40"
+    load_register  thresholds/register_thresholds_ff_MDCI40.db                    #load thresholds
+  !endif
+  !ifdef threshffmdc148
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I48"
+    load_register  thresholds/register_thresholds_ff_MDCI48.db                    #load thresholds
+  !endif  
+  !ifdef threshffmdc150
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I50"
+    load_register  thresholds/register_thresholds_ff_MDCI50.db                    #load thresholds
+  !endif
+  !ifdef threshffmdc158
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I58"
+    load_register  thresholds/register_thresholds_ff_MDCI58.db                    #load thresholds
+  !endif
+  !ifdef threshffmdc160
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I60"
+    load_register  thresholds/register_thresholds_ff_MDCI60.db                    #load thresholds
+  !endif  
+  !ifdef threshffmdc168
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I68"
+    load_register  thresholds/register_thresholds_ff_MDCI68.db                    #load thresholds
+  !endif  
+  !ifdef threshffmdc170
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh I70"
+    load_register  thresholds/register_thresholds_ff_MDCI70.db                    #load thresholds
+  !endif
+#   
+  !ifdef testthr                              
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh test"
+    load_register  thresholds/register_thresholds_test.db                    #load thresholds
+  !endif
+  !ifdef indivMDCIandIIS4
+#     exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh indiv"
+    load_register  thresholds/register_thresholds_indivMDCIandIIS4.db                    #load thresholds
+  !endif
+  !ifdef indivThr
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh indivThr"
+    load_register  thresholds/register_thresholds_indivThr.db                    #load thresholds
+  !endif
 
-  !ifdef MDCindiv
+  !ifdef MDCindiv
     exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh calculated register_thresholds_current.db"
      load_register register_thresholds_current.db
-  !endif 
-  
-  
-  !ifdef MDC0804
-    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh calculated register_thresholds_20110804.db"
-    load_register thresholds/register_thresholds_20110804.db
-  !endif  
-  
+  !endif 
+#   
+#   
+  !ifdef MDC0804
+    exec_cmd logger -p local1.info -t DAQ "MDC        <I> Load thresh calculated register_thresholds_20110804.db"
+    load_register thresholds/register_thresholds_20110804.db
+  !endif  
+#   
   
   load_register  register_configuration.db                       #Load MBO type
 
     trbcmd clearbit 0xfffd 0x22 0x80000000   #disable cms
     trbcmd w        0xfffd 0x20 0x03         #reset frontend logic & statistics
     
-  !ifdef MDCDATASET
+  !ifdef MDCDATASET
     trbcmd loadbit 0xfffd 0x22 0x00100000 0x00000000    #new data format
     trbcmd loadbit 0xfffd 0xc0 0x03FF0000 0x02500000    #maximum number of words per event
     trbcmd loadbit 0xfffd 0xc1 0x00000100 0x00000100    #don't send single hit 0 (also double and triple)
     trbcmd loadbit 0xfffd 0xc1 0x00000400 0x00000400    #enable automatic reconfiguration after token missing
     trbcmd loadbit 0xfffd 0xc2 0x000007FF 0x00000120    #lower time cut for TDC Hit 0 value
     trbcmd loadbit 0xfffd 0xc2 0x07FF0000 0x01200000    #lower time cut for TDC Hit 1 value
-  !endif    
-  !ifndef MDCDATASET
-    exec_cmd logger -p local1.info -t DAQ MDC       \<W\> No MDCDATASET found
-  !endif  
-    
+  !endif    
+  !ifndef MDCDATASET
+    exec_cmd logger -p local1.info -t DAQ MDC       \<W\> No MDCDATASET found
+  !endif  
+wait    
 #wait  #Hopefully this is implicit here...
   trbcmd w      0xfffd 0x20 0x00400000   #begin run
   trbcmd setbit 0xfffd 0x22 0x8c000000   #enable cms & retransmission & auto reboot
index eb9d2e0e2e0769fc4cc26f7836bdb7b4033d4341..d3b357549679550b547bdd394b1f36602b5fa3c6 100644 (file)
@@ -1,9 +1,4 @@
 
-#All monitoring channels on
-trbcmd w 0xfe60 0xdf80 0xffffffff
-trbcmd w 0xfe60 0xdf85 0xffffffff
-
-
 trbcmd w 0xfe73 0x7111 500  #max number of words per board
 trbcmd w 0xfe73 0x7114 0x00050000 #min number of words per board
 
@@ -11,5 +6,5 @@ trbcmd w 0xfe73 0x7114 0x00050000 #min number of words per board
 load_register  register_tdc_rpc.db
 
 #Load Thresholds
-exec_cmd{local}  /home/hadaq/trbsoft/daq/rpc/setThreshold.sh
+exec_cmd{local}  /home/hadaq/trbsoft/daq/rpc/trb3sc/thresholds/resetThresholdAllJan.sh
 exec_cmd{local} /home/hadaq/trbsoft/daq/rpc/setAllMultBoard.sh
index facec16fd4b11344f80ccf8e0de8f759cdce942a..eb2e2f9d5a9b808df36e64013f3268c65867d5a3 100644 (file)
@@ -15,5 +15,5 @@
 0x5d01  341    1       0       0
 0x5d02  337    1       0       0
 0x5d03  410    1       0       0
-0x5d04  406    1       0       0
+0x5d04  339    1       0       0
 0x5d05  408    1       0       0
diff --git a/start/register_tdc.db b/start/register_tdc.db
new file mode 100644 (file)
index 0000000..308772a
--- /dev/null
@@ -0,0 +1,16 @@
+# TDC config registers                                                                                       
+                                                                                                             
+!Register table                                                                                              
+#  Type  #   C0   #   C1   #   C2   #   C3   #   C4   #   C5   #    C6    #
+###########################################################################                                             
+     0     0xc800   0xc801   0xc802   0xc803   0xc804   0xc805    0xc806                 
+     2              0xc801            0xc803            0xc805    0xc806                 
+                                                                                                             
+!Value table                                                                                                 
+#                    Gnl Conf    Trg Window   Ch En 1-32   Ch En 33-64 RingBufSize    Invert      Invert           
+# TDC    #  Type  #     C0     #     C1     #     C2     #     C3     #     C4    #     C5     #    C6    #            
+###########################################################################################################            
+                                                                                                             
+0xfe74          0   0x50003000   0x800a00c8   0xffffffff   0x0000ffff   0x00000010   0   0
+
+
index d2f0d1f93650e0cbb997249bbadc992d6d899d04..37aa70232edfd7abcbfeb41a38074dfccea62b7a 100644 (file)
@@ -1,55 +1,15 @@
 
 ########
 ### Veto TDC settings are in STS!
-### Don't use any broadcast here!
+### All Trigger settings are in Trg
+### This combines iTOF and Start
 ########
 
-## -2us +1000ns trigger window
-##trbcmd w 0xfe48 0xc801 0x80c80190
-## -2us +200ns trigger window
-##trbcmd w 0xfe48 0xc801 0x80280190
-#-1000 +50ns window
-trbcmd w 0x5000 0xc801 0x800a00c8
-trbcmd w 0x5001 0xc801 0x800a00c8
-trbcmd w 0x5002 0xc801 0x800a00c8
-trbcmd w 0x5003 0xc801 0x800a00c8
 
-#Data limit
-trbcmd w 0x5000 0xc804 32          #32 words per channel
-trbcmd w 0x5000 0x7111 500        #1024 words per FPGA
-trbcmd w 0x5001 0xc804 32          #32 words per channel
-trbcmd w 0x5001 0x7111 500        #1024 words per FPGA
-trbcmd w 0x5002 0xc804 32          #32 words per channel
-trbcmd w 0x5002 0x7111 500        #1024 words per FPGA
-trbcmd w 0x5003 0xc804 32          #32 words per channel
-trbcmd w 0x5003 0x7111 500        #1024 words per FPGA
-
-
-#TDC inputs
-trbcmd w 0x5000 0xc802 0xffffffff # channel 0-31
-trbcmd w 0x5000 0xc803 0x0000ffff # channel 32-63
-trbcmd w 0x5001 0xc802 0xffffffff # channel 0-31
-trbcmd w 0x5001 0xc803 0x0000ffff # channel 32-63
-trbcmd w 0x5002 0xc802 0xffffffff # channel 0-31
-trbcmd w 0x5002 0xc803 0x0000ffff # channel 32-63
-trbcmd w 0x5003 0xc802 0xffffffff # channel 0-31
-trbcmd w 0x5003 0xc803 0x0000ffff # channel 32-63
-
-
-#Trigger Generator Settings
-
-
-
-
-#Input Monitor Settings
-#Enable 48 inputs on all
-trbcmd w 0x5000 0xdf80 0xffffffff
-trbcmd w 0x5000 0xdf85 0x0000ffff
-trbcmd w 0x5001 0xdf80 0xffffffff
-trbcmd w 0x5001 0xdf85 0x0000ffff
-trbcmd w 0x5002 0xdf80 0xffffffff
-trbcmd w 0x5002 0xdf85 0x0000ffff
-trbcmd w 0x5003 0xdf80 0xffffffff
-trbcmd w 0x5003 0xdf85 0x0000ffff
+trbcmd w 0xfe74 0x7111 500  #max number of words per board
+trbcmd w 0xfe74 0x7114 0x00050000 #min number of words per board
 
+#Load TDC settings
+  load_register  register_tdc.db
 
+  
diff --git a/sts/loadregisterdb.pl b/sts/loadregisterdb.pl
new file mode 120000 (symlink)
index 0000000..85a9096
--- /dev/null
@@ -0,0 +1 @@
+/home/hadaq/trbsoft/daqtools/tools/loadregisterdb.pl
\ No newline at end of file
index b6fad3e3103b21963f3755dcf618a4639cd56632..d35cb918546dafc8dc44b603db6033f32a2b454a 100644 (file)
@@ -8,6 +8,10 @@ trbcmd w 0xfe4c 0x7114 0x00050000 #min number of words per board
   
 #Load TDC settings
 
+
 #  load_register  register_tdc_sts.db
 exec_cmd{local} /home/hadaq/trbsoft/daq/sts/loadregisterdb.pl /home/hadaq/trbsoft/daq/sts/register_tdc_sts.db
-#wait
+
+
+
+#Configuration for Veto Padiwa
index 97d2278dbbdcd2c7877f586dd5482fad774fbc2c..2fd9ea2a84b636618cc518b1b56ead50d339f9b9 100644 (file)
@@ -1,6 +1,6 @@
 
 #########
-#Note this affects fRPC as well
+#This script is for TOF and fRPC
 #########
 
 trbcmd w 0xfe47 0x7111 500  #max number of words per board
@@ -9,7 +9,12 @@ trbcmd w 0xfe47 0x7114 0x00050000 #min number of words per board
 #Load TDC settings
 load_register  register_tdc_tof.db
 
+
+#TOF configuration
 exec_cmd{local} /home/hadaq/trbsoft/daq/tof/setThreshold.sh
 
 
+#fRPC configuration
+
+
 
diff --git a/trg/register_trigger.db b/trg/register_trigger.db
new file mode 100644 (file)
index 0000000..dd7b036
--- /dev/null
@@ -0,0 +1,128 @@
+# Trigger Logic config registers                                                                                       
+                                                                                                             
+!Register table                                                                                              
+
+
+#simple or
+############################################################################################################                   
+            #TrgEnOut1  TrgEnOut1  TrgEnOut2  TrgEnOut2   TrgEnOut3  TrgEnOut3  TrgEnOut4  TrgEnOut4 
+            #Ch00-31    Ch32-63    Ch00-31    Ch32-63     Ch00-31    Ch32-63    Ch00-31    Ch32-63   
+     200     0xdf00     0xdf01     0xdf04     0xdf05      0xdf08     0xdf09     0xdf0c     0xdf0d   
+
+           #Stretch    Stretch    Invert     Invert    StretchVal
+           #Ch00-31    Ch32-63    Ch00-31    Ch32-63
+     201    0xdf20     0xdf21     0xdf24     0xdf25    0xdf36
+     
+           #just enables for 32 channels and 2 outputs
+     202    0xdf00     0xdf04     
+     
+#single multiplicity
+###########################################################################################################
+          #Enable0_0    Enable0_1     23..16Lim0  15..8OutSel
+     100     0xdf33       0xdf35        0xdf32        0xdf34
+
+#triple multiplicity     
+###########################################################################################################
+           #Enable0_0    Enable0_1    Enable1_0    Enable1_1    Enable2_0    Enable2_1    
+     110    0xdf33       0xdf35       0xdf38       0xdf39       0xdf3a       0xdf3b
+
+           #31..24 Lim2
+           #15..8  Lim1                   7..0OutSel1
+           #23..16 Lim0   15..8OutSel0   15..8OutSel2
+     111      0xdf32        0xdf34          0xdf37
+
+     
+!Value table      
+
+#ECAL TDC: mult 3 output
+##################################
+ 0xfe71     100     0x00ffffff   0      0x00030000   0x00000400
+     
+#ECAL crate master: output half sectors on 2 outputs
+################################## 
+ 0x8a00       202     0x00000015                0x00000000   
+ 0x8a01       202     0x00000051                0x00015100
+ 0x8a02       202     0x00000000                0x00015400
+ 0x8a03       202     0x00000054                0x00000000
+ 0x8a04       202     0x00000015                0x00015400
+ 0x8a05       202     0x00000000                0x00015100
+
+#STS / Veto TDC: or of all channels, in groups of 16 to master
+##################################  
+ 0xfe4c       200   0x0000ffff  0        0xffff0000  0   0   0x0000ffff  0   0
+ 0xfe4c       201   0xffffffff  0xffff   0xffffffff  0xffff  3
+ 0x6403       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6413       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6423       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6433       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6464       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6465       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x6474       200   0           0   0           0   0   0           0   0
+ 0x6475       200   0           0   0           0   0   0           0   0
+
+ 0x6452       200   0           0   0           0   0   0           0   0  #noisy at 23.12.20
+ 0x6453       200   0           0   0           0   0   0           0   0  #noisy at 23.12.20
+ 0x5010       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x5011       200   0x0000ffff  0   0xffff0000  0   0   0           0   0
+ 0x5012       200   0           0   0           0   0   0           0   0
+
+#TOF, fRPC, Veto, STS central FPGA: 'or' of all peripherals to output 3 
+##################################
+ 0xfe40       200   0   0   0   0   0xffff  0   0   0
+ 0xfe40       201   0xffff  0   0   0   5
+
+#Start: or of all channels, in groups of 16 on Pair 1-3, or on Pair 4
+################################## 
+ 0x5000       200   0 0x0000ffff  0xffffffff 0xffff  0x0000ffff 0   0xffff0000  0  
+ 0x5001       200   0 0x0000ffff  0xffffffff 0xffff  0x0000ffff 0   0xffff0000  0  
+ 0x5002       200   0 0x0000ffff  0xffffffff 0xffff  0x0000ffff 0   0xffff0000  0  
+ 0x5003       200   0 0x0000ffff  0xffffffff 0xffff  0x0000ffff 0   0xffff0000  0  
+
+#iTOF: or of all channels, multiplicity in groups of 12/16 on Pair 2,3,4 and or on 1
+################################## 
+ 0x5d00       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d01       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d02       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d03       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d04       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d05       110   0x00000fff  0   0x0fff0000  0   0   0x00000fff
+ 0x5d00       111   0x00030303  0x00000800  0x00000201
+ 0x5d01       111   0x00030303  0x00000800  0x00000201
+ 0x5d02       111   0x00030303  0x00000800  0x00000201
+ 0x5d03       111   0x00030303  0x00000800  0x00000201
+ 0x5d04       111   0x00030303  0x00000800  0x00000201
+ 0x5d05       111   0x00030303  0x00000800  0x00000201
+
+ 0x5d00       200   0 0  0 0  0xffffffff 0xffff   0 0
+ 0x5d01       200   0 0  0 0  0xffffffff 0xffff   0 0
+ 0x5d02       200   0 0  0 0  0xffffffff 0xffff   0 0
+ 0x5d03       200   0 0  0 0  0xffffffff 0xffff   0 0
+ 0x5d04       200   0 0  0 0  0xffffffff 0xffff   0 0
+ 0x5d05       200   0 0  0 0  0xffffffff 0xffff   0 0
+
+#Secondary trigger box
+##################################
+    #from ECAL: #0..5: output 1, #8..13 output 2, #6 from pulser
+    #from STS: STS-1 #16..19, STS-2 #32..37
+    #from fRPC: #42,46
+    
+##Setup 1: or of all 12 half sectors on output 1    - needs update
+# 0x0100       200          0x00003e3e
+# 0x0100       201          0x00003e3e   0   0   0   0
+##Setup 2: mult 2 on half sectors on output 2       - needs update
+# 0x0100       100     0x00003e3e   0    0x00020000   0x00000200
+
+#Setup 3: or of all STS boards
+ 0x0100       200     0x0000003f    0x000f0000
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a93046b3e4c593a85ff7f56e04cdfc10b69a2d8c 100644 (file)
@@ -0,0 +1,30 @@
+
+
+#All monitoring channels on crate masters
+trbcmd w 0xfe60 0xdf80 0xffffffff
+trbcmd w 0xfe60 0xdf85 0xffffffff
+
+trbcmd w 0xfe61 0xdf80 0xffffffff
+trbcmd w 0xfe61 0xdf85 0xffffffff
+
+trbcmd w 0xfe71 0xdf80 0xffffffff
+trbcmd w 0xfe71 0xdf85 0x0000ffff
+trbcmd w 0xfe74 0xdf80 0xffffffff
+trbcmd w 0xfe74 0xdf85 0x0000ffff
+
+trbcmd w 0xfe73 0xdf80 0xffffffff
+trbcmd w 0xfe73 0xdf85 0x0000ffff
+
+trbcmd w 0xfe47 0xdf80 0xffffffff
+trbcmd w 0xfe4c 0xdf80 0xffffffff
+trbcmd w 0xfe4c 0xdf85 0x0000ffff
+
+trbcmd w 0xfe40 0xdf80 0x000fffff
+
+trbcmd w 0x0100 0xdf80 0xffffffff
+trbcmd w 0x0100 0xdf85 0xffffffff
+
+
+exec_cmd{local} /home/hadaq/trbsoft/daqtools/tools/loadregisterdb_file.pl /home/hadaq/trbsoft/daq/trg/register_trigger.db
+
+