prodnuance.fcl
Go to the documentation of this file.
1 #include "services_argoneut.fcl"
2 #include "nuance.fcl"
3 #include "largeantmodules.fcl"
4 #include "detsimmodules.fcl"
5 
6 
7 process_name: NuanceGen
8 
9 services:
10 {
11  # Load the service that manages root files for histograms.
12  TFileService: { fileName: "nuance_hist.root" }
13  TimeTracker: {}
14  RandomNumberGenerator: {} #ART native random number generator
15  @table::argoneut_simulation_services
16 }
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, this number should be
25  # <= number of events in the Nuance Event File!!
26 }
27 
28 # Define and configure some modules to do work on each event.
29 # First modules are defined; they are scheduled later.
30 # Modules are grouped by type.
31 physics:
32 {
33 
34  producers:
35  {
36  generator: @local::argoneut_nuance_batch
37  largeant: @local::argoneut_largeant
38  daq: @local::argoneut_simwire
39  }
40 
41  #define the producer and filter modules for this path, order matters,
42  #filters reject all following items. see lines starting physics.producers below
43  simulate: [ generator, largeant, daq ]
44 
45  #define the output stream, there could be more than one if using filters
46  stream1: [ out1 ]
47 
48  #trigger_paths is a keyword and contains the paths that modify the art::event,
49  #ie filters and producers
50  trigger_paths: [simulate]
51 
52  #end_paths is a keyword and contains the paths that do not modify the art::Event,
53  #ie analyzers and output streams. these all run simultaneously
54  end_paths: [stream1]
55 }
56 
57 #block to define where the output goes. if you defined a filter in the physics
58 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
59 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
60 outputs:
61 {
62  out1:
63  {
64  module_type: RootOutput
65  fileName: "nuance_gen.root" #default file name, can override from command line with -o or --output
66  }
67 }
68