standard_ana_dune10kt_dp_legacy.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 "AnalysisTree.fcl"
5 #include "pandoramodules_dune.fcl"
6 #include "hitfindermodules_dune.fcl"
7 #include "disambigcheck.fcl"
8 
9 process_name: Mergeana
10 
11 services:
12 {
13  # Load the service that manages root files for histograms.
14  TFileService: { fileName: "ana_hist.root" }
15  MemoryTracker: {}
16  TimeTracker: {}
17  RandomNumberGenerator: {}
18  FileCatalogMetadata: @local::art_file_catalog_mc
19  @table::dunefddphase_simulation_services_legacy
20 }
21 #services.PhotonVisibilityService: @local::protodune_photonvisibilityservice
22 #source is now a root file
23 source:
24 {
25  module_type: RootInput
26  maxEvents: 10 # 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::fddphase_analysistree
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: [stream1,ana]
49 # end_paths: [stream1]
50 }
51 
52 #block to define where the output goes. if you defined a filter in the physics
53 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
54 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
55 outputs:
56 {
57  out1:
58  {
59  module_type: RootOutput
60  fileName: "%ifb_%tc_merged.root"
61  dataTier: "full-reconstructed"
62  compressionLevel: 1
63  }
64 }
65 
66 ### Here, we overwrite ALL module Labels with the ones defined above.
67