prodmarley_nue_spectrum_ar39_dune10kt_1x2x6.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "marley_dune.fcl"
3 #include "dune_radiological_model.fcl"
4 
5 process_name: MARLEYGen
6 
7 services:
8 {
9  # Load the service that manages root files for histograms.
10  TFileService: { fileName: "prodmarley_nue_hist.root" }
11  TimeTracker: {}
12  MemoryTracker: { } # default is one
13  RandomNumberGenerator: {} # ART native random number generator
14  FileCatalogMetadata: @local::art_file_catalog_mc
15  @table::dunefd_services
16 }
17 
18 # Start each new event with an empty event.
19 source:
20 {
21  module_type: EmptyEvent
22  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
23  maxEvents: 10 # Number of events to create
24  firstRun: 20000048 # Run number to use for this file
25  firstEvent: 1 # number of first event in the 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  marley: @local::dune_marley_nue_spectrum
37  radiogen: @local::dune10kt_1x2x6_39ar
38  rns: { module_type: "RandomNumberSaver" }
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: [ rns, marley, radiogen ]
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: "prodmarley_nue_spectrum_ar39_dune10kt_1x2x6_gen.root" # Default file name, can override from command line with -o or --output
66  dataTier: "generated"
67  compressionLevel: 1
68  }
69 }
70 
71 services:
72 {
73  @table::services
74  @table::dunefd_1x2x6_services
75 }
76 
77 
78 physics.producers.radiogen.T0: [ -2246000.0 ]
79 physics.producers.radiogen.T1: [ 2246000.0 ]