protoDUNE_ana.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::protodune_services
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::protodune_analysistree
37  disambigcheck: @local::standard_disambigcheck
38 
39 }
40  #define the output stream, there could be more than one if using filters
41  stream1: [ out1 ]
42 
43  #define the producer and filter modules for this path, order matters,
44  #filters reject all following items. see lines starting physics.producers below
45 # ana: [ disambigcheck, analysistree ]
46  ana: [ disambigcheck ]
47 
48  #end_paths is a keyword and contains the paths that do not modify the art::Event,
49  #ie analyzers and output streams. these all run simultaneously
50  end_paths: [stream1,ana]
51 # end_paths: [stream1]
52 # end_paths: [ana]
53 }
54 
55 #block to define where the output goes. if you defined a filter in the physics
56 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
58 outputs:
59 {
60  out1:
61  {
62  module_type: RootOutput
63  fileName: "%ifb_%tc_merged.root"
64  dataTier: "full-reconstructed"
65  compressionLevel: 1
66  }
67 }
68 
69 ### Here, we overwrite ALL module Labels with the ones defined above.
70 
71 services.BackTrackerService.BackTracker.SimChannelModuleLabel: "tpcrawdecoder:simpleSC"