1 #include "services_dune.fcl"
2 #include "RawDecoder.fcl"
7 RandomNumberGenerator: {}
9 @table::protodune_rawdecoding_services
12 closeFileFast: true # default
13 fileName: "%ifb_rawanal_tfile.root"
14 tmpDir: "<parent-path-of-filename>"
21 ssprawdecoder: @local::ssp_raw_decoder_split
22 timingrawdecoder: @local::timing_raw_decoder
23 ctbrawdecoder: @local::ctb_raw_decoder
29 module_type: "PDWaveform" #SSPRawDecoder" #PDWaveform"
30 SSPInputModule: "ssprawdecoder"
31 SSPInstanceName: "external"
32 SSP_m1: 10 #samples used to calculate peak height
33 SSP_m2: 10 #samples used to calculate integral
34 SSP_i1: 40 #samples used to calculate pedestal
35 SSP_i2: 1200 #samples used to calculate peak height
37 SSP_readout_pretrigger: 50 #internal pretrigger tick wait
38 SSP_Corr_Chan_1: 0 #correlation channel 1
39 SSP_Corr_Chan_2: 1 #correlation channel 2
43 PDwaveform_fft: 0 #only really usefule for underbiased, so allow turn off
45 SSP_peak: 1 #Peak finding for integrator setting, 0 means no integration, 1 means loose finding (takes multipeak forms), 2 means strict (peaks must be by themselves and have clear baselines)
46 SSP_smoothing: 0 #Basic 353 waveform smoothing (Root standard for 1D histos, 0 means no smoothing)
47 SSP_rare_num: 3.0 #number of standard deviations from base peaks must be to be found
48 SSP_peak_sense: 0.5 #(0-1), sets how sensitive peak finder is to finding peaks
49 SSP_nump: 100 #Max number of peaks allowed for waveform
50 SSP_disc_width: 10 #discrimination window width
51 SSP_calib_win: 250 #calibration integration window length for internal triggers
55 SelectEvents: [ produce ]
61 produce: [ timingrawdecoder, ctbrawdecoder, ssprawdecoder ]
62 #produce: [ timingrawdecoder, ssprawdecoder ]
63 analyze: [ sspanaext ]
65 trigger_paths : [ produce ]
66 #end_paths: [ output, analyze ]
74 module_type: RootOutput
75 fileName: "%ifb_rawanal.root"
81 module_type: RootInput
82 fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
86 process_name: RunRawDecoder