rootparser_MC_recowaveforms_3x1x1dp.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "photpropservices_dune.fcl"
3 #include "opticaldetectormodules_dune.fcl"
4 #include "anarootparser.fcl"
5 #include "pandoramodules_dune.fcl"
6 #include "hitfindermodules_dune.fcl"
7 #include "disambigcheck.fcl"
8 #include "tools_dune.fcl"
9 
10 process_name: Mergeana
11 
12 services:
13 {
14  # Load the service that manages root files for histograms.
15  TFileService: { fileName: "ana_hist.root" }
16  MemoryTracker: {}
17  TimeTracker: {}
18  RandomNumberGenerator: {}
19  FileCatalogMetadata: @local::art_file_catalog_mc
20  @table::dunedphase3x1x1_reco_services_legacy
21 }
22 
23 source:
24 {
25  module_type: RootInput
26  maxEvents: -1 # Number of events to create
27 }
28 
29 # Define and configure some modules to do work on each event.
30 # First modules are defined; they are scheduled later.
31 # Modules are grouped by type.
32 physics:
33 {
34  analyzers:
35 {
36  analysistree: @local::data_3x1x1_anarootparser
37 }
38 
39  #define the output stream, there could be more than one if using filters
40  stream1: [ out1 ]
41 
42  #define the producer and filter modules for this path, order matters,
43  #filters reject all following items. see lines starting physics.producers below
44  ana: [ analysistree ]
45 
46  #end_paths is a keyword and contains the paths that do not modify the art::Event,
47  #ie analyzers and output streams. these all run simultaneously
48  end_paths: [ana]
49 }
50 
51 #block to define where the output goes. if you defined a filter in the physics
52 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
53 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
54 outputs:
55 {
56  out1:
57  {
58  module_type: RootOutput
59  fileName: "%ifb_%tc_merged.root"
60  dataTier: "full-reconstructed"
61  compressionLevel: 1
62  }
63 }
64 
65 ### Here, we overwrite ALL module Labels with the ones defined above.
66 physics.analyzers.analysistree.LogLevel: 0
67 physics.analyzers.analysistree.IsMC: true
68 physics.analyzers.analysistree.SaveRecobWireInfo: true