protodune_optical_tutorial_stdana.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "AnalysisTree.fcl"
3 #include "trackfindermodules.fcl"
4 #include "showerfindermodules.fcl"
5 
6 process_name: Mergeana
7 
8 services:
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "protodune_optical_tutorial_ana_hist.root" }
12  TimeTracker: {}
13  RandomNumberGenerator: {}
14  MemoryTracker: { } # default is one
15  message: @local::dune_message_services_prod
16  FileCatalogMetadata: @local::art_file_catalog_mc
17  @table::protodune_simulation_services
18 }
19 
20 
21 
22 #source is now a root file
23 source:
24 {
25  module_type: RootInput
26  maxEvents: 100 # 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::dune10kt_analysistree
37  }
38  #define the producer and filter modules for this path, order matters,
39  #filters reject all following items. see lines starting physics.producers below
40  ana: [ analysistree ]
41 
42  #end_paths is a keyword and contains the paths that do not modify the art::Event,
43  #ie analyzers and output streams. these all run simultaneously
44  end_paths: [ana]
45 }
46 
47 #block to define where the output goes. if you defined a filter in the physics
48 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
49 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
50 outputs:
51 {
52 }
53 
54 ### Here, we tell the analysistree to save flash information
55 physics.analyzers.analysistree.SaveFlashInfo: true