xterm -geometry 80x24 -bg orange -fg black -e bash -c '
echo "Setting file prefix be"
/usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix='--'&oninit=10\"
- echo set prefix te on BNET master controller
+ echo set prefix -- on BNET master controller
sleep 2
'
"
--- /dev/null
+#!/bin/bash
+export myvar=$(doyoureallywant.pl "to set the RICH HV and switch it on/off?")
+if [ $myvar == "256" ]; then exit; fi
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadeb06 "
+ export DAQOPSERVER=hadesp31
+ echo \" <RICH_Thr> Connected to lxhadeb06...\"
+ echo \" <RICH_Thr> Setting HV...\"
+ cd /home/hadaq/JoF/HV_RICH/
+ . epics
+ ./setCrate.sh 1
+ ./setHV.sh gain_alignement_HV_1.5E+06.dat
+ ./setHVon_off.sh gain_alignement_HV_1.5E+06.dat 2
+ echo \"Done\"
+ sleep 10
+"
+'
+
--- /dev/null
+#!/bin/bash
+export myvar=$(doyoureallywant.pl "to reset the RICH thresholds?")
+if [ $myvar == "256" ]; then exit; fi
+
+xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
+ ssh hadaq@lxhadeb06 "
+ export DAQOPSERVER=hadesp31
+ echo \" <RICH_Thr> Connected to lxhadeb06...\"
+ echo \" <RICH_Thr> Setting Thresholds...\"
+ cd /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/
+ source ./setLD
+ #./HADESthreshscan_v1
+ ./HADESthreshscan_v1 --loading-file /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/standard_baselines.thr -l 0 -n 0 5
+ echo \"Done\"
+ sleep 10
+"
+'
+
--- /dev/null
+HowTo start ECAL cosmics after DAQ STARTUP:
+
+# load mult3_trigger configugration
+hadaq@lxhadeb06:~/trbsoft/hadesdaq/ecal$ ../../daqtools/tools/loadregisterdb.pl register_monitoring_trigger.db
+
+# switch of pulser and enable PT8 trigger
+PULSER: 0
+PT8 OUTPUT ENABLE: on
+
+# start data taking
+http://lxhadeb03:8090/?browser=fix
+Start ECAL file
+
+# write into Logbook!!!
+
+
+# ECAL pulser
+http://hades33/daqtools/addons/pulseraddon.pl?Control
+
+
+# power switch
+http://haepc15/switch.html
+admin kaese
+
+# export perllibs
+export PERL5LIB=~/trbsoft/daqtools/perllibs/
+
+# load padiwa firmware
+./jed_to_dump.pl ../../daq/ecal/bitfiles/padiwa_amps2_20180712.jed
+./spi_slave.pl -e=0x6040 -c=0 -flashcmd=8 -enablecfgflash=1 -x=writecfgflash -f ../../daq/ecal/bitfiles/padiwa_amps2_20180712.dump
+
+for ((i = 1; i<=3; i++)); do echo "Test $i"; done
+
+# trb flash
+trbflash info 0x6040
+trbflash program 0x6040 *.bit
+trbcmd reload 6040
+
+#padiwa:load memory (with thresholds,...) to flash
+./spi_slave.pl -e=0x6041 -c=1 -flashcmd=8 -enablecfgflash=1 -x=memtoflash --range '0x00..0x2b'
\ No newline at end of file
--- /dev/null
+/home/hadaq/trbsoft/daqtools/tools/loadregisterdb.pl
\ No newline at end of file
--- /dev/null
+# TDC config registers
+
+!Register table
+# Type # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 # C8 #
+###########################################################################################################
+
+# MonEnab TrgEnOut1 TrgEnOut1 TrgEnOut2 TrgEnOut2 Stretch Stretch Invert Invert
+# Ch00-31 Ch32-63 Ch00-31 Ch32-63 Ch00-31 Ch32-63 Ch00-31 Ch32-63
+ 0 0xdf80 0xdf00 0xdf01 0xdf04 0xdf05 0xdf20 0xdf21 0xdf24 0xdf25
+ 10 0xdf80 0xdf08 0xdf09 0xdf0c 0xdf0d 0xdf20 0xdf21 0xdf24 0xdf25
+
+ #just enables for 32 channels
+ 1 0xdf00 0xdf04
+
+
+#multiplicity
+# Enable 23..16Lim 15..8OutSel
+ 2 0xdf33 0xdf32 0xdf34
+
+!Value table
+# Fpga # Type # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 # C8 #
+#########################################################################################################################################
+
+# 0xfe71 10 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xffffffff 0x0000ffff 0x00000000 0x00000000
+# 0xfe71 2 0x00ffffff 0x00030000 0x00000400
+
+# 0xfe61 0 0x000fffff 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
+# 0x8a00 1 0x00000015 0x00000000
+# 0x8a01 1 0x00000051 0x00015100
+# 0x8a02 1 0x00000000 0x00015400
+# 0x8a03 1 0x00000054 0x00000000
+# 0x8a04 1 0x00000015 0x00015400
+# 0x8a05 1 0x00000000 0x00015400
+ #left half of crate on output 1, right half on output 2
+
+ 0x0100 0 0x00007cfc 0x00000080 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
+ #1..6: output 1, #9..14 output 2, #7 from pulser addon
+
+ 0x0100 2 0x00007c7c 0x00020000 0x00000000
+ #2 half sectors fire, on second output
#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 loadbit 0xfe71 0x7114 0x00ff0000 0x00050000 #minimum event size
#prepare PaDiWa-AMPS2
# here test special installations:
my $cdworkdir = "cd /home/hadaq/oper;";
-# my $cmd_dabc = "/home/hadaq/soft/dabc/bin/dabc_exe.head ";
- my $cmd_dabc = "/usr/bin/gdb -x /home/hadaq/soft/dabc/head/base/run/gdbcmd.txt --args /home/hadaq/soft/dabc/bin/dabc_exe.head ";
+ my $cmd_dabc = "/home/hadaq/soft/dabc/bin/dabc_exe.head ";
+# my $cmd_dabc = "/usr/bin/gdb -x /home/hadaq/soft/dabc/head/base/run/gdbcmd.txt --args /home/hadaq/soft/dabc/bin/dabc_exe.head ";
my $conf_bnet_inp = " BnetInputHades.head.xml";
--- /dev/null
+#!/bin/bash
+
+ echo setting CTS to calibration mode;
+export DAQOPSERVER=hadesp31;
+ trbcmd r 0x003 0xa0c7 > /home/hadaq/tmp/precalibctsregs.txt 2> /home/hadaq/tmp/precalibctserr.txt ;
+ echo disabled output mask: `cat /home/hadaq/tmp/precalibctsregs.txt`;
+ trbcmd w 0x003 0xa0c7 0;
+ trbcmd setbit 0x003 0xa0c0 0x1D;
+ trbcmd w 0x003 0xa0e3 0x1E8480;
+ echo Setting file prefix tc;
+ /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix=tc&oninit=10";
+ echo set prefix tc on BNET master controller;
+
+
--- /dev/null
+#!/bin/bash
+
+ echo Setting file prefix no file
+ /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix='--'&oninit=10"
+ echo set prefix nofile on BNET master controller
+ sleep 2
+ echo setting CTS back to regular mode
+ export DAQOPSERVER=hadesp31
+ echo ${DAQOPSERVER}
+ enab="$(/bin/cat /home/hadaq/tmp/precalibctsregs.txt | /usr/bin/cut -d' ' -f3)"
+ echo "enabling outputs $enab"
+ trbcmd w 0x003 0xa0c7 $enab
+ trbcmd clearbit 0x003 0xa0c0 0x10
+ trbcmd w 0x003 0xa0e3 0x0
our @TimeoutLimits = (0, 0, 1);
our @LinkErrLimits = (50, 500, 1000);
our @MdcEndpMissingLimits = (0, 1, 2);
-our @RichEndpMissingLimits = (23, 24, 25); #!!!!
+our @RichEndpMissingLimits = (0, 1, 2);
our @TofEndpMissingLimits = (0, 0, 0);
our @RpcEndpMissingLimits = (0, 0, 1);
our @OtherEndpMissingLimits = (0, 0, 0);#!!!
$dirich1V->{min} = 1160;
- $dirich1V->{max} = 1300;
+ $dirich1V->{max} = 1350;
$dirich1V->{symbol} = 'mV';
$dirich1V->{title} = 'RICH 1.1V';
$dirich1V->{updatetime} = $updatetime;
close $fh;
$dirich2V5->{min} = 2560;
- $dirich2V5->{max} = 2700;
+ $dirich2V5->{max} = 2750;
$dirich2V5->{symbol} = 'mV';
$dirich2V5->{title} = 'RICH 2.5V';
0x8292,0x8293,0x8294,0x8295,0x8296,0x8297,0x82a4,0x82a6,
#quadratic bkpl
- #0x8211,0x8250,0x8291,0x82a5,0x8298,0x825a,0x8218,0x8205,
- #0x7860,0x7861,0x7870,0x7871,0x7760,0x7761,0x7770,0x7771,
- #0x70a6,0x70a7,0x70b6,0x70b7,0x70a0,0x70a1,0x70b0,0x70b1,
- #0x7a00,0x7a01,0x7b00,0x7b01,0x70a4,0x70a5,0x70b4,0x70b5,
- #0x7864,0x7865,0x7874,0x7875,0x7764,0x7765,0x7774,0x7775,
- #0x7b04,0x7b05,0x7a04,0x7a05,0x7b06,0x7b07,0x7a06,0x7a07,
- #0x7a02,0x7a03,0x7b02,0x7b03,0x70a2,0x70a3,0x70b2,0x70b3,
- #0x7762,0x7763,0x7772,0x7773,0x7862,0x7863,0x7872,0x7873,
- #0x7766,0x7767,0x7776,0x7777,0x7866,0x7867,0x7876,0x7877,
+ 0x8211,0x8250,0x8291,0x82a5,0x8298,0x825a,0x8218,0x8205,
+ 0x7860,0x7861,0x7870,0x7871,0x7760,0x7761,0x7770,0x7771,
+ 0x70a6,0x70a7,0x70b6,0x70b7,0x70a0,0x70a1,0x70b0,0x70b1,
+ 0x7a00,0x7a01,0x7b00,0x7b01,0x70b4,0x70b5, #0x70a4,0x70a5,
+ 0x7864,0x7865,0x7764,0x7765, #0x7874,0x7875,0x7774,0x7775,
+ 0x7b04,0x7b05,0x7b06,0x7b07, #0x7a04,0x7a05,0x7a06,0x7a07,
+ 0x7a02,0x7a03,0x7b02,0x7b03,0x70b2,0x70b3, #0x70a2,0x70a3,
+ 0x7762,0x7763,0x7772,0x7773,0x7862,0x7863,0x7872,0x7873,
+ 0x7766,0x7767,0x7776,0x7777,0x7866,0x7867,0x7876,0x7877,
- #0x7000,0x7001,0x7002,0x7003,0x7004,0x7005,0x7006,0x7007, §in the beamline?
+
0x8251,0x8260,0x8240,
0x71a6,0x71a7,0x71b6,0x71b7,0x71a0,0x71a1,0x71b0,0x71b1,
my $o = trb_register_read_mem(0xfe51,0xc000,0,33) or die trb_strerror() or sleep 5 and next;
if (defined $old) {
- my $tdiff = time() - $oldtime;
+ my $tdiff = (time() - $oldtime)|1;
foreach my $b (keys %$o) {
#my $ratesum = 0;
my $sec = ($b>>1) & 0x3;
my $vdiff = ($o->{$b}->[$v+1]&0xfffffff) - ($old->{$b}->[$v+1]&0xfffffff);
if ($vdiff < 0) { $vdiff += 2**28;}
- $diff->{$b}->[$v+1] = $vdiff/($tdiff|1);
+ $diff->{$b}->[$v+1] = $vdiff/$tdiff;
#$ratesum += $diff->{$b}->[$v+1];
HPlot::PlotFill('RichRateQ'.$sec,$diff->{$b}->[$v+1],$xpos,$v);
}
--- /dev/null
+#!/usr/bin/perl -w
+
+use warnings;
+use strict;
+use Data::Dumper;
+use Data::TreeDumper;
+use Hmon;
+use QA;
+use HADES::TrbNet;
+use HPlot;
+use Time::HiRes qw(usleep time);
+use List::Util qw[min max];
+
+use Encode qw(encode from_to);
+use JSON::XS;
+
+
+my $plot0 = {
+name => "RichRate",
+file => "files/RichRate",
+title => "RICH Rate",
+entries => 193,
+curves => 193,
+type => HPlot::TYPE_HEATMAP,
+output => HPlot::OUT_PNG,
+zlabel => "Hitrate",
+sizex => 800,
+sizey => 700,
+nokey => 1,
+buffer => 1,
+xmin => -1.5,
+xmax => 192.5,
+ymin => -1.5,
+ymax => 192.5,
+cbmax => "100<*<1E5",
+cbmin => 0.0,
+noinit => 1,
+additional => "set logscale cb;set xrange [192.5:-1.5] reverse",
+showvalues => 0, };
+HPlot::PlotInit($plot0);
+
+
+my $str = Hmon::MakeTitle(11, 16, "RICH Hit Rate v2",0);
+$str .= qq@<img src="%ADDPNG files/RichRate.png%" type="image/png"><br>\n@;
+$str .= Hmon::MakeFooter();
+Hmon::WriteFile("RichRatev2",$str);
+
+
+my $old;
+my $oldtime = time();
+my $time = time();
+my $diff;
+my $iter = 0;
+
+
+
+trb_init_ports() or die trb_strerror();
+
+ my $filename = 'rich_pmt_parameters_xy.geo';
+ open(my $fh, '<:encoding(UTF-8)', $filename)
+ or die "Could not open file '$filename' $!";
+
+ my @pos;
+
+ while (my $row = <$fh>) {
+ chomp $row;
+ my @words = split / /, $row;
+ if ($words[0] eq "Di-Rich") {next;}
+ if (defined $words[0]) {
+
+ my $dirich= ((hex $words[0])&0xfff);
+ my $ch=int $words[1];
+ $pos[$dirich][$ch][0]=int $words[4];
+ $pos[$dirich][$ch][1]=int $words[5];
+
+ }
+ }
+
+
+while(1) {
+ #my $data;
+ #my $max = 0 ;
+ #my $min = 5E9;
+
+ my $o = trb_register_read_mem(0xfe51,0xc000,0,33) or die trb_strerror() or sleep 5 and next;
+
+ if (defined $old) {
+ my $tdiff = time() - $oldtime;
+ foreach my $b (keys %$o) {
+ #my $ratesum = 0;
+ #my $sec = ($b>>1) & 0x3;
+ #my $xpos = (($b>>8)&0xF)*24 + (($b>>4)&0xF)*2 + ($b&1);
+
+ for my $v (0..31) {
+ my $vdiff = ($o->{$b}->[$v+1]&0xfffffff) - ($old->{$b}->[$v+1]&0xfffffff);
+
+ if ($vdiff < 0) { $vdiff += 2**28;}
+ $diff->{$b}->[$v+1] = $vdiff/($tdiff|1);
+ #$ratesum += $diff->{$b}->[$v+1];
+ if (defined $pos[$b&0xfff][$v+1][0] && defined $pos[$b&0xfff][$v+1][1]) {
+ HPlot::PlotFill('RichRate',$diff->{$b}->[$v+1],$pos[$b&0xfff][$v+1][0],$pos[$b&0xfff][$v+1][1]);
+ }
+ }
+ }
+
+ HPlot::PlotDraw('RichRate');
+
+
+
+
+ # $data->{max} = $max;
+ # $data->{min} = $min;
+ # $data->{symbol} = " Hits/s";
+ # $data->{title} = "Mean DiRICH TDC Rate";
+
+ # my $timeStamp = localtime();
+
+ # my @months = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
+ # my @days = qw(Sun Mon Tue Wed Thu Fri Sat Sun);
+ # my ($sec,$minute,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime();
+ # my $updatetime = sprintf("%03s, %02d %s %04d - %02d:%02d:%02d",$days[$wday], $mday, $months[$mon], 1900 + $year, $hour, $minute, $sec);
+
+ # $data->{updatetime} = $updatetime;
+
+ #print Dumper $data;
+ # my $fh;
+ # open($fh, ">", Hmon::HMONDIR."/files/richMeanRateDiRICH.json");
+ # print $fh encode_json($data);
+ # close $fh;
+ }
+
+ $old = $o;
+ $oldtime = time();
+ sleep 2;
+ }
entries => 500,
type => HPlot::TYPE_HISTORY,
output => HPlot::OUT_PNG,
- titles => ["X position","Y position"],
+ titles => ["X position","Y position","Xrms","Yrms"],
xlabel => "Seconds",
- ylabel => "Strip",
+ ylabel => "Strips",
sizex => 950,
sizey => 330,
ymin => "-0.5",
ymax => "15.5",
- curves => 2,
+ curves => 4,
xscale => 5,
buffer => 1,
});
$oldtime->{$b} = $o->{$b}{time}[0];
}
- my ($sumx,$sumy,$avgx,$avgy) = (0,0,0,0);
+ my ($sumx,$sumy,$avgx,$avgy,$rmsx,$rmsy) = (0,0,0,0,0,0);
for my $c (1..16) {
HPlot::PlotAdd("StartRateXhist",$diff->{0x5000}[$c],$chan[$c]);
$avgx /= $sumx if($sumx !=0);
$avgy /= $sumy if($sumy !=0);
+ for my $c (1..16) {
+ $rmsx += $diff->{0x5000}[$c]*($chan[$c]/$avgx)**2 ;
+ $rmsy += $diff->{0x5001}[$c]*($chan[$c]/$avgy)**2 ;
+ }
+ $rmsx = sqrt($rmsx/$sumx);
+ $rmsy = sqrt($rmsy/$sumy);
+
+
$avgx = "NaN" if $sumx < 50;
$avgy = "NaN" if $sumy < 50;
-
+ $rmsx = "NaN" if $sumx < 50;
+ $rmsy = "NaN" if $sumy < 50;
+
HPlot::PlotAdd("StartPosition",$avgx,0);
HPlot::PlotAdd("StartPosition",$avgy,1);
-
+ HPlot::PlotAdd("StartPosition",$rmsx,2);
+ HPlot::PlotAdd("StartPosition",$rmsy,3);
+
for my $c (1..8) {
HPlot::PlotAdd("VetoRatehist",$diff->{0x5002}[$c],$chanveto[$c]);
HPlot::PlotAdd("VetoRatehistbar",$diff->{0x5002}[$c],$chanveto[$c]);
<li style="width:600px;"><a href="monitor.cgi?3-window-logfile">Logfile (most important messages)</a></li>
<li style="width:600px;"><a href="monitor.cgi?10-window-chat">Chat Log</a></li>
<li style="width:600px;"><a href="http://hades33/daqtools/index.pl" target="_blank">Web Tools</a></li>
-<li style="width:600px;"><a href="http://hades33/eb/" target="_blank">Eventbuilder Monitor and control</a></li>
+<li style="width:600px;"><a href="http://hades33/eb/?browser=fix" target="_blank">Eventbuilder Monitor and control</a></li>
</ul></div>
<div class="linkbox" style="width:730px;"><h4>Other Ressources</h4><ul>
<td class="empty-box" rowspan="6" colspan="9"></td>
<td class="combiner-4-v" rowspan="6" colspan="1" id="0x8291"><span class="tooltiptext" id="0x8291_s">0x8291</span></td><!-- combiner -->
- <td class="dirich" rowspan="3" colspan="1" id="0x7864"><span class="tooltiptext" id="0x7864_s">0x7864</span></td>
- <td class="dirich" rowspan="3" colspan="1" id="0x7865"><span class="tooltiptext" id="0x7865_s">0x7865</span></td>
- <td class="dirich" rowspan="3" colspan="1" id="0x7764"><span class="tooltiptext" id="0x7764_s">0x7764</span></td>
- <td class="dirich" rowspan="3" colspan="1" id="0x7765"><span class="tooltiptext" id="0x7765_s">0x7765</span></td>
+ <td class="dirich" rowspan="3" colspan="1" id="0x7866"><span class="tooltiptext" id="0x7866_s">0x7866</span></td>
+ <td class="dirich" rowspan="3" colspan="1" id="0x7867"><span class="tooltiptext" id="0x7867_s">0x7867</span></td>
+ <td class="dirich" rowspan="3" colspan="1" id="0x7766"><span class="tooltiptext" id="0x7766_s">0x7766</span></td>
+ <td class="dirich" rowspan="3" colspan="1" id="0x7767"><span class="tooltiptext" id="0x7767_s">0x7767</span></td>
<td class="power-4-v" rowspan="6" colspan="1" id="0x8200"><span class="tooltiptext" id="0x8200_s">0x8200</span></td><!-- Power -->
<td class="dirich" rowspan="3" colspan="1" id="0x7666"><span class="tooltiptext" id="0x7666_s">0x7666</span></td>
open(FTRB, "$cmd|");
while(my $a = <FTRB>) {
if ($inhibit == 0) {
- system("espeak -vus-mbrola-1 -s125 \"$a\" 2>/dev/null #-ven+m2 -s 130 -g 1 ");
+# system("espeak -vus-mbrola-1 -s125 \"$a\" 2>/dev/null #-ven+m2 -s 130 -g 1 ");
+ system("espeak -ven+m2 -s 130 -g 1 \"$a\" 2>/dev/null");
}
}
}
0x8a03 1 ECal3 mid
0x8a04 1 ECal4 mid
0x8a05 1 ECal5 mid
-0x83c0 0 RICH0 mid
-0x83c1 0 RICH1 mid
-0x83c2 0 RICH2 mid
-0x83c3 0 RICH3 mid
-0x83c4 0 RICH4 mid
-0x83c5 0 RICH5 mid
-0x83c6 0 RICH6 mid
-0x83c7 0 RICH7 mid
-0x83c8 0 RICH8 mid
-0x83c9 0 RICH9 mid
-0x83ca 0 RICHa mid
-0x83cb 0 RICHb mid
+0x83c0 1 RICH0 mid
+0x83c1 1 RICH1 mid
+0x83c2 1 RICH2 mid
+0x83c3 1 RICH3 mid
+0x83c4 1 RICH4 mid
+0x83c5 1 RICH5 mid
+0x83c6 1 RICH6 mid
+0x83c7 1 RICH7 mid
+0x83c8 1 RICH8 mid
+0x83c9 1 RICH9 mid
+0x83ca 1 RICHa mid
+0x83cb 1 RICHb mid
'10' => 29056,
'5' => 29329
},
+ '33297' => {
+ '3' => 30817,
+ '7' => 30576,
+ '9' => 30833,
+ '2' => 30561,
+ '8' => 30577,
+ '4' => 30816,
+ '1' => 30560,
+ '10' => 30832
+ },
'33730' => {
+ '1' => 33361,
+ '4' => 33297,
'0' => 33348,
- '3' => 33313
+ '3' => 33313,
+ '2' => 33360,
+ '5' => 33344
},
'35329' => {
'6' => 24596,
'2' => 8193,
'5' => 8196
},
+ '33344' => {
+ '6' => 29600,
+ '11' => 29617,
+ '3' => 29345,
+ '7' => 29104,
+ '9' => 29361,
+ '2' => 29089,
+ '12' => 29616,
+ '8' => 29105,
+ '1' => 29088,
+ '4' => 29344,
+ '10' => 29360,
+ '5' => 29601
+ },
'4387' => {
'6' => 8740,
'3' => 8750,
'5' => 8741
},
'33728' => {
+ '6' => 33285,
'4' => 33299,
'1' => 33316,
'0' => 33349,
'6' => 33352,
'4' => 33351,
'1' => 33319,
+ '0' => 33370,
'3' => 33320,
+ '2' => 33304,
'5' => 33350
},
'33364' => {
'5' => 30211
},
'33446' => {
- '8' => 31252,
- '1' => 31509,
+ '6' => 31541,
'11' => 31284,
+ '3' => 31524,
'7' => 31253,
- '10' => 31269,
'9' => 31268,
- '12' => 31285
+ '2' => 31508,
+ '12' => 31285,
+ '8' => 31252,
+ '4' => 31525,
+ '1' => 31509,
+ '10' => 31269,
+ '5' => 31540
},
'33426' => {
'6' => 31063,
'10' => 28755,
'5' => 28772
},
+ '33285' => {
+ '3' => 31235,
+ '7' => 31489,
+ '9' => 31491,
+ '2' => 31232,
+ '8' => 31488,
+ '4' => 31234,
+ '1' => 31233,
+ '10' => 31490
+ },
'33315' => {
'6' => 30256,
'11' => 30273,
'33808' => {
'2' => 33809
},
+ '33360' => {
+ '3' => 28833,
+ '7' => 28854,
+ '9' => 28849,
+ '2' => 28839,
+ '8' => 28855,
+ '4' => 28832,
+ '1' => 28838,
+ '10' => 28848
+ },
'35330' => {
'8' => 24614,
'6' => 24612,
'5' => 29591
},
'33733' => {
- '4' => 33377,
+ '6' => 33425,
'1' => 33409,
- '0' => 33393
+ '3' => 33393,
+ '0' => 33376,
+ '5' => 33377
},
'32789' => {
'1' => 4112,
'7' => 24661,
'5' => 24659
},
+ '33432' => {
+ '4' => 30821,
+ '1' => 30565,
+ '3' => 30820,
+ '2' => 30564
+ },
'33410' => {
'6' => 30311,
'11' => 30294,
'5' => 29586
},
'4371' => {
- '8' => 8728,
- '4' => 8732,
- '1' => 8735,
+ '6' => 8730,
'3' => 8733,
'7' => 8729,
'2' => 8734,
+ '8' => 8728,
+ '1' => 8735,
+ '4' => 8732,
'5' => 8731
},
'4100' => {
'5' => 29844
},
'34816' => {
- '0' => 2
+ '0' => 2,
+ '2' => 288
},
'33348' => {
'6' => 29456,
'6' => 8533,
'3' => 8530,
'7' => 8470,
- '2' => 8529,
+ '2' => 8528,
'8' => 8471,
'4' => 8531,
- '1' => 8528,
+ '1' => 8529,
'5' => 8532
},
+ '4114' => {
+ '6' => 8541,
+ '3' => 8538,
+ '7' => 8542,
+ '2' => 8537,
+ '8' => 8543,
+ '1' => 8536,
+ '4' => 8539,
+ '5' => 8540
+ },
'4146' => {
'6' => 8220,
'4' => 8218,
'3' => 4372,
'2' => 4371
},
- '4114' => {
- '6' => 8541,
- '3' => 8538,
- '7' => 8542,
- '2' => 8537,
- '8' => 8543,
- '1' => 8536,
- '4' => 8539,
- '5' => 8540
- },
'33411' => {
'6' => 30279,
'11' => 30262,
'33731' => {
'6' => 33381,
'1' => 33413,
+ '4' => 33445,
'0' => 33430,
'3' => 33380,
'5' => 33446
'2' => 33346,
'5' => 33314
},
- '33302' => {
- '6' => 31026,
- '11' => 31011,
- '3' => 30771,
- '7' => 30498,
- '9' => 30755,
- '12' => 31010,
- '2' => 30515,
- '8' => 30499,
- '1' => 30514,
- '4' => 30770,
- '10' => 30754,
- '5' => 31027
- },
'33319' => {
'6' => 30274,
'11' => 30259,
'10' => 30002,
'5' => 30275
},
+ '33302' => {
+ '6' => 31026,
+ '11' => 31011,
+ '3' => 30771,
+ '7' => 30498,
+ '9' => 30755,
+ '12' => 31010,
+ '2' => 30515,
+ '8' => 30499,
+ '1' => 30514,
+ '4' => 30770,
+ '10' => 30754,
+ '5' => 31027
+ },
'33354' => {
'6' => 29618,
'11' => 29603,
'5' => 8460
},
'33284' => {
- '8' => 31249,
+ '6' => 31536,
'11' => 31281,
+ '3' => 31521,
'7' => 31248,
- '10' => 31264,
'9' => 31265,
- '12' => 31280
+ '2' => 31505,
+ '12' => 31280,
+ '8' => 31249,
+ '4' => 31520,
+ '1' => 31504,
+ '10' => 31264,
+ '5' => 31537
},
'33303' => {
'6' => 31058,
'10' => 30786,
'5' => 31059
},
+ '33445' => {
+ '8' => 31493,
+ '7' => 31492,
+ '9' => 31495,
+ '10' => 31494
+ },
'4099' => {
'6' => 8485,
'3' => 8482,
'5' => 8484
},
'4385' => {
- '6' => 9002,
+ '6' => 9003,
'3' => 9005,
'7' => 9001,
'2' => 9006,
'8' => 9000,
'1' => 9007,
'4' => 9004,
- '5' => 9003
+ '5' => 9002
},
'4404' => {
'6' => 8754,
'4' => 8971,
'5' => 8972
},
+ '33376' => {
+ '6' => 29623,
+ '11' => 29606,
+ '3' => 29366,
+ '7' => 29095,
+ '9' => 29350,
+ '2' => 29110,
+ '12' => 29607,
+ '8' => 29094,
+ '4' => 29367,
+ '1' => 29111,
+ '10' => 29351,
+ '5' => 29622
+ },
'4417' => {
'6' => 9029,
'3' => 9026,
'1' => 9024,
'5' => 9028
},
+ '33304' => {
+ '3' => 30835,
+ '7' => 30562,
+ '9' => 30819,
+ '2' => 30579,
+ '8' => 30563,
+ '1' => 30578,
+ '4' => 30834,
+ '10' => 30818
+ },
'33329' => {
'6' => 29840,
'11' => 29585,
},
'33286' => {
'6' => 31283,
- '1' => 31251,
- '4' => 31267,
+ '11' => 31538,
'3' => 31266,
+ '7' => 31507,
+ '9' => 31522,
'2' => 31250,
+ '12' => 31539,
+ '8' => 31506,
+ '1' => 31251,
+ '4' => 31267,
+ '10' => 31523,
'5' => 31282
},
'4352' => {
'10' => 29184,
'5' => 29443
},
- '33737' => {
- '6' => 33382,
- '4' => 33415,
- '0' => 33414,
- '3' => 33431,
- '2' => 33383
- },
'4419' => {
'6' => 8773,
'3' => 8770,
'4' => 8771,
'5' => 8772
},
+ '33737' => {
+ '6' => 33382,
+ '1' => 33432,
+ '4' => 33415,
+ '0' => 33414,
+ '3' => 33431,
+ '2' => 33383
+ },
'4130' => {
'6' => 8205,
'4' => 8203,
'6' => 8525,
'3' => 8522,
'7' => 8526,
- '2' => 8521,
+ '2' => 8520,
'8' => 8527,
+ '1' => 8521,
'4' => 8523,
- '1' => 8520,
'5' => 8524
},
'35328' => {
},
'33444' => {
'6' => 31286,
- '1' => 31254,
- '4' => 31270,
+ '11' => 31543,
'3' => 31271,
+ '7' => 31510,
+ '9' => 31527,
+ '12' => 31542,
'2' => 31255,
+ '8' => 31511,
+ '4' => 31270,
+ '1' => 31254,
+ '10' => 31526,
'5' => 31287
},
+ '33425' => {
+ '3' => 30838,
+ '7' => 30567,
+ '9' => 30822,
+ '2' => 30582,
+ '8' => 30566,
+ '4' => 30839,
+ '1' => 30583,
+ '10' => 30823
+ },
'4354' => {
'6' => 8716,
'3' => 8714,
'1' => 8712,
'5' => 8717
},
+ '33370' => {
+ '8' => 28850,
+ '7' => 28851,
+ '9' => 28852,
+ '10' => 28853
+ },
'33431' => {
'6' => 31045,
'11' => 31060,
'10' => 30342,
'5' => 30103
},
+ '33361' => {
+ '6' => 28816,
+ '11' => 28823,
+ '3' => 28801,
+ '7' => 28790,
+ '9' => 28807,
+ '12' => 28822,
+ '2' => 28785,
+ '8' => 28791,
+ '1' => 28784,
+ '4' => 28800,
+ '10' => 28806,
+ '5' => 28817
+ },
'33347' => {
'6' => 29488,
'11' => 29505,
DiRich 700 9200000a49110f28 7221
DiRich 702 4100000a48ff0028 7201
DiRich 704 dc00000a4906e228 7a24
+ DiRich 705 a800000a4949b628 7b06
DiRich 706 9100000a49074628 7216
DiRich 708 ee00000a499e2d28 7713
DiRich 709 7800000a499e2428 7226
DiRich 898 d000000a48ac0d28 73b0
DiRich 900 bb00000a48f85728 7b33
DiRich 901 4b00000a49dc2728 71a1
+ DiRich 903 f400000a48ac0228 7872
+ DiRich 904 1300000a518b7e28 7a35
+ DiRich 908 ac00000a4931cc28 70b4
+ DiRich 909 9000000a48b35128 7773
+ DiRich 910 9100000a498fa228 7b07
+ DiRich 911 b200000a48f71928 70b3
+ DiRich 912 d600000a4907a428 7b04
+ DiRich 914 bd00000a48f86228 70b5
+ DiRich 917 9c00000a4941e928 7762
+ DiRich 918 2000000a49966a28 7865
+ DiRich 923 7100000a49e0e728 70b2
DiRich 1038 5300000a49d52228 7056
DiRich 1039 1b00000a49d36a28 7057
DiRich 1040 5700000a49d35228 7873
trbcmd loadbit 0xfe52 0xd580 0x6 0x2 #switch trigger input correctly
-trbcmd loadbit 0xfe51 0x7111 0x0000ffff 170
+trbcmd loadbit 0xfe51 0x7111 0x0000ffff 170 #max event size
+trbcmd loadbit 0xfe51 0x7114 0x00ff0000 0x00050000 #minimum event size
load_register register_tdc_rich.db