protoDUNE_optical_reco_pdsnoisefilter.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "RawDecoder.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "opticaldetectorservices_dune.fcl"
5 #include "PDSNoiseFilter.fcl"
6 
7 
8 process_name: OpDetReco
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "%ifb_filtered_opreco_hist.root" }
14  TimeTracker: {}
15  @table::protodune_rawdecoding_services
16  @table::protodune_data_reco_services
17  message: @local::standard_info
18 }
19 
20 
21 source:
22 {
23  module_type: RootInput
24  maxEvents : 1000
25 }
26 
27 
28 outputs:
29 {
30  out1:
31  {
32  module_type: RootOutput
33  fileName: "%ifb_filtered_opreco.root"
34 
35  # Drop the raw data and just keep the decoded and reconstructed data
36  outputCommands: [ "keep *", "drop artdaq::Fragments_*_*_*" ]
37  }
38 }
39 
40 physics:
41 {
42 
43  producers:
44  {
45  # photon detector reconstruction
46  ssprawdecoder: @local::ssp_raw_decoder_split
47  pdsnoisefilter: @local::pds_noise_filter_split
48  ophitInternal: @local::protodune_ophit_data_internal
49  ophitExternal: @local::protodune_ophit_data_external
50  opflashInternal: @local::protodune_opflash_data_internal
51  opflashExternal: @local::protodune_opflash_data_external
52  rns: { module_type: "RandomNumberSaver" }
53  }
54 
55  analyzers:
56  {
57  opflashanaInternal: @local::standard_opflashana
58  opflashanaExternal: @local::standard_opflashana
59  }
60  produceIt: [ssprawdecoder, pdsnoisefilter, ophitInternal, ophitExternal, opflashInternal, opflashExternal]
61  analyzeIt: [opflashanaInternal, opflashanaExternal]
62 
63 
64  #define the output stream, there could be more than one if using filters
65  stream1: [ out1 ]
66 
67  #trigger_paths is a keyword and contains the paths that modify the art::event,
68  #ie filters and producers
69  trigger_paths: [produceIt]
70 
71  #end_paths is a keyword and contains the paths that do not modify the art::Event,
72  #ie analyzers and output streams. these all run simultaneously
73  end_paths: [analyzeIt, stream1]
74 }
75 
76 physics.producers.ophitInternal.InputModule: "pdsnoisefilter"
77 physics.producers.ophitExternal.InputModule: "pdsnoisefilter"
78 
79 physics.analyzers.opflashanaInternal.OpHitModuleLabel: "ophitInternal"
80 physics.analyzers.opflashanaInternal.OpFlashModuleLabel: "opflashInternal"
81 physics.analyzers.opflashanaExternal.OpHitModuleLabel: "ophitExternal"
82 physics.analyzers.opflashanaExternal.OpFlashModuleLabel: "opflashExternal"
83 
84