dune1x2x6_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: "dune1x2x6_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::dunefd_simulation_services
18 }
19 
20 services.Geometry: @local::dune10kt_1x2x6_geo
21 
22 
23 #source is now a root file
24 source:
25 {
26  module_type: RootInput
27  maxEvents: 100 # Number of events to create
28 }
29 
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
33 physics:
34 {
35  analyzers:
36  {
37  analysistree: @local::dune10kt_analysistree
38  }
39  #define the producer and filter modules for this path, order matters,
40  #filters reject all following items. see lines starting physics.producers below
41  ana: [ analysistree ]
42 
43  #end_paths is a keyword and contains the paths that do not modify the art::Event,
44  #ie analyzers and output streams. these all run simultaneously
45  end_paths: [ana]
46 }
47 
48 #block to define where the output goes. if you defined a filter in the physics
49 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
50 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
51 outputs:
52 {
53 }
54 
55 ### Here, we tell the analysistree to save flash information
56 physics.analyzers.analysistree.SaveFlashInfo: true