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