]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
update config files
authorHades DAQ <hadaq@hadesdaqp03.gsi.de>
Tue, 10 Apr 2018 08:44:08 +0000 (10:44 +0200)
committerHades DAQ <hadaq@hadesdaqp03.gsi.de>
Tue, 10 Apr 2018 08:44:08 +0000 (10:44 +0200)
hmon/hmon_busynew.pl
hub/configure_ports.script
rpc/addresses_rpc.db
rpc/serials_rpc.db
rpc/trb.db

index 46771823c9210532bf0d1f8b4f6a90959422e7ad..745e67c85187489002b50b878e0ebf55624e56ae 100755 (executable)
@@ -15,20 +15,20 @@ use List::Util qw[min max];
 my $plot = ();
 $plot->{name}    = "BusyTimes";
 $plot->{file}    = "files/BusyTimes";
-$plot->{curves}  = 10;
+$plot->{curves}  = 9;
 $plot->{entries} = 200;
 $plot->{type}    = HPlot::TYPE_HISTORY;
 $plot->{output}  = HPlot::OUT_PNG;
 $plot->{titles}->[0] = "MDC12";
 $plot->{titles}->[1] = "MDC34";
-$plot->{titles}->[2] = "Shower";
+$plot->{titles}->[2] = "ECal";
 $plot->{titles}->[3] = "RPC";
 $plot->{titles}->[4] = "Rich";
 $plot->{titles}->[5] = "TOF";
 $plot->{titles}->[6] = "Wall";
-$plot->{titles}->[7] = "St2";
-$plot->{titles}->[8] = "St3";
-$plot->{titles}->[9] = "Pion";
+$plot->{titles}->[7] = "Cts";
+$plot->{titles}->[8] = "Start";
+$plot->{titles}->[9] = "Pion";
 $plot->{xlabel}  = "Time";
 $plot->{ylabel}  = "Deadtime (%)";
 $plot->{sizex}   = 830;
@@ -44,11 +44,11 @@ HPlot::PlotInit($plot);
 my $plot2 = ();
 $plot2->{name}    = "BusyTimeBars";
 $plot2->{file}    = "files/BusyTimeBars";
-$plot2->{curves}  = 7;
+$plot2->{curves}  = 9;
 $plot2->{type}    = HPlot::TYPE_BARGRAPH;
 $plot2->{output}  = HPlot::OUT_PNG;
 $plot2->{ylabel}  = "Deadtime (%)";
-$plot2->{colors}  = ['#d0d0d0','#d8d8d8','#e0e0e0','#e8e8e8','#f0f0f0','#f8f8f8','#0000ff'];
+$plot2->{colors}  = ['#0000ff','#d8d8d8','#e0e0e0','#e8e8e8','#f0f0f0','#f8f8f8','#f0f0f0','#e8e8e8','#e0e0e0'];
 $plot2->{sizex}   = 580;
 $plot2->{sizey}   = 265;
 $plot2->{nokey}   = 1;
@@ -57,14 +57,14 @@ $plot2->{ymin}    = -1;
 $plot2->{ymax}    = 101;
 $plot2->{bartitle}->[0] = "M12";
 $plot2->{bartitle}->[1] = "M34";
-$plot2->{bartitle}->[2] = "Shw";
+$plot2->{bartitle}->[2] = "ECa";
 $plot2->{bartitle}->[3] = "RPC";
 $plot2->{bartitle}->[4] = "Ric";
 $plot2->{bartitle}->[5] = "TOF";
 $plot2->{bartitle}->[6] = "FW";
-$plot2->{bartitle}->[7] = "St2";
-$plot2->{bartitle}->[8] = "St3";
-$plot2->{bartitle}->[9] = "Pi";
+$plot2->{bartitle}->[7] = "Cts";
+$plot2->{bartitle}->[8] = "St";
+$plot2->{bartitle}->[9] = "Pi";
 $plot2->{buffer}  = 1;
 $plot2->{storable} = 0;
 HPlot::PlotInit($plot2);
@@ -87,7 +87,7 @@ my $diff;
 my $old;
 my $iter=0;
 
-for my $p (0..7) {
+for my $p (0..8) {
   for my $s (0..9) {
     HPlot::PlotFill('BusyTimeBars',.001,$s,$p);
     }
@@ -95,14 +95,14 @@ for my $p (0..7) {
 
 while (1) {
   my $o;
-  foreach my $b (0x8000,0x8001,0x8002,0x8003,0x8004,0x8101,0x8111,0x8801) {
-    my $t = trb_registertime_read_mem($b,0x4030,0,8);
+  foreach my $b (0x8000,0x8012,0x8013,0x8015,0x8016) {
+    my $t = trb_registertime_read_mem($b,0x4030,0,10);
     $o->{$b} = $t->{$b};
     }
 
   if (defined $old) {
     foreach my $b (keys %$o) {
-      for my $v (0..7) {
+      for my $v (0..9) {
         my $tdiff = ($o->{$b}->{time}->[$v]||0) - ($old->{$b}->{time}->[$v]||0);
         if ($tdiff < 0) { $tdiff += 2**16;}
         $tdiff *= 16;
@@ -112,61 +112,60 @@ while (1) {
         }
       }
       
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[6],0); #MDC12
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[7],1); #MDC34
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[3],2); #Shower
-    HPlot::PlotAdd('BusyTimes',max($diff->{0x8001}->[1],$diff->{0x8001}->[2],$diff->{0x8001}->[3]),3); #RPC
-    HPlot::PlotAdd('BusyTimes',max($diff->{0x8001}->[4],$diff->{0x8001}->[5],$diff->{0x8001}->[6]),4); #Rich
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8002}->[1],5); #Tof
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8002}->[3],6); #Wall
-    HPlot::PlotAdd('BusyTimes',$diff->{0x8002}->[2],7); #Start/Cts
-    HPlot::PlotAdd('BusyTimes',max($diff->{0x8003}->[3],$diff->{0x8003}->[4]),8); #Start TRB3
-    HPlot::PlotAdd('BusyTimes',max($diff->{0x8003}->[1],$diff->{0x8003}->[2]),9); #Pion
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[5],0); #MDC12
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[6],1); #MDC34
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[3],2); #ECal
+    HPlot::PlotAdd('BusyTimes',max($diff->{0x8012}->[2],$diff->{0x8012}->[3]),3); #RPC
+    HPlot::PlotAdd('BusyTimes',max($diff->{0x8000}->[7],$diff->{0x8000}->[8]),4); #Rich
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8012}->[1],5); #Tof
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8012}->[0],6); #Wall
+    HPlot::PlotAdd('BusyTimes',$diff->{0x8000}->[1],7); #Cts
+    HPlot::PlotAdd('BusyTimes',max($diff->{0x8012}->[4],$diff->{0x8012}->[5]),8); #Start TRB3
+    HPlot::PlotAdd('BusyTimes',max($diff->{0x8003}->[1],$diff->{0x8003}->[2]),9); #Pion
 
 #Default plots    
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[6],0,6); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[7],1,6); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[3],2,6); #Shower
-    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8001}->[1],$diff->{0x8001}->[2],$diff->{0x8001}->[3]),3,6); #RPC
-    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8001}->[4],$diff->{0x8001}->[5],$diff->{0x8001}->[6]),4,6); #Rich
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8002}->[1],5,6); #Tof
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8002}->[3],6,6); #Wall
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8002}->[2],7,6); #Start/Cts
-    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8003}->[3],$diff->{0x8003}->[4]),8,6); #Start TRB3
-    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8003}->[1],$diff->{0x8003}->[2]),9,6); #Pion    
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[5],0); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[6],1); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[3],2); #ECal
+    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8012}->[2],$diff->{0x8012}->[3]),3); #RPC
+    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8000}->[7],$diff->{0x8000}->[8]),4); #Rich
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[1],5); #Tof
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[0],6); #Wall
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[1],7); #Cts
+    HPlot::PlotFill('BusyTimeBars',max($diff->{0x8012}->[4],$diff->{0x8012}->[5]),8); #Start TRB3
+#     HPlot::PlotAdd('BusyTimes',max($diff->{0x8003}->[1],$diff->{0x8003}->[2]),9); #Pion
 
 #Extended view
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[1],0,5); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[2],0,4); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[3],0,3); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[4],0,2); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[5],0,1); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8101}->[6],0,0); #MDC12
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[1],1,5); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[2],1,4); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[3],1,3); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[4],1,2); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[5],1,1); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8111}->[6],1,0); #MDC34
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[1],2,5); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[2],2,4); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[3],2,3); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[4],2,2); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[5],2,1); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8004}->[6],2,0); #Shower
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[1],3,5); #RPC
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[2],3,4); #RPC
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[3],3,3); #RPC
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[4],4,5); #Rich
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[5],4,4); #Rich
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[6],4,3); #Rich
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8801}->[1],7,5); #Start
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8801}->[2],7,4); #Veto
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8801}->[3],7,3); #Cts
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[3],8,5); #Start TRB3
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[4],8,4); #Start TRB3
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[1],9,5); #Pion
-    HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[2],9,4); #Pion
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[0],0,6); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[1],0,5); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[2],0,4); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[3],0,3); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[4],0,2); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8015}->[5],0,1); #MDC12
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[0],1,6); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[1],1,5); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[2],1,4); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[3],1,3); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[4],1,2); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8016}->[5],1,1); #MDC34
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[0],2,6); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[1],2,5); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[2],2,4); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[3],2,3); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[4],2,2); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8013}->[5],2,1); #ECal
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[2],3,5); #RPC
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[3],3,4); #RPC
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[7],4,5); #Rich
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[8],4,4); #Rich
+#     HPlot::PlotFill('BusyTimeBars',$diff->{0x8001}->[6],4,3); #Rich
+#     HPlot::PlotFill('BusyTimeBars',$diff->{0x8801}->[1],7,5); #Start
+#     HPlot::PlotFill('BusyTimeBars',$diff->{0x8801}->[2],7,4); #Veto
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8000}->[1],7,5); #Cts
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[4],8,5); #Start TRB3
+    HPlot::PlotFill('BusyTimeBars',$diff->{0x8012}->[5],8,4); #Start TRB3
+#     HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[1],9,5); #Pion
+#     HPlot::PlotFill('BusyTimeBars',$diff->{0x8003}->[2],9,4); #Pion
 
     $iter++;
     unless($iter % 4) {
@@ -174,7 +173,7 @@ while (1) {
       }
     unless($iter % 8) {
       HPlot::PlotDraw('BusyTimes');
-      my $maxpercent = max($diff->{0x8000}->[6],$diff->{0x8000}->[7],$diff->{0x8000}->[3],$diff->{0x8000}->[2],$diff->{0x8000}->[1],$diff->{0x8000}->[0],);
+      my $maxpercent = max($diff->{0x8000}->[0],$diff->{0x8000}->[1],$diff->{0x8000}->[2],$diff->{0x8000}->[3],$diff->{0x8000}->[5],$diff->{0x8000}->[6],$diff->{0x8000}->[7],$diff->{0x8000}->[9],);
       my $msgstr = sprintf("%3.1f%%",$maxpercent);
       my $qastate = QA::OK;
       $qastate = QA::ERROR if ($maxpercent > 99);
index 16421a85e5804283818e4bec6e892bfb462b3496..0b315eb5837c6a00837be4e985e41434c60438ae 100644 (file)
 #Temporary: remove all other hubs in network from CTS hub despite used hub
 
-#  trbcmd w 0x8001 0xc0 0xff81
-#  trbcmd w 0x8001 0xc1 0xff81
-#  trbcmd w 0x8001 0xc3 0xff81
-#  trbcmd w 0x8002 0xc0 0xff81
-#  trbcmd w 0x8002 0xc1 0xff81
-#  trbcmd w 0x8002 0xc3 0xff81
-#  trbcmd w 0x8003 0xc0 0xffff
-#  trbcmd w 0x8003 0xc1 0xffff
-#  trbcmd w 0x8003 0xc3 0xffff
-#  trbcmd w 0x8004 0xc0 0xffff
-#  trbcmd w 0x8004 0xc1 0xffff
-#  trbcmd w 0x8004 0xc3 0xffff
-#  trbcmd w 0x8000 0xc0 0xff37
-#  trbcmd w 0x8000 0xc1 0xff37
-#  trbcmd w 0x8000 0xc3 0xff37
-#
-#
-#!ifdef RICH
-#  trbcmd setbit 0x8001 0xc0 0x0070
-#  trbcmd setbit 0x8001 0xc1 0x0070
-#  trbcmd setbit 0x8001 0xc3 0x0070
-#!endif
-#
-#!ifdef TOF
-#  trbcmd setbit 0x8002 0xc0 0x0002
-#  trbcmd setbit 0x8002 0xc1 0x0002
-#  trbcmd setbit 0x8002 0xc3 0x0002
-#!endif
-#
-#!ifdef RPC
-#  trbcmd setbit 0x8001 0xc0 0x000e
-#  trbcmd setbit 0x8001 0xc1 0x000e
-#  trbcmd setbit 0x8001 0xc3 0x000e
-#!endif
 
-#!ifdef WALL
-#!endif
-#  trbcmd setbit 0x8002 0xc0 0x0008
-#  trbcmd setbit 0x8002 0xc1 0x0008
-#  trbcmd setbit 0x8002 0xc3 0x0008
-#
-## 
-## !ifdef MDC12
-##   trbcmd setbit 0x8001 0xc0 0x0008
-##   trbcmd setbit 0x8001 0xc1 0x0008
-##   trbcmd setbit 0x8001 0xc3 0x0008
-## !endif
-## 
-## !ifdef MDC34
-##   trbcmd setbit 0x8001 0xc0 0x0010
-##   trbcmd setbit 0x8001 0xc1 0x0010
-##   trbcmd setbit 0x8001 0xc3 0x0010
-## !endif
-## 
-## !ifdef MDC134
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##   
-##   trbcmd clearbit 0x8101 0xc0 0x44
-##   trbcmd clearbit 0x8101 0xc1 0x44
-##   trbcmd clearbit 0x8101 0xc3 0x44
-##   trbcmd clearbit 0x1000 0xc0 0x0c
-##   trbcmd clearbit 0x1000 0xc1 0x0c
-##   trbcmd clearbit 0x1000 0xc3 0x0c
-##   trbcmd clearbit 0x1040 0xc0 0x0c
-##   trbcmd clearbit 0x1040 0xc1 0x0c
-##   trbcmd clearbit 0x1040 0xc3 0x0c
-## !endif
-## 
-## !ifdef MDC234
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##   
-##   trbcmd clearbit 0x8101 0xc0 0x18
-##   trbcmd clearbit 0x8101 0xc1 0x18
-##   trbcmd clearbit 0x8101 0xc3 0x18
-##   trbcmd clearbit 0x1000 0xc0 0x03
-##   trbcmd clearbit 0x1000 0xc1 0x03
-##   trbcmd clearbit 0x1000 0xc3 0x03
-##   trbcmd clearbit 0x1040 0xc0 0x03
-##   trbcmd clearbit 0x1040 0xc1 0x03
-##   trbcmd clearbit 0x1040 0xc3 0x03
-## !endif
-## 
-## !ifdef MDC234_p1s24
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##   
-##   trbcmd clearbit 0x8101 0xc0 0x10
-##   trbcmd clearbit 0x8101 0xc1 0x10
-##   trbcmd clearbit 0x8101 0xc3 0x10
-##   trbcmd clearbit 0x1030 0xc0 0x03
-##   trbcmd clearbit 0x1030 0xc1 0x03
-##   trbcmd clearbit 0x1030 0xc3 0x03
-##   trbcmd clearbit 0x1040 0xc0 0x03
-##   trbcmd clearbit 0x1040 0xc1 0x03
-##   trbcmd clearbit 0x1040 0xc3 0x03
-## !endif
-## 
-## !ifdef MDC234_p1s25
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##   
-##   trbcmd clearbit 0x1000 0xc0 0x03
-##   trbcmd clearbit 0x1000 0xc1 0x03
-##   trbcmd clearbit 0x1000 0xc3 0x03
-##   trbcmd clearbit 0x1020 0xc0 0x03
-##   trbcmd clearbit 0x1020 0xc1 0x03
-##   trbcmd clearbit 0x1020 0xc3 0x03
-##   trbcmd clearbit 0x1030 0xc0 0x03
-##   trbcmd clearbit 0x1030 0xc1 0x03
-##   trbcmd clearbit 0x1030 0xc3 0x03     
-##   trbcmd clearbit 0x1040 0xc0 0x03
-##   trbcmd clearbit 0x1040 0xc1 0x03
-##   trbcmd clearbit 0x1040 0xc3 0x03
-## !endif
-## 
-## !ifdef MDC234_p1s1245
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##     
-## #  trbcmd clearbit 0x1000 0xc0 0x03
-## #  trbcmd clearbit 0x1000 0xc1 0x03
-## #  trbcmd clearbit 0x1000 0xc3 0x03
-## 
-##   trbcmd clearbit 0x1020 0xc0 0x03
-##   trbcmd clearbit 0x1020 0xc1 0x03
-##   trbcmd clearbit 0x1020 0xc3 0x03
-##    
-##   trbcmd clearbit 0x1040 0xc0 0x03
-##   trbcmd clearbit 0x1040 0xc1 0x03
-##   trbcmd clearbit 0x1040 0xc3 0x03
-## !endif
-#
-## 
-## !ifdef MDC234_p1s1245_p34s2
-##   trbcmd setbit 0x8001 0xc0 0x0018
-##   trbcmd setbit 0x8001 0xc1 0x0018
-##   trbcmd setbit 0x8001 0xc3 0x0018
-##     
-##   trbcmd clearbit 0x8111 0xc0 0x04
-##   trbcmd clearbit 0x8111 0xc1 0x04
-##   trbcmd clearbit 0x8111 0xc3 0x04
-## 
-##   trbcmd clearbit 0x1020 0xc0 0x03
-##   trbcmd clearbit 0x1020 0xc1 0x03
-##   trbcmd clearbit 0x1020 0xc3 0x03
-##    
-##   trbcmd clearbit 0x1040 0xc0 0x03
-##   trbcmd clearbit 0x1040 0xc1 0x03
-##   trbcmd clearbit 0x1040 0xc3 0x03
-## !endif
-#
-#
-#!ifdef MDC
-#  trbcmd setbit 0x8000 0xc0 0x00c0
-#  trbcmd setbit 0x8000 0xc1 0x00c0
-#  trbcmd setbit 0x8000 0xc3 0x00c0
+!ifndef RICH
+  trbcmd clearbit 0x8000 0xc0 0x0110
+  trbcmd clearbit 0x8000 0xc1 0x0110
+  trbcmd clearbit 0x8000 0xc3 0x0110
+!endif
+
+
+!ifndef TOF
+  trbcmd clearbit 0x8012 0xc0 0x0002
+  trbcmd clearbit 0x8012 0xc1 0x0002
+  trbcmd clearbit 0x8012 0xc3 0x0002
+!endif
+
+
+!ifndef RPC
+  trbcmd clearbit 0x8012 0xc0 0x000c
+  trbcmd clearbit 0x8012 0xc1 0x000c
+  trbcmd clearbit 0x8012 0xc3 0x000c
+!endif
+
+
+!ifndef WALL
+  trbcmd clearbit 0x8012 0xc0 0x0001
+  trbcmd clearbit 0x8012 0xc1 0x0001
+  trbcmd clearbit 0x8012 0xc3 0x0001
+!endif
+
+
+#!ifdef MDC12
+# trbcmd clearbit 0x8000 0xc0 0x0020
+# trbcmd clearbit 0x8000 0xc1 0x0020
+# trbcmd clearbit 0x8000 0xc3 0x0020
 #!endif
-#
-#!ifdef STARTCTS
-#  trbcmd setbit 0x8002 0xc0 0x0004
-#  trbcmd setbit 0x8002 0xc1 0x0004
-#  trbcmd setbit 0x8002 0xc3 0x0004
+#!ifdef MDC34
+# trbcmd clearbit 0x8000 0xc0 0x0040
+# trbcmd clearbit 0x8000 0xc1 0x0040
+# trbcmd clearbit 0x8000 0xc3 0x0040
 #!endif
-#
+
+!ifndef MDC
+  trbcmd clearbit 0x8000 0xc0 0x0060
+  trbcmd clearbit 0x8000 0xc1 0x0060
+  trbcmd clearbit 0x8000 0xc3 0x0060
+!endif
+
+!ifndef ECAL
+  trbcmd clearbit 0x8000 0xc0 0x0008
+  trbcmd clearbit 0x8000 0xc1 0x0008
+  trbcmd clearbit 0x8000 0xc3 0x0008
+!endif
+
+
 
 #Remove both SCS from Trigger Distribution
 trbcmd clearbit 0x8000 0xc0 0x200 #remove pexor from trigger
index 88af11d72c26d6ea87f3ba566e67a3ad3df21e93..b4222c12d91fe2f8ad08cee5130a9ccf8303ab4a 100644 (file)
@@ -24,6 +24,6 @@
 0x4850        091        1          7        091
 0x4851        080        1          7        080
 0x4852        078        1          7        078
-0x4853        122        1          7        122
+0x4853        034        1          7        034
 
 
index 57034a3f1dd09dfb46ffaacd2dcf2f9d96c86ecd..4cf73e3c8914ee7af820f1be72237892895645e9 100644 (file)
@@ -27,3 +27,4 @@
   075    0x6f000001fc5df628
   061    0xf500000123f59c28
   110    0x90000001c1712728
+  034    0xd7000001241ee528
index 798d016c752bee643b30ab71b77d88e017d26aba..3a397d5d97d70c57de0586ecb32a08834bbb8562 100644 (file)
@@ -15,7 +15,7 @@ rpc etraxp091
 rpc etraxp080
 rpc etraxp078
 #rpc etraxp076
-rpc etraxp122
+rpc etraxp034
 rpc etraxp054
 rpc etraxp053
 rpc etraxp052