protoDUNE_minireco.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "caldata_dune.fcl"
3 #include "hitfindermodules_dune.fcl"
4 #include "cluster_dune.fcl"
5 #include "trackfindermodules_dune.fcl"
6 #include "calorimetry_dune10kt.fcl"
7 #include "featurelabelingmodules.fcl"
8 #include "opticaldetectormodules_dune.fcl"
9 
10 #include "tools_dune.fcl"
11 
12 process_name: pDUNEreco
13 
14 services:
15 {
16  # Load the service that manages root files for histograms.
17  TFileService: { fileName: "min_reco_protoDUNE_hist.root" }
18  TimeTracker: {}
19  MemoryTracker: {}
20  RandomNumberGenerator: {} #ART native random number generator
21  message: @local::dune_message_services_prod_debug
22  FileCatalogMetadata: @local::art_file_catalog_mc
23  @table::protodune_data_services
24 }
25 
26 services.Geometry.SortingParameters.ChannelsPerOpDet: 12
27 
28 #source is now a root file
29 source:
30 {
31  module_type: RootInput
32  maxEvents: 30000
33  fileNames: ["minreco_protoDUNE.root"]
34 }
35 
36 source.inputCommands: ["keep *_*_*_*", "drop *_*_*_SinglesGen", "drop *_*_*_G4", "drop *_*_*_Reco" ]
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 # convert raw::RawDigit to recob::wire
47  caldata: @local::producer_adcprep
48 # actual hit finder
49  gaushit: @local::dunefd_gaushitfinder
50 # actual disambiguation
51  hitfd: @local::dunefd_hitfinderfd
52 # event feature labeling
53  emtrkmichelid: @local::protodune_emtrkmichelid
54  linecluster: @local::dune35t_linecluster
55  pmtrack: @local::dunefd_pmalgtrackmaker
56 # photon detector reconstruction
57  ophit: @local::dune35t_ophit
58  opflash: @local::dune35t_opflash
59  }
60 
61  #define the producer and filter modules for this path, order matters,
62  #filters reject all following items. see lines starting physics.producers below
63  reco: [ #optical hits and flashes
64  ophit, opflash,
65  #TPC wire signals
66  caldata,
67  #hit reconstruction
68  gaushit,
69  #real disambiguation
70  hitfd,
71  #cluster reco
72  linecluster,
73  #feature labeling
74  emtrkmichelid,
75  pmtrack
76  ]
77 
78  #define the output stream, there could be more than one if using filters
79  stream1: [ out1 ]
80 
81  #trigger_paths is a keyword and contains the paths that modify the art::event,
82  #ie filters and producers
83  trigger_paths: [reco]
84 
85  #end_paths is a keyword and contains the paths that do not modify the art::Event,
86  #ie analyzers and output streams. these all run simultaneously
87  end_paths: [stream1]
88 }
89 
90 #block to define where the output goes. if you defined a filter in the physics
91 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
92 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
93 outputs:
94 {
95  out1:
96  {
97  module_type: RootOutput
98  fileName: "%ifb_reco.root"
99  dataTier: "full-reconstructed"
100  compressionLevel: 1
101  }
102 }
103 
104 outputs.out1.outputCommands: ["keep *_*_*_*", "drop *_*_*_Detsim" ]
105 
106 ### Here, we overwrite ALL module labels with the ones defined above.
107 physics.producers.linecluster.HitFinderModuleLabel: "hitfd"
108 
109 physics.producers.pmtrack.HitModuleLabel: "linecluster"
110 physics.producers.pmtrack.ClusterModuleLabel: "emtrkmichelid:emtrkmichel"
111 physics.producers.pmtrack.PMAlgTracking.TrackLikeThreshold: 0.63
112 physics.producers.pmtrack.PMAlgTracking.MinSeedSize2ndPass: 3
113 physics.producers.pmtrack.PMAlgTracking.Validation: "adc"
114 physics.producers.pmtrack.PMAlgTracking.AdcValidationThr: [0.8, 0.8, 1.0]
115 physics.producers.pmtrack.PMAlgTracking.RunVertexing: true
116 physics.producers.pmtrack.PMAlgTracking.FlipToBeam: true
117 physics.producers.pmtrack.PMAlgTracking.MatchT0inCPACrossing: true
118 physics.producers.pmtrack.PMAlgCosmicTagging.TagOutOfDriftTracks: true
119 physics.producers.pmtrack.PMAlgCosmicTagging.TagFullHeightTracks: true
120 physics.producers.pmtrack.PMAlgCosmicTagging.TagNonBeamT0Tracks: true
121 
122 #Optical detector configuration
123 physics.producers.ophit.InputModule: "opdigi"
124 physics.producers.opflash.InputModule: "ophit"
125