prodndk.fcl
Go to the documentation of this file.
1 #include "genie.fcl"
2 
3 #include "services_dune.fcl"
4 #//uboone//#include "services_microboone.fcl"
5 #//uboone//#include "time_memory_tracker_microboone.fcl"
6 
7 #//debug//#include "GenieOutput.fcl"
8 
9 process_name: GenieNDK
10 
11 services:
12 {
13  # Load the service that manages root files for histograms.
14  TFileService: { fileName: "prodndk.hist.root" }
15  TimeTracker: {} ## @local::microboone_time_tracker
16  MemoryTracker: {} ## @local::microboone_memory_tracker
17  RandomNumberGenerator: {} # ART native random number generator
18  @table::dunefd_services
19  #//uboone//# @table::microboone_services
20 }
21 
22 services.Geometry: @local::dune10kt_1x2x6_geo
23 #//uboone//# services.Geometry: @local::microboone_geo
24 
25 # Start each new event with an empty event.
26 source:
27 {
28  module_type: EmptyEvent
29  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
30  maxEvents: 10 # Number of events to create
31  firstRun: 1 # Run number to use for this file
32  firstEvent: 1 # number of first event in the file
33 }
34 
35 # Define and configure some modules to do work on each event.
36 # First modules are defined; they are scheduled later.
37 # Modules are grouped by type.
38 
39 physics:
40 {
41 
42  producers:
43  {
44  generator: @local::standard_ndk
45  rns: { module_type: "RandomNumberSaver" }
46  }
47 
48 #//debug//#
49 ## analyzers:
50 ## {
51 ## outputgenie: @local::standard_genie_output
52 ## }
53 
54  # define the producer and filter modules for this path, order matters,
55  # filters reject all following items.
56  # see lines starting physics.producers below
57  simulate: [ rns, generator ]
58 
59  # define the output stream, there could be more than one if using filters
60  #//production//#
61  stream1: [ out1 ]
62  #//debug//# stream1: [ outputgenie, out1 ]
63 
64  # trigger_paths is a keyword and contains the paths that modify
65  # the art::event, ie filters and producers
66  trigger_paths: [ simulate ]
67 
68  # end_paths is a keyword and contains the paths that do not modify
69  # the art::Event, ie analyzers and output streams.
70  # these all run simultaneously
71  end_paths: [ stream1 ]
72 
73 }
74 
75 # block to define where the output goes. if you defined a filter in the
76 # physics block and put it in the trigger_paths then you need to put a
77 # SelectEvents: {SelectEvents: [XXX]} entry in the output stream you
78 # want those to go to, where XXX is the label of the filter module(s)
79 outputs:
80 {
81  out1:
82  {
83  module_type: RootOutput
84  fileName: "genie_ndk.art.root" # default file name
85  # can override from command line with -o or --output
86  }
87 }
88 
89 #//debug//#
90 ## physics.analyzers.outputgenie.dumpFilePattern: "std::cout"
91 ## physics.analyzers.outputgenie.dumpGeniePrintLevel: 3
92 
93 #### physics.analyzers.outputgenie.dumpMCTruth: true
94 #### physics.analyzers.outputgenie.dumpGTruth: true
95 #### physics.analyzers.outputgenie.dumpMCFlux: true
96