RunSSPWaveforms.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "RawDecoder.fcl"
3 
4 services: {
5 
6  TimeTracker: {}
7  RandomNumberGenerator: {}
8 
9  @table::protodune_rawdecoding_services
10 
11  TFileService: {
12  closeFileFast: true # default
13  fileName: "RunRawDecoderTFile.root"
14  tmpDir: "<parent-path-of-filename>"
15  }
16 }
17 
18 physics: {
19 
20  producers: {
21  ssprawdecoder: @local::ssp_raw_decoder
22  timingrawdecoder: @local::timing_raw_decoder
23  ctbrawdecoder: @local::ctb_raw_decoder
24  }
25 
26  analyzers: {
27 
28  sspmonitor: {
29  module_type: "PDWaveform" #SSPRawDecoder" #PDWaveform"
30  SSPInputModule: "ssprawdecoder"
31  SSPInstanceName: "daq"
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
36  SSP_disc_width: 10 #discrimination window width
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
40  SSP_calib_int_win: 15 #calibration integration window length for internal triggers
41  SSP_calib_ext_win: 15 #calibration integration window length for external triggers
42  SSP_wfm_verbose: 0
43  PDwaveform_fft: 0 #only really usefule for underbiased, so allow turn off
44 
45  SelectEvents: [ produce ]
46  }
47 
48  }
49 
50  produce: [ timingrawdecoder, ctbrawdecoder, ssprawdecoder ]
51  analyze: [ sspmonitor ]
52  output: [ out1 ]
53  trigger_paths : [ produce ]
54  #end_paths: [ output, analyze ]
55  end_paths:[analyze]
56 }
57 
58 outputs: {
59 
60  out1: {
61  compressionLevel: 1
62  module_type: RootOutput
63  fileName: "SSPRawDecoderOutput.root"
64  }
65 
66 }
67 
68 source: {
69  module_type: RootInput
70  fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
71  maxEvents : -1
72 }
73 
74 process_name: RunRawDecoder