]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
status, mt
authorhadaq@countinghouse <hadaq@CountingHouse>
Thu, 28 Aug 2014 15:25:52 +0000 (17:25 +0200)
committerhadaq@countinghouse <hadaq@CountingHouse>
Thu, 28 Aug 2014 15:25:52 +0000 (17:25 +0200)
oracle/daq2stdout.pl

index 04925d4bdf2791f4c944170da178183e7eabc090..888fae010e7c32eacf1e846a93923e44ef5e88fd 100755 (executable)
@@ -103,10 +103,12 @@ sub readDB()
 
     #- Read serials_db
     &readSerialsDB("../start/serials_start.db", "StartVeto");
+    &readSerialsDB("../start/serials_start_trb3.db", "StartTrb3");
     &readSerialsDB("../hub/serials_hub.db", "Hub-All");
     &readSerialsDB("../cts/serials_cts.db", "CTS");
     &readSerialsDB("../mdc/serials_mdcaddon.db", "MDC-AddOn");
     &readSerialsDB("../mdc/serials_oep.db", "MDC-OEP");
+    &readSerialsDB("../pion/serials_pion.db", "Pion");
     &readSerialsDB("../rich/serials_rich.db", "RICH-ADCM");
     &readSerialsDB("../rpc/serials_rpc.db", "RPC");
     &readSerialsDB("../shower/serials_shower.db", "Shw-AddOn");
@@ -115,10 +117,12 @@ sub readDB()
 
     #- Read addresses_db
     &readAddressesDB("../start/addresses_start.db", "StartVeto");
+    &readAddressesDB("../start/addresses_start_trb3.db", "StartTrb3");
     &readAddressesDB("../hub/addresses_hub.db","Hub-All");
     &readAddressesDB("../cts/addresses_cts.db", "CTS");
     &readAddressesDB("../mdc/addresses_mdcaddon.db", "MDC-AddOn");
     &readAddressesDB("../mdc/addresses_oep.db", "MDC-OEP");
+    &readAddressesDB("../pion/addresses_pion.db", "Pion");
     &readAddressesDB("../rich/addresses_rich.db", "RICH-ADCM");
     &readAddressesDB("../rpc/addresses_rpc.db", "RPC");
     &readAddressesDB("../shower/addresses_shower.db", "Shw-AddOn");
@@ -268,6 +272,7 @@ sub readAddressesDB()
        foreach my $serial ( sort keys %{$conf_db_href->{'addresses'}->{$type}} ){
            my $addr = $conf_db_href->{'addresses'}->{$type}->{$serial}->{'addr'};
 
+           
            #- Check if this 'type' is defined
            unless( defined $addr_ranges_href->{$type} ){
                print "ERROR: readAddressesDB(): Unknown type $type for the file $file2read. Exit.\n";