Skip to content

Commit 11c5740

Browse files
authored
Merge pull request #457 from SBNSoftware/feature/bearc_pmttrigger
update trigger to use 14.7k baseline
2 parents c78dc10 + 7403aac commit 11c5740

6 files changed

Lines changed: 8 additions & 13 deletions

sbndcode/Trigger/PMT/pmtArtdaqFragmentProducer.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pmtArtdaqFragmentProducer:
55
module_type: "pmtArtdaqFragmentProducer"
66
InputModuleNameWvfm: "opdaq"
77
InputModuleNameTrigger: "pmttriggerproducer"
8-
Baseline: 8000
8+
Baseline: 14745 # new baseline
99
MultiplicityThreshold: 10
1010
BeamWindowLength: 1.8 # us, extended by 0.2us to account for delayed signals
1111
nChannelsFrag: 15

sbndcode/Trigger/PMT/pmtsoftwaretriggerproducer.fcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ pmtSoftwareTriggerProducer:
1717
FindPulses: false # if true, will use crude pulse finding algorithm
1818

1919
# metric input parameters
20-
InputBaseline: [8000.0, 2.0] # in ADC, used if CalculateBaseline is FALSE // first entry is baseline, second entry is baseline error
21-
ADCThreshold: 7960 # in ADC, corresponds to ~5 PE in ideal response, used for CountPMTs (above threshold)
20+
InputBaseline: [14745, 2.0] # in ADC, used if CalculateBaseline is FALSE // first entry is baseline, second entry is baseline error
21+
ADCThreshold: 14705 # in ADC, corresponds to ~5 PE in ideal response, used for CountPMTs (above threshold) **not tuned**
2222
PEArea: 66.33 # conversion factor from ADCxns area to PE count **not tuned**
2323
}
2424

sbndcode/Trigger/PMT/pmttriggerproducer.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pmtTriggerProducer:
99
ClusterModuleLabel: "linecluster"
1010
OpDetsToPlot: ["pmt_coated", "pmt_uncoated"]
1111
IndividualThresholds: false #if true, Threshold needs to be a 120 element array of each individual PMT ADC threshold in order of lowest to highest channel number
12-
Threshold: [7960.0, 7976.0] #[coated, uncoated], unless IndividualThresholds is true
12+
Threshold: [14705.0, 14721.0] # [coated, uncoated], unless IndividualThresholds is true *not tuned*
1313
#ADC, ideal single PE response: 1 PE ~ 8 ADC, test bench: 1 PE ~ 25 ADC
1414
OVTHRWidth: 11 #over-threshold width, page 40 of manual
1515
#paired and unpaired pmt channel numbers, to pair two channels put them at the same index in Pair1 and Pair2

sbndcode/Trigger/PMT/run_pmtArtdaqFragmentProducer.fcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,3 @@ physics:
4848
end_paths: [ stream1 ]
4949

5050
}
51-
52-
physics.producers.fragmentProducer.MultiplicityThreshold: 10
53-
physics.producers.fragmentProducer.BeamWindowLength: 1.8

sbndcode/Trigger/PMT/run_pmtsoftwaretriggerproducer.fcl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "resourcemonitorservices_sbnd.fcl"
2-
2+
#include "rootoutput_sbnd.fcl"
33
#include "pmtsoftwaretriggerproducer.fcl"
44

55
process_name: pmtSoftwareTriggerProducer
@@ -22,8 +22,8 @@ outputs:
2222
{
2323
out1:
2424
{
25-
module_type: RootOutput
26-
fileName: "test.root" #default file name, can override from command line with -o or --output
25+
@table::sbnd_rootoutput
26+
#fileName: "test.root" #default file name, can override from command line with -o or --output
2727
fastCloning: true
2828
}
2929
}
@@ -45,5 +45,3 @@ physics:
4545
end_paths: [ stream1]
4646

4747
}
48-
49-
physics.producers.pmtSoftwareTrigger.BeamWindowLength: 1.8

sbndcode/Trigger/PMT/run_pmttriggerproducer.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ physics:
111111
### Some potential overwrites below
112112

113113
#physics.producers.pmttriggerproducer.SaveHists: true
114-
physics.producers.pmttriggerproducer.Verbose: true
114+
#physics.producers.pmttriggerproducer.Verbose: true
115115

116116
#physics.producers.pmttriggerproducer.PairLogic: "AND"
117117

0 commit comments

Comments
 (0)