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