Skip to content

Commit 6d53206

Browse files
committed
rename producers to be consistent with daq config, add instance name to differentiate between online/offline
1 parent 7dfe7ce commit 6d53206

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
BEGIN_PROLOG
2-
2+
# config are identical to the DAQ version EXCEPT for the instance label!
33
pmtmetricproducer: {
44
module_type: "PMTMetricProducer"
55
is_persistable: true
66
IncludeExtensions: true
77
Verbose: 1
88
StreamType: 1
9+
MetricInstanceLabel: "offline"
910
}
1011
END_PROLOG

sbndcode/Trigger/PMTSoftware/fcls/run_bnb.fcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ physics:
2222
{
2323

2424
producers:{
25-
pmtmetricproducer : @local::pmtmetricproducer
25+
pmtmetricbnb : @local::pmtmetricproducer
2626
}
2727

2828
filters:{
@@ -31,7 +31,7 @@ physics:
3131
analyzers:{
3232
}
3333

34-
reco: [pmtmetricproducer]
34+
reco: [pmtmetricbnb]
3535

3636
#define the output stream, there could be more than one if using filters
3737
stream1: [ out ]
@@ -43,4 +43,4 @@ physics:
4343
end_paths: [ stream1]
4444
}
4545

46-
physics.producers.pmtmetricproducer.StreamType: 2
46+
physics.producers.pmtmetricbnb.StreamType: 2

sbndcode/Trigger/PMTSoftware/fcls/run_offbeam.fcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ physics:
2222
{
2323

2424
producers:{
25-
pmtmetricproducer : @local::pmtmetricproducer
25+
pmtmetricoffbeam : @local::pmtmetricproducer
2626
}
2727

2828
filters:{
@@ -31,7 +31,7 @@ physics:
3131
analyzers:{
3232
}
3333

34-
reco: [pmtmetricproducer]
34+
reco: [pmtmetricoffbeam]
3535

3636
#define the output stream, there could be more than one if using filters
3737
stream1: [ out ]
@@ -43,4 +43,4 @@ physics:
4343
end_paths: [ stream1]
4444
}
4545

46-
physics.producers.pmtmetricproducer.StreamType: 4
46+
physics.producers.pmtmetricoffbeam.StreamType: 4

0 commit comments

Comments
 (0)