prodgenie.fcl
Go to the documentation of this file.
1 #include "services_argoneut.fcl"
2 #include "genie.fcl"
3 #include "largeantmodules.fcl"
4 #include "detsimmodules.fcl"
5 
6 process_name: GenieGen
7 
8 services:
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "genie_hist.root" }
12  TimeTracker: {}
13  MemoryTracker: { } # default is one
14  IFDH: {}
15  RandomNumberGenerator: {} #ART native random number generator
16  @table::argoneut_simulation_services
17 }
18 
19 #Start each new event with an empty event.
20 source:
21 {
22  module_type: EmptyEvent
23  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
24  maxEvents: 10 # Number of events to create
25  firstRun: 1 # Run number to use for this file
26  firstEvent: 1 # number of first event in the file
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 
35  producers:
36  {
37  generator: @local::argoneut_genie_simple_neutrino
38  largeant: @local::argoneut_largeant
39  daq: @local::argoneut_simwire
40  rns: { module_type: "RandomNumberSaver" }
41  }
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  simulate: [ generator, largeant, daq, rns ]
46 
47  #define the output stream, there could be more than one if using filters
48  stream1: [ out1 ]
49 
50  #trigger_paths is a keyword and contains the paths that modify the art::event,
51  #ie filters and producers
52  trigger_paths: [simulate]
53 
54  #end_paths is a keyword and contains the paths that do not modify the art::Event,
55  #ie analyzers and output streams. these all run simultaneously
56  end_paths: [stream1]
57 }
58 
59 #block to define where the output goes. if you defined a filter in the physics
60 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
61 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
62 outputs:
63 {
64  out1:
65  {
66  module_type: RootOutput
67  fileName: "genie_gen.root" #default file name, can override from command line with -o or --output
68  }
69 }
70