Skip to content

Commit 66ffe59

Browse files
authored
Merge pull request #167 from art-daq/eflumerf/SubrunTransitionIssues
Modift the mu2e_sample_system to reflect the software event building …
2 parents 3221595 + d1d3951 commit 66ffe59

File tree

8 files changed

+35
-75
lines changed

8 files changed

+35
-75
lines changed

simple_test_config/mu2e_sample_system/DataLogger1.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ source: {
4444
outputs: {
4545
normalOutput: {
4646
module_type: RootDAQOut
47-
fileName: "/tmp/trkcal_r%06r_sr%02s_%to_%#.root"
47+
fileName: "/tmp/trkcal_r%06r_sr%02s_%#.root"
4848
fileProperties: { maxSubRuns: 1 maxRuns: 1 }
4949
fastCloning: false
5050
compressionLevel: 501 # ZSTD

simple_test_config/mu2e_sample_system/EventBuilder1.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ daq: {
1010
verbose: true
1111
init_fragment_count: 2
1212
send_requests: false
13+
art_analyzer_count: 2
1314

1415
routing_token_config: {
1516
use_routing_manager: false

simple_test_config/mu2e_sample_system/EventFilter1.fcl

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ daq: {
1010
verbose: true
1111
init_fragment_count: 0
1212
send_requests: false
13+
art_analyzer_count: 5
1314

1415
routing_token_config: {
1516
## True if using the Routing Manager
16-
use_routing_manager: true
17-
18-
## Port to send tokens on
19-
routing_token_port: 35555 # default
20-
21-
## Hostname or IP of RoutingManager
22-
routing_manager_hostname: "localhost" # default
17+
use_routing_manager: false
2318
}
2419

2520
sources: { }
@@ -43,7 +38,7 @@ services: {
4338
outputs: {
4439
subsystemOutput: {
4540
module_type: RootNetOutput
46-
#SelectEvents: [ delay ]
41+
SelectEvents: [ delay ]
4742
#broadcast_sends: true
4843
destinations: { }
4944

@@ -86,6 +81,9 @@ physics: {
8681
}
8782

8883
producers: {
84+
demoProd: {
85+
module_type: DemoDataProducer
86+
}
8987
}
9088

9189
filters: {
@@ -102,8 +100,9 @@ physics: {
102100
}
103101
}
104102

105-
#delay: [ randomDelay ]
103+
delay: [ randomDelay ]
106104
a1: [ toy1Integ, toy2Integ ]
105+
p1: [ demoProd ]
107106
my_output_modules: [ lumiOutput, subsystemOutput ]
108107
#my_output_modules: [ normalOutput ]
109108
}

simple_test_config/mu2e_sample_system/EventFilter2.fcl

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ daq: {
1010
verbose: true
1111
init_fragment_count: 0
1212
send_requests: false
13+
art_analyzer_count: 5
1314

1415
routing_token_config: {
1516
## True if using the Routing Manager
16-
use_routing_manager: true
17-
18-
## Port to send tokens on
19-
routing_token_port: 35555 # default
20-
21-
## Hostname or IP of RoutingManager
22-
routing_manager_hostname: "localhost" # default
17+
use_routing_manager: false
2318
}
2419

2520
sources: { }
@@ -43,7 +38,7 @@ services: {
4338
outputs: {
4439
subsystemOutput: {
4540
module_type: RootNetOutput
46-
#SelectEvents: [ delay ]
41+
SelectEvents: [ delay ]
4742
#broadcast_sends: true
4843
destinations: { }
4944

@@ -86,6 +81,9 @@ physics: {
8681
}
8782

8883
producers: {
84+
demoProd: {
85+
module_type: DemoDataProducer
86+
}
8987
}
9088

9189
filters: {
@@ -102,8 +100,9 @@ physics: {
102100
}
103101
}
104102

105-
#delay: [ randomDelay ]
103+
delay: [ randomDelay ]
106104
a1: [ toy1Integ, toy2Integ ]
105+
p1: [ demoProd ]
107106
my_output_modules: [ lumiOutput, subsystemOutput ]
108107
#my_output_modules: [ normalOutput ]
109108
}

simple_test_config/mu2e_sample_system/LumiLogger.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ source: {
4444
outputs: {
4545
normalOutput: {
4646
module_type: RootDAQOut
47-
fileName: "/tmp/lumi_r%06r_sr%02s_%to_%#.root"
47+
fileName: "/tmp/lumi_r%06r_sr%02s_%#.root"
4848
fileProperties: { maxSubRuns: 1 maxRuns: 1 }
4949
fastCloning: false
5050
compressionLevel: 3

simple_test_config/mu2e_sample_system/boot.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ Dispatcher host: localhost
3838
Dispatcher label: Dispatcher1
3939
Dispatcher subsystem: 2
4040

41-
RoutingManager host: localhost
42-
RoutingManager label: RoutingManager1
43-
RoutingManager subsystem: 1
41+
# RoutingManager host: localhost
42+
# RoutingManager label: RoutingManager1
43+
# RoutingManager subsystem: 1

simple_test_config/mu2e_sample_system/component_trkcal01.fcl

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -62,36 +62,17 @@ max_fragment_size_bytes: 1024
6262
throttle_usecs: 0
6363
usecs_between_sends: 10000
6464
distribution_type: 2
65-
timestamp_scale_factor: 2
66-
sequence_scale_factor: 2
67-
skip_seqID_test: true
65+
timestamp_scale_factor: 1
66+
sequence_scale_factor: 1
67+
skip_seqID_test: false
68+
rollover_subrun_interval: 100
69+
6870

6971
destinations: { }
7072

7173
routing_table_config: {
7274
## True if using the Routing Manager
73-
use_routing_manager: true
74-
75-
route_on_request_mode: true
76-
77-
## Port that table updates should arrive on
78-
table_update_port: 35556 # default
79-
80-
## Address that table updates should arrive on
81-
table_update_address: "227.128.12.28" # default
82-
83-
## Port that acknowledgements should be sent to
84-
table_acknowledge_port: 35557 # default
85-
86-
## Host that acknowledgements should be sent to
87-
routing_manager_hostname: "localhost" # default
88-
table_update_multicast_interface: "0.0.0.0"
89-
90-
## Time to wait (in ms) for a routing table update if the table is exhausted
91-
routing_timeout_ms: 1000 # default
92-
93-
## Number of times to retry getting destination from routing table
94-
routing_retry_count: 5 # default
75+
use_routing_manager: false
9576
}
9677
}
9778

simple_test_config/mu2e_sample_system/component_trkcal02.fcl

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -53,45 +53,25 @@
5353

5454
generator: ToySimulator
5555
fragment_type: TOY1
56-
fragment_id: 0
57-
starting_fragment_id: 0
56+
fragment_id: 1
57+
starting_fragment_id: 1
5858
random_seed: 2899
5959
sleep_on_stop_us: 500000
6060
nADCcounts: 40
6161
max_fragment_size_bytes: 1024
6262
throttle_usecs: 0
6363
usecs_between_sends: 10000
6464
distribution_type: 2
65-
timestamp_scale_factor: 2
66-
sequence_scale_factor: 2
67-
skip_seqID_test: true
68-
initial_sequence_id: 2
65+
timestamp_scale_factor: 1
66+
sequence_scale_factor: 1
67+
skip_seqID_test: false
68+
initial_sequence_id: 1
6969

7070
destinations: { }
7171

7272
routing_table_config: {
7373
## True if using the Routing Manager
74-
use_routing_manager: true
75-
route_on_request_mode: true
76-
77-
## Port that table updates should arrive on
78-
table_update_port: 35556 # default
79-
80-
## Address that table updates should arrive on
81-
table_update_address: "227.128.12.28" # default
82-
83-
## Port that acknowledgements should be sent to
84-
table_acknowledge_port: 35557 # default
85-
86-
## Host that acknowledgements should be sent to
87-
routing_manager_hostname: "localhost" # default
88-
table_update_multicast_interface: "0.0.0.0"
89-
90-
## Time to wait (in ms) for a routing table update if the table is exhausted
91-
routing_timeout_ms: 1000 # default
92-
93-
## Number of times to retry getting destination from routing table
94-
routing_retry_count: 5 # default
74+
use_routing_manager: false
9575
}
9676
}
9777

0 commit comments

Comments
 (0)