7 # Pedestal estimation alogrithms
9 sbnd_opreco_pedestal_edges: @local::standard_algo_pedestal_edges
10 sbnd_opreco_pedestal_edges.NumSampleFront: 3
11 sbnd_opreco_pedestal_edges.NumSampleTail: 3
12 sbnd_opreco_pedestal_edges.NumSampleMethod: 2
14 sbnd_opreco_pedestal_rollingmean: @local::standard_algo_pedestal_rollingmean
15 sbnd_opreco_pedestal_rollingmean.SampleSize: 20
16 sbnd_opreco_pedestal_rollingmean.Threshold: 2
17 sbnd_opreco_pedestal_rollingmean.MaxSigma: 1.5
18 sbnd_opreco_pedestal_rollingmean.PedRangeMax: 8010
19 sbnd_opreco_pedestal_rollingmean.PedRangeMin: 0
21 sbnd_opreco_pedestal_rmsslider: @local::standard_algo_pedestal_ub
22 sbnd_opreco_pedestal_rmsslider.BeamGateSamples: 1
23 sbnd_opreco_pedestal_rmsslider.SampleSize: 20
24 sbnd_opreco_pedestal_rmsslider.Threshold: 1.7
25 sbnd_opreco_pedestal_rmsslider.Verbose:
false
26 sbnd_opreco_pedestal_rmsslider.NWaveformsToFile: 10
27 sbnd_opreco_pedestal_rmsslider.MaxSigma: 1.7
28 sbnd_opreco_pedestal_rmsslider.PedRangeMax: 8004
29 sbnd_opreco_pedestal_rmsslider.PedRangeMin: 7994
30 sbnd_opreco_pedestal_rmsslider.NumPreSample: 10
31 sbnd_opreco_pedestal_rmsslider.NumPostSample: 20
37 sbnd_opreco_hit_threshold: @local::standard_algo_threshold
38 sbnd_opreco_hit_threshold.StartADCThreshold : 5
39 sbnd_opreco_hit_threshold.EndADCThreshold : 2
40 sbnd_opreco_hit_threshold.NSigmaThresholdStart : 5
41 sbnd_opreco_hit_threshold.NSigmaThresholdEnd : 3
43 sbnd_opreco_hit_fixedwindow: @local::standard_algo_fixedwindow
44 sbnd_opreco_hit_fixedwindow.StartIndex: 0
45 sbnd_opreco_hit_fixedwindow.EndIndex: 20
47 sbnd_opreco_hit_slidingwindow: @local::standard_algo_slidingwindow
48 sbnd_opreco_hit_slidingwindow.PositivePolarity:
false
49 sbnd_opreco_hit_slidingwindow.NumPreSample: 5
50 sbnd_opreco_hit_slidingwindow.NumPostSample: 10
51 sbnd_opreco_hit_slidingwindow.ADCThreshold: 7 # ADC threshold (absolute) above pedestal
mean to fire
a pulse
52 sbnd_opreco_hit_slidingwindow.NSigmaThreshold: 3
# ADC threshold (N*pedestal sigma) above pedestal mean to fire a pulse
53 sbnd_opreco_hit_slidingwindow.TailADCThreshold: 2 # ADC threshold (absolute) below which next pulse is allowed to fire
54 sbnd_opreco_hit_slidingwindow.TailNSigmaThreshold: 2
# ADC threshold (N*pedestal sigma) below which next pulse is allowed to fire
55 sbnd_opreco_hit_slidingwindow.EndADCThreshold: 1 # ADC threshold (absolute) at which
the pulse ends
56 sbnd_opreco_hit_slidingwindow.EndNSigmaThreshold: 1
# ADC threshold (N*pedetal sigma) at which the pulse ends
57 sbnd_opreco_hit_slidingwindow.MinPulseWidth: 2 # The width of
a pulse needs to be
equal or larger than
this to be recorded
58 sbnd_opreco_hit_slidingwindow.Verbosity:
false
60 sbnd_opreco_hit_cfd: @local::standard_algo_cfd
61 sbnd_opreco_hit_cfd.Fraction: 0.9
62 sbnd_opreco_hit_cfd.Delay: 2
63 sbnd_opreco_hit_cfd.PeakThresh: 7.5
64 sbnd_opreco_hit_cfd.StartThresh: 5.0
65 sbnd_opreco_hit_cfd.EndThresh: 1.5
70 sbnd_opreco_risetimecalculator: @local::RiseTimeThreshold
71 sbnd_opreco_risetimecalculator.PeakRatio: 0.15
bool equal(double a, double b)
Comparison tolerance, in centimeters.
double mean(const std::vector< short > &wf, size_t start, size_t nsample)