Skip to content

Commit f9aac5d

Browse files
committed
add both run1/run2 daq labels
1 parent c498083 commit f9aac5d

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

sbndcode/Trigger/PMTSoftware/MetricAnalyzer_module.cc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,14 @@ sbndaq::MetricAnalyzer::MetricAnalyzer(fhicl::ParameterSet const& p)
6969
// More initializers here.
7070
{
7171
fmetric_module_labels = p.get<std::vector<std::string>>("metric_module_labels",{"pmtmetricproducer",
72+
"pmtmetricbnbzero",
73+
"pmtmetricbnblight",
74+
"pmtmetricoffbeamzero",
75+
"pmtmetricoffbeamlight",
76+
"pmtmetriccrossingmuon",
7277
"pmtmetricbnb",
73-
"pmtmetricoffbeam",
74-
"pmtmetriccrossingmuon"});
75-
fstream_labels = p.get<std::vector<int>>("stream_labels",{0,1,2,3});
78+
"pmtmetricoffbeam"});
79+
fstream_labels = p.get<std::vector<int>>("stream_labels",{0,1,2,3,4,5,6,7});
7680
fmetric_instance_name = p.get<std::string>("metric_instance_name","");
7781
fspectdc_module_label = p.get<std::string>("spectdc_module_name","tdcdecoder");
7882
fspectdc_etrig_ch = p.get<uint32_t>("spectdc_etrig_ch",4);

sbndcode/Trigger/PMTSoftware/fcls/metricfilter.fcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ metricfilter_sbnd:
44
{
55
module_type: "MetricFilter"
66
metric_module_labels: ["pmtmetricproducer",
7+
"pmtmetricbnbzero",
8+
"pmtmetricbnblight",
9+
"pmtmetricoffbeamzero",
10+
"pmtmetricoffbeamlight",
11+
"pmtmetriccrossingmuon",
712
"pmtmetricbnb",
8-
"pmtmetricoffbeam",
9-
"pmtmetriccrossingmuon"]
13+
"pmtmetricoffbeam"]
1014
time_max: 3
1115
pe_thresh: 30
1216
}

0 commit comments

Comments
 (0)