opdet_reco_xedoped_dune10kt_1x2x6_legacy.fcl
Go to the documentation of this file.
1 # opdet_reco_xedoped_dune10kt_1x2x6
2 
3 # Alex Himmel
4 # January 2020
5 #
6 # Job fhicl for running reco Ar, Xe and both
7 
8 #include "services_refactored_pdune.fcl"
9 #include "opticaldetectormodules_dune.fcl"
10 #include "tools_dune.fcl"
11 
12 process_name: Reco
13 
14 services:
15 {
16  # Load the service that manages root files for histograms.
17  TFileService: { fileName: "%ifb_reco_hist.root" }
18  MemoryTracker: {}
19  TimeTracker: {}
20  RandomNumberGenerator: {} #ART native random number generator
21  message: @local::dune_message_services_prod
22  FileCatalogMetadata: @local::art_file_catalog_mc
23  @table::dunefd_refactored_reco_services
24 }
25 
26 ### Use the 1x2x6 geometry ###
27 services.Geometry: @local::dune10kt_1x2x6_geo
28 
29 #source is now a root file
30 source:
31 {
32  module_type: RootInput
33  maxEvents: -1 # Number of events to create
34  saveMemoryObjectThreshold: 0
35  inputCommands: ["keep *_*_*_*", "drop *_*_*_Reco" ]
36 }
37 
38 # Define and configure some modules to do work on each event.
39 # First modules are defined; they are scheduled later.
40 # Modules are grouped by type.
41 physics:
42 {
43 
44  producers:
45  {
46  # random number saver
47  rns: { module_type: RandomNumberSaver }
48 
49  # TPC reconstruction
50  # convert raw::RawDigit to recob::wire
51  #wclsdatanfsp: @local::dune10kt_1x2x6_data_nfsp
52  # Hit finder
53  #gaushit: @local::protodunespmc_gaushitfinder
54 
55  # PDS reconstruction
56  ophitArOnly: @local::dunefd_ophit
57  ophitXeOnly: @local::dunefd_ophit
58  ophit10ppm: @local::dunefd_ophit
59  opflashArOnly: @local::dunefd_opflash
60  opflashXeOnly: @local::dunefd_opflash
61  opflash10ppm: @local::dunefd_opflash
62  }
63 
64  reco: [ rns, ophitArOnly, ophitXeOnly, ophit10ppm, opflashArOnly, opflashXeOnly, opflash10ppm ]
65 
66  #define the output stream, there could be more than one if using filters
67  stream1: [ out1 ]
68 
69  #trigger_paths is a keyword and contains the paths that modify the art::event,
70  #ie filters and producers
71  trigger_paths: [reco]
72 
73  #end_paths is a keyword and contains the paths that do not modify the art::Event,
74  #ie analyzers and output streams. these all run simultaneously
75  end_paths: [stream1]
76 }
77 
78 physics.producers.ophitArOnly.InputModule: opdigiArOnly
79 physics.producers.ophitXeOnly.InputModule: opdigiXeOnly
80 physics.producers.ophit10ppm.InputModule: opdigi10ppm
81 
82 physics.producers.opflashArOnly.InputModule: ophitArOnly
83 physics.producers.opflashXeOnly.InputModule: ophitXeOnly
84 physics.producers.opflash10ppm.InputModule: ophit10ppm
85 
86 
87 #block to define where the output goes. if you defined a filter in the physics
88 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
89 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
90 outputs:
91 {
92  out1:
93  {
94  module_type: RootOutput
95  fileName: "%ifb_reco.root"
96  dataTier: "full-reconstructed"
97  compressionLevel: 1
98  saveMemoryObjectThreshold: 0
99  }
100 }
101 
102 #physics.producers.gaushit.CalDataModuleLabel: "wclsdatanfsp:gauss"